Error
| Número de ID del error | BUG-000133395 |
|---|---|
| Enviado | August 27, 2020 |
| Última modificación | July 11, 2025 |
| Relacionado con | ArcGIS Pro |
| Versión encontrada | 2.6 |
| Sistema operativo | Windows OS |
| Versión de sistema operativo | 10.0 64 Bit |
| Versión corregida | 2.7 |
| Estado | 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 del error: BUG-000133395
Software:
Obtener ayuda de expertos en ArcGIS
Descargar la aplicación de soporte de Esri