laptop and a wrench

Erro

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

Última Publicação: October 21, 2019 ArcGIS Production Mapping
Número de ID do Erro BUG-000118571
EnviadoDecember 4, 2018
Última ModificaçãoApril 2, 2025
Aplica-se àArcGIS Production Mapping
Versão encontrada10.5.1
Sistema OperacionalWindows OS
Versão do Sistema Operacional2012
StatusWill Not Be Addressed

Informações Adicionais

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.

Solução Provisória

Remove the comments from two lines in the code:

if i == 10:

exit

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

Etapas para Reproduzir

ID do Erro: BUG-000118571

Software:

  • ArcGIS Production Mapping

Seja notificado quando o status de um erro mudar

Baixe o Aplicativo de Suporte da Esri

Descubra mais sobre este tema

Obtenha ajuda de especialistas do ArcGIS

Entre em contato com Suporte Técnico

Baixe o Aplicativo de Suporte da Esri

Ir para as opções de download