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: January 22, 2021 ArcGIS Pro
Numéro d’ID de bogue BUG-000121240
EnvoiMarch 27, 2019
Dernière modificationFebruary 7, 2025
S’applique àArcGIS Pro
Version trouvée2.3.1
Système d’exploitationWindows OS
Version du système d’exploitation2012
StatutNon-Reproducible

Informations supplémentaires

There is no script nor data included with the issue.

Solution de contournement

  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.

Étapes pour reproduire

ID de bogue: BUG-000121240

Logiciel:

  • ArcGIS Pro

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