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.

上次发布: April 10, 2019 ArcGIS for Desktop
漏洞 ID 编号 BUG-000121239
已提交March 27, 2019
上次修改时间February 7, 2025
适用范围ArcGIS for Desktop
找到的版本10.6.1
操作系统Windows OS
操作系统版本2012
状态Will Not Be Addressed

附加信息

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.

解决办法

  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

重现步骤

漏洞 ID: BUG-000121239

软件:

  • ArcGIS for Desktop

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

下载 Esri 支持应用程序

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

获取来自 ArcGIS 专家的帮助

联系技术支持部门

下载 Esri 支持应用程序

转至下载选项