laptop and a wrench

Error

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

Última publicación: October 21, 2019 ArcGIS Production Mapping
Número de ID del error BUG-000118571
EnviadoDecember 4, 2018
Última modificaciónApril 2, 2025
Relacionado conArcGIS Production Mapping
Versión encontrada10.5.1
Sistema operativoWindows OS
Versión de sistema operativo2012
EstadoWill Not Be Addressed

Información adicional

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.

Solución alternativa

Remove the comments from two lines in the code:

if i == 10:

exit

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

Pasos para reproducir

ID del error: BUG-000118571

Software:

  • ArcGIS Production Mapping

Recibir notificaciones cuando cambie el estado de un error

Descargar la aplicación de soporte de Esri

Descubrir más sobre este tema

Obtener ayuda de expertos en ArcGIS

Contactar con el soporte técnico

Descargar la aplicación de soporte de Esri

Ir a opciones de descarga