Running the arcpy.Describe() function using ArcGIS Pro 3.3.x results in the creation of a lock file on the feature class in the file geodatabase, which need to be cleared by the arcpy.management.ClearWorkspaceCache() function or manually exiting IDLE.
ArcGIS Pro
漏洞 ID 编号
BUG-000171463
已提交
October 14, 2024
上次修改时间
November 11, 2024
适用范围
ArcGIS Pro
找到的版本
3.3.2
操作系统
Windows OS
操作系统版本
10.0 64 Bit
状态
As Designed
经开发团队审核,已确定此行为符合设计。 有关详细信息,请参阅“其他信息”部分。
附加信息
This lock is as designed and can be removed using the arcpy.ClearWorkspaceCache() function as mentioned in the What's New in ArcGIS Pro 3.3 documentation. Refer https://pro.arcgis.com/en/pro-app/3.3/get-started/whats-new-in-arcgis-pro.htm#:~:text=sources%2C%20such%20as-,enterprise%20geodatabases,- for more information.
The geoprocessing framework uses workspace caching to improve performance when running scripts or repeated processes. This improvement applies particularly to remote data sources such as enterprise geodatabases. Note: In some cases, workspace caching may result in schema locks. Use the Clear Workspace Cache tool to clear the cache and free any locks.