laptop and a wrench

漏洞

ArcGIS API for Python arcgis.geometry functions fail with the error message, "Exception: Unable to complete operation. The operation was attempted on an empty geometry. (Error Code: 400)" returned.

ArcGIS API for Python
漏洞 ID 编号 BUG-000154257
已提交December 7, 2022
上次修改时间June 5, 2025
适用范围ArcGIS API for Python
找到的版本2.0.1
操作系统Windows OS
操作系统版本10.0 64 Bit
修正版本2.3.0
状态Fixed

解决办法

Replace the value for the offset_unit key with the associated numerical value from the esriSRUnitType Constants documentation. Refer to https://developers.arcgis.com/enterprise-sdk/api-reference/net/esriSRUnitType/ and https://developers.arcgis.com/enterprise-sdk/api-reference/net/esriSRUnit2Type/.

重现步骤

漏洞 ID: BUG-000154257

软件:

  • ArcGIS API for Python

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

下载 Esri 支持应用程序

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

获取来自 ArcGIS 专家的帮助

联系技术支持部门

下载 Esri 支持应用程序

转至下载选项