laptop and a wrench

Bug

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

Last Published: October 21, 2019 ArcGIS Production Mapping
Bug ID Number BUG-000118571
SubmittedDecember 4, 2018
Last ModifiedApril 2, 2025
Applies toArcGIS Production Mapping
Version found10.5.1
Operating SystemWindows OS
Operating System Version2012
StatusWill Not Be Addressed

Additional Information

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.

Workaround

Remove the comments from two lines in the code:

if i == 10:

exit

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

Steps to Reproduce

Bug ID: BUG-000118571

Software:

  • ArcGIS Production Mapping

Get notified when the status of a bug changes

Download the Esri Support App

Discover more on this topic

Get help from ArcGIS experts

Contact technical support

Download the Esri Support App

Go to download options