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 Support アプリのダウンロード

このトピックについてさらに調べる

ArcGIS エキスパートのサポートを受ける

テクニカル サポートへのお問い合わせ

Esri Support アプリのダウンロード

ダウンロード オプションに移動