laptop and a wrench

Error

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

Última publicación: April 22, 2019 ArcGIS for Desktop
Número de ID del error BUG-000105099
EnviadoMay 11, 2017
Última modificaciónJune 5, 2024
Relacionado conArcGIS for Desktop
Versión encontrada10.5
Sistema operativoWindows OS
Versión de sistema operativo7
EstadoWill Not Be Addressed

Información adicional

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.

Solución alternativa

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

Pasos para reproducir

ID del error: BUG-000105099

Software:

  • ArcGIS for Desktop

Recibir notificaciones cuando cambie el estado de un error

Descargar la aplicación de soporte de Esri

Descubrir más sobre este tema

Obtener ayuda de expertos en ArcGIS

Contactar con el soporte técnico

Descargar la aplicación de soporte de Esri

Ir a opciones de descarga