laptop and a wrench

Bogue

When using ArcGIS Pro and sharing a project template including a Python toolbox, variables defined with f-string values may be renamed to g_ESRI_variable, potentially introducing errors in the variable values.

ArcGIS Pro
Numéro d’ID de bogue BUG-000170395
EnvoiAugust 30, 2024
Dernière modificationOctober 31, 2025
S’applique àArcGIS Pro
Version trouvée3.3.1
Système d’exploitationWindows OS
Version du système d’exploitation11.0 64 bit
StatutNon-Reproducible

Informations supplémentaires

This issue was addressed in ArcGIS Pro 3.5. Packaging and consolidating of f-strings in Python code should be good starting at ArcGIS Pro 3.5. Refer to https://community.esri.com/t5/arcgis-pro-ideas/use-of-f-strings-in-gp-tools-share-as-webtool/idi-p/1473633 for more information.

Solution de contournement

Use concatenated string values utilizing "" and + instead of f-strings, or use ArcGIS Pro 3.2.x.

Étapes pour reproduire

ID de bogue: BUG-000170395

Logiciel:

  • ArcGIS Pro

Recevoir une notification lorsque le statut d’un bogue change

Télécharger l’application Esri Support

En savoir plus sur ce sujet

Obtenir de l’aide auprès des experts ArcGIS

Contacter le support technique

Télécharger l’application Esri Support

Accéder aux options de téléchargement