laptop and a wrench

漏洞

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.

上次发布: January 22, 2021 ArcGIS Pro
漏洞 ID 编号 BUG-000121240
已提交March 27, 2019
上次修改时间February 7, 2025
适用范围ArcGIS Pro
找到的版本2.3.1
操作系统Windows OS
操作系统版本2012
状态Non-Reproducible

附加信息

There is no script nor data included with the issue.

解决办法

  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.

重现步骤

漏洞 ID: BUG-000121240

软件:

  • ArcGIS Pro

当漏洞状态发生变化时获得通知

下载 Esri 支持应用程序

发现关于本主题的更多内容

获取来自 ArcGIS 专家的帮助

联系技术支持部门

下载 Esri 支持应用程序

转至下载选项