laptop and a wrench

Error

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.

Última publicación: January 22, 2021 ArcGIS Pro
Número de ID del error BUG-000121240
EnviadoMarch 27, 2019
Última modificaciónFebruary 7, 2025
Relacionado conArcGIS Pro
Versión encontrada2.3.1
Sistema operativoWindows OS
Versión de sistema operativo2012
EstadoNon-Reproducible

Información adicional

There is no script nor data included with the issue.

Solución alternativa

  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.

Pasos para reproducir

ID del error: BUG-000121240

Software:

  • ArcGIS Pro

Recibir notificaciones cuando cambie el estado de un error

Descargar la aplicación de soporte de Esri

Descubrir más sobre este tema

Obtener ayuda de expertos en ArcGIS

Contactar con el soporte técnico

Descargar la aplicación de soporte de Esri

Ir a opciones de descarga