ArcPy functions fail and returns the error, "RuntimeError: Object: Error in executing tool." when providing the arcgis.features.layer.FeatureLayer class as an input.
上次发布: March 9, 2023ArcGIS API for Python
漏洞 ID 编号
BUG-000144224
已提交
November 3, 2021
上次修改时间
February 14, 2025
适用范围
ArcGIS API for Python
找到的版本
1.9
操作系统
Windows OS
操作系统版本
10.0 64 Bit
状态
As Designed
经开发团队审核,已确定此行为符合设计。 有关详细信息,请参阅“其他信息”部分。
附加信息
The tool is behaving as designed. When using the ArcPy arcpy.management.CalculateField() function, a URL can be passed as the in_table. It is not necessary to use a Python API FeatureLayer object. Instead, use the calculate operation on the FeatureLayer object, as demonstrated in the documentaton:
https://developers.arcgis.com/python/api-reference/arcgis.features.toc.html#featurelayer