laptop and a wrench

漏洞

The raster .save() function holds onto a file it just saved and prevents it from being deleted.

上次发布: April 22, 2019 ArcGIS for Desktop
漏洞 ID 编号 BUG-000105099
已提交May 11, 2017
上次修改时间June 5, 2024
适用范围ArcGIS for Desktop
找到的版本10.5
操作系统Windows OS
操作系统版本7
状态Will Not Be Addressed

附加信息

This is expected behavior. While Python is running and pointing to a raster object, that raster cannot be deleted. The object must be removed from the Python environment.

解决办法

Use del to delete the raster saved by the .save function before using shutil.rmtree to delete the directory (Un-comment line30).

重现步骤

漏洞 ID: BUG-000105099

软件:

  • ArcGIS for Desktop

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

下载 Esri 支持应用程序

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

获取来自 ArcGIS 专家的帮助

联系技术支持部门

下载 Esri 支持应用程序

转至下载选项