laptop and a wrench

Bogue

The error message, "RuntimeError: Failed to evaluate Arcade expression." is erroneously returned when running the Calculate Geometry Attributes tool against a feature service that contains attribute rules with the 'Exclude from application evaluation' option unchecked.

ArcGIS Pro
Numéro d’ID de bogue BUG-000158561
EnvoiMay 24, 2023
Dernière modificationJune 5, 2024
S’applique àArcGIS Pro
Version trouvée3.0.3
Système d’exploitationWindows OS
Version du système d’exploitation10.0 64 Bit
Version de correction3.2, 3.0.6, 3.1.3, 2.9.11
StatutFixed

Informations supplémentaires

This issue is addressed in ArcGIS Pro version 3.2, 3.0.6, 3.1.3, 2.9.11.

Solution de contournement

Workaround 1: Have an active edit session (Save and Discard buttons under Edit tab, which causes the Manage Edits group to be available and not grayed out) prior to running the Calculate Geometry Attributes tool.

Workaround 2: Close ArcGIS Pro and stop the service in ArcGIS Server Manager. Launch ArcGIS Pro, open the Attribute Rules view for the enterprise geodatabase feature class in question, check the 'Exclude from application evaluation' option under the Execution section for the calculation rule and click Save. Close ArcGIS Pro and start the service from ArcGIS Server Manager. Then, launch ArcGIS Pro and run the Calculate Geometry Attributes tool.

Étapes pour reproduire

ID de bogue: BUG-000158561

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