laptop and a wrench

Bogue

The Calculate Representation Fields tool crashes Python when calculating over 30 representation symbology.

Dernière publication: October 21, 2019 ArcGIS Production Mapping
Numéro d’ID de bogue BUG-000118571
EnvoiDecember 4, 2018
Dernière modificationApril 2, 2025
S’applique àArcGIS Production Mapping
Version trouvée10.5.1
Système d’exploitationWindows OS
Version du système d’exploitation2012
StatutWill Not Be Addressed

Informations supplémentaires

This bug appears to be a data issue. I did the following to the V795X16574.gdb before executing the user's script on a machine running ArcGIS 10.6.1 Desktop and Esri Defense Mapping 10.6.1 Patch 7 Build 1368. 1. Removed extra files in the V795X16574.gdb caused by BUG-000122272 or used Load Data to load the data into a brand new empty TDS_7.gdb. 2. Ran Check Geometry GP tool on all feature classes within the TDS and TDS_CARTO feature datasets. Issues were reported. 3. Ran Repair Geometry GP tool and repaired the issues reported by the Check Geometry GP tool. 4. Launched ArcMap and and ran the Drop Visual Specifications GP tool on all feature classes within the TDS and TDS_CARTO feature datasets. I ran it for 25K, 50K, and 100K. 5. Ran a sample script that executes Add Representation Fields GP tool. The sample script is available at http://desktop.arcgis.com/en/arcmap/10.6/tools/defense-mapping-toolbox/add-representation-fields.htm 6. Ran a script that executes Calculate Representation Fields GP tool. The sample script is available at http://desktop.arcgis.com/en/arcmap/10.6/tools/defense-mapping-toolbox/calculate-representation-fields.htm OR you can run the sample script attached to this bug. Both scripts execute without error. 7. Launch ArcMap and add the feature classes from the TDS and TDS_CARTO feature dataset to your map. The features are smybolized using representations. None of the features are symbolized with a red point, line, or area symbol.

Solution de contournement

Remove the comments from two lines in the code:

if i == 10:

exit

This workaround also works when calculating less than 30 representation symbology.

Étapes pour reproduire

ID de bogue: BUG-000118571

Logiciel:

  • ArcGIS Production Mapping

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