laptop and a wrench

Bug

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

Zuletzt veröffentlicht: April 22, 2019 ArcGIS for Desktop
Bug-ID-Nummer BUG-000105099
EingereichtMay 11, 2017
Zuletzt geändertJune 5, 2024
Gilt fürArcGIS for Desktop
Gefunden in Version10.5
BetriebssystemWindows OS
Betriebssystemversion7
StatusWill Not Be Addressed

Zusätzliche Informationen

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.

Workaround

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

Schritte zur Reproduzierung

Bug-ID: BUG-000105099

Software:

  • ArcGIS for Desktop

Benachrichtigung erhalten, wenn sich der Status eines Bugs ändert

Esri Support App herunterladen

Weitere Informationen zu diesem Thema erkunden

Unterstützung durch ArcGIS-Experten anfordern

An den technischen Support wenden

Esri Support App herunterladen

Zu Download-Optionen wechseln