laptop and a wrench

Bug

Registering a layer derived from the raster output in a Python toolbox as a tool parameter using 'arcpy.SetParameterAsText()' prohibits the tool from overwriting the output file, resulting in "ExecuteError: Failed to delete raster dataset, Permission denied" errors despite setting 'arcpy.env.overwriteOutput' to True.

ArcGIS Pro
Bug ID Number BUG-000180935
SubmittedNovember 12, 2025
Last ModifiedDecember 30, 2025
Applies toArcGIS Pro
Version found3.5.4
Operating SystemWindows OS
Operating System VersionN/A
StatusIn Review

Steps to Reproduce

Bug ID: BUG-000180935

Software:

  • ArcGIS Pro

Get notified when the status of a bug changes

Download the Esri Support App

Discover more on this topic

Get help from ArcGIS experts

Contact technical support

Download the Esri Support App

Go to download options