arcpy with Euclidean-distance tool error

890
1
10-31-2018 09:30 AM
SharolynAnderson1
New Contributor II

Hi, 

I have a small python program that calls EucDistance and runs for 13 runs (I have used different point lyr files so it is not an issue with the 13th item) and then gives the following message:

Traceback (most recent call last):
File "C:\SALR\ptALRcalc\siteSelectedALR.py", line 124, in <module>
outEucDistance = EucDistance(out_shp, maxDistance, cellSize)
File "C:\Program Files (x86)\ArcGIS\Desktop10.6\ArcPy\arcpy\sa\Functions.py", line 989, in EucDistance
out_direction_raster)
File "C:\Program Files (x86)\ArcGIS\Desktop10.6\ArcPy\arcpy\sa\Utils.py", line 53, in swapper
result = wrapper(*args, **kwargs)
File "C:\Program Files (x86)\ArcGIS\Desktop10.6\ArcPy\arcpy\sa\Functions.py", line 983, in Wrapper
out_direction_raster)
File "C:\Program Files (x86)\ArcGIS\Desktop10.6\ArcPy\arcpy\geoprocessing\_base.py", line 510, in <lambda>
return lambda *args: val(*gp_fixargs(args, True))
ExecuteError: ERROR 999999: Error executing function.
Failed to write a pixel block. [Possibly out of disk space]
Failed to execute (EucDistance).

The issue is that there is 300GB of space.  I have checked the past solutions - my extents are set, there are no spaces in filenames, the names are under 13 characters, saved each row as a temp shapefile,  I save the temporary raster in a geodatabase.  The problems is it runs great and then crashes.  

Thanks for any advice.

Sharolyn

1 Reply
DanPatterson_Retired
MVP Emeritus

Your code might help.  ArcMap or ArcGIS Pro?  filenames and folder/geodatabase location/name.

What if you start with the 13, does it crash?

0 Kudos