laptop and a wrench

Bug

Attempting to delete a file geodatabase using arcpy.Delete_management which contains a feature edited using arcpy.da.UpdateCursor fails, returning error 000601.

Last Published: December 29, 2020 ArcGIS Pro
Bug ID Number BUG-000129022
SubmittedFebruary 28, 2020
Last ModifiedJune 5, 2024
Applies toArcGIS Pro
Version found2.5
Operating SystemWindows OS
Operating System Version10.0
StatusWill Not Be Addressed

Additional Information

Use a delete statement, or wrap the cursor in a function to prevent locking. Refer to the discussion section in the UpdateCursor topic: https://pro.arcgis.com/en/pro-app/arcpy/data-access/updatecursor-class.htm.

Workaround

Use the Calculate Field function instead of using UpdateCursor to calculate field values: https://pro.arcgis.com/en/pro-app/tool-reference/data-management/calculate-field.htm.

Steps to Reproduce

Bug ID: BUG-000129022

Software:

  • ArcGIS Pro

Get notified when the status of a bug changes

Download the Esri Support App

Discover more on this topic

Get help from ArcGIS experts

Contact technical support

Download the Esri Support App

Go to download options