laptop and a wrench

漏洞

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

上次发布: October 21, 2019 ArcGIS Production Mapping
漏洞 ID 编号 BUG-000118571
已提交December 4, 2018
上次修改时间April 2, 2025
适用范围ArcGIS Production Mapping
找到的版本10.5.1
操作系统Windows OS
操作系统版本2012
状态Will Not Be Addressed

附加信息

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.

解决办法

Remove the comments from two lines in the code:

if i == 10:

exit

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

重现步骤

漏洞 ID: BUG-000118571

软件:

  • ArcGIS Production Mapping

当漏洞状态发生变化时获得通知

下载 Esri 支持应用程序

发现关于本主题的更多内容

获取来自 ArcGIS 专家的帮助

联系技术支持部门

下载 Esri 支持应用程序

转至下载选项