漏洞
| 漏洞 ID 编号 | BUG-000133395 |
|---|---|
| 已提交 | August 27, 2020 |
| 上次修改时间 | July 11, 2025 |
| 适用范围 | ArcGIS Pro |
| 找到的版本 | 2.6 |
| 操作系统 | Windows OS |
| 操作系统版本 | 10.0 64 Bit |
| 修正版本 | 2.7 |
| 状态 | Fixed |
The issue can be resolved by getting the second line of the tool, which is return value", “TEXT”) appended after the first line.
For example, instead of arcpy.management.CalculateField("World Continents", "CONTINENT", "test(!OBJECTID!)", "PYTHON3", r"def test(value):
return value", "TEXT") , the code lines must look like the following: arcpy.management.CalculateField("World Continents",
"CONTINENT", "test(!OBJECTID!)", "PYTHON3", r"def test(value):return value", "TEXT")
漏洞 ID: BUG-000133395
软件:
获取来自 ArcGIS 专家的帮助
下载 Esri 支持应用程序