laptop and a wrench

Bug

In ArcGIS Pro, the arcpy.management.CalculateFields() function returns an error message, "Error 000735: Value is required" when passing a value table to the fields parameter.

Zuletzt veröffentlicht: September 22, 2021 ArcGIS Pro
Bug-ID-Nummer BUG-000141889
EingereichtAugust 2, 2021
Zuletzt geändertMarch 20, 2025
Gilt fürArcGIS Pro
Gefunden in Version2.8.1
BetriebssystemWindows OS
Betriebssystemversion10.0
StatusWill Not Be Addressed

Zusätzliche Informationen

There are two errors in the user's script: 1. The workspace path must not include the actual table. For example, arcpy.env.workspace = r"D:\-user-\Cases\Open_cases\02849687\US_cities.gdb" The user's script includes the table in the workspace path, which caused error 000735. 2. Using the list syntax in Python requires another set of quotes, single quotes, around the field values. For example, arcpy.CalculateFields_management(r"C:\Users\-name-\Documents\ArcGIS\Packages\U.S.Cities_a015c0\p20\us_cities.gdb\cities", "PYTHON3",[["Name", "'Test1'"], ["Office", "'z'"]]). The single quotes are missing from the script.

Schritte zur Reproduzierung

Bug-ID: BUG-000141889

Software:

  • ArcGIS Pro

Benachrichtigung erhalten, wenn sich der Status eines Bugs ändert

Esri Support App herunterladen

Weitere Informationen zu diesem Thema erkunden

Unterstützung durch ArcGIS-Experten anfordern

An den technischen Support wenden

Esri Support App herunterladen

Zu Download-Optionen wechseln