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: April 10, 2019 ArcGIS for Desktop
Bug-ID-Nummer BUG-000121239
EingereichtMarch 27, 2019
Zuletzt geändertFebruary 7, 2025
Gilt fürArcGIS for Desktop
Gefunden in Version10.6.1
BetriebssystemWindows OS
Betriebssystemversion2012
StatusWill Not Be Addressed

Zusätzliche Informationen

We apologize that we were unable to address this issue within the current product support cycle. If the issue continues to affect your work in a supported release, please contact Technical Support. Note that ArcGIS 10.8.2 is the current release of ArcGIS Desktop and will enter Mature Support in March 2024 (https://support.esri.com/en-us/products/arcmap/life-cycle). There are no plans to release an ArcGIS Desktop 10.9, and we recommend that you migrate to ArcGIS Pro. See Migrate from ArcMap to ArcGIS Pro (https://www.esri.com/en-us/arcgis/products/arcgis-pro/resources/migrate) for more information.

Workaround

  1. Run the Copy tool in the script and save the compressed geodatabase to a new folder.
  2. Compress the copy as it does not have any lock files.
  3. Run a command to delete the unzipped copy.
For more information, refer to the provided links:Copy: http://desktop.arcgis.com/en/arcmap/10.6/tools/data-management-toolbox/copy.htmDelete: http://desktop.arcgis.com/en/arcmap/10.6/tools/data-management-toolbox/delete.htm

Schritte zur Reproduzierung

Bug-ID: BUG-000121239

Software:

  • ArcGIS for Desktop

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