laptop and a wrench

Bug

The arcpy.MakeFeatureLayer_management process creates a lock on every feature class in a file geodatabase and does not release them until the python script is closed.

Zuletzt veröffentlicht: January 22, 2021 ArcGIS Pro
Bug-ID-Nummer BUG-000121240
EingereichtMarch 27, 2019
Zuletzt geändertFebruary 7, 2025
Gilt fürArcGIS Pro
Gefunden in Version2.3.1
BetriebssystemWindows OS
Betriebssystemversion2012
StatusNon-Reproducible

Zusätzliche Informationen

There is no script nor data included with the issue.

Workaround

  1. Run the Copy tool in the script.
  2. Save the compressed geodatabase to a new folder.
  3. Zip up the copy because the folder must not have any lock files.
  4. Run a command to delete the unzipped copy.

 

Refer to the following link for the Copy (https://pro.arcgis.com/en/pro-app/tool-reference/data-management/copy.htm), and Delete (https://pro.arcgis.com/en/pro-app/tool-reference/data-management/delete.htm) tools.

Schritte zur Reproduzierung

Bug-ID: BUG-000121240

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