Bug
| Bug-ID-Nummer | BUG-000133395 |
|---|---|
| Eingereicht | August 27, 2020 |
| Zuletzt geändert | July 11, 2025 |
| Gilt für | ArcGIS Pro |
| Gefunden in Version | 2.6 |
| Betriebssystem | Windows OS |
| Betriebssystemversion | 10.0 64 Bit |
| Behoben in Version | 2.7 |
| Status | 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")
Bug-ID: BUG-000133395
Software:
Unterstützung durch ArcGIS-Experten anfordern
Esri Support App herunterladen