laptop and a wrench

Bogue

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.

Dernière publication: April 10, 2019 ArcGIS for Desktop
Numéro d’ID de bogue BUG-000121239
EnvoiMarch 27, 2019
Dernière modificationFebruary 7, 2025
S’applique àArcGIS for Desktop
Version trouvée10.6.1
Système d’exploitationWindows OS
Version du système d’exploitation2012
StatutWill Not Be Addressed

Informations supplémentaires

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.

Solution de contournement

  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

Étapes pour reproduire

ID de bogue: BUG-000121239

Logiciel:

  • ArcGIS for Desktop

Recevoir une notification lorsque le statut d’un bogue change

Télécharger l’application Esri Support

En savoir plus sur ce sujet

Obtenir de l’aide auprès des experts ArcGIS

Contacter le support technique

Télécharger l’application Esri Support

Accéder aux options de téléchargement