laptop and a wrench

Bogue

Using in-line variable substitution in Calculate Field Python within ModelBuilder gives a correct but potentially misleading error message which gives the appearance the tool fails but it works as intended.

Dernière publication: February 17, 2021 ArcGIS Pro
Numéro d’ID de bogue BUG-000137029
EnvoiJanuary 27, 2021
Dernière modificationApril 23, 2025
S’applique àArcGIS Pro
Version trouvée2.7
Système d’exploitationWindows OS
Version du système d’exploitation10.0
StatutWill Not Be Addressed

Informations supplémentaires

This is as designed.

Solution de contournement

Ignore the error message but if there is other things wrong with the calculation this is to be overlooked.

Note: %-% is not valid Python, the validator correctly throws an error. Writing proper Python takes care of this. Enclose the variable needed to replace in a string.

Étapes pour reproduire

ID de bogue: BUG-000137029

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