Closed neo2068 closed 6 years ago
I have introduced recently periodic save support: https://wiki.luxcorerender.org/LuxCore_SDL_Reference_Manual_v2.0#Periodic_save
After 10 minutes, LuxCore is just trying to save the e0594766-e2cf-4246-b4ba-84bb197a903c.png in the current directory (it will than renamed to RGB_IMAGEPIPELINE.png). It works fine here but I guess, in your case, the current directory is just write protected (?)
I have disabled default period save now to avoid problems like this one. I have also added some diagnostic message in case of OpenImageIO error.
I think it would be good if LuxCore would not throw a runtime error in this case (I guess it ends the rendering?). Just print an error message and continue rendering.
We can check in the exporter if the output directory exists before the render is started, but we can not prevent the user from deleting/renaming/... it in the meantime.
If the rendering ends, it depends on the calling code. To avoid to end the rendering, you have just to place session.UpdateStats() between a try/except. Exceptions are not a crash, they are an handy way to report errors. It is up to the application to decide what to do in case of the error.
Ok, thanks for the explanation.
When I start a final render in Blender, LuxCore can't write the output image after a certain render time (approx. 10 minutes).
Blender LuxCore Log:
Test scene: full_export.zip