Thursday, 31 August 2017

arcpy - python.multiprocessing and "FATAL ERROR (INFADI) MISSING DIRECTORY"


While trying to do multiprocessing with arcpy, I am occasionally running into this error:


FATAL ERROR (INFADI)
MISSING DIRECTORY

I have no clue what is triggering this error, and it crashes the python process, making it impossible to get a traceback on it. It occurs while writing final raster output from a lengthy sound model.


It is sometimes accompanied by an error


Unable to write BND file for %TEMP%\ras####


Where %Temp is parsed correclty and #### is some random 4 digit number. This is unusual because each process has its own workspace, which is where most files should be written.


The problem is not the input data... I can rerun the program on the failed inputs and it will run correctly.




No comments:

Post a Comment

arcpy - Changing output name when exporting data driven pages to JPG?

Is there a way to save the output JPG, changing the output file name to the page name, instead of page number? I mean changing the script fo...