3ds max job rendered correctly, but Deadline (4.1) errors

This is a weird one.

A friend of mine is helping me rendering some of my shots on his mini farm on Deadline 4.1.

All are 3ds Max jobs and they render just fine. The problem is, they render first frame, save it out correctly, but then Deadline errors out with this:

[code]at Deadline.Plugins.ScriptPlugin.RenderTasks(Int32 startFrame, Int32 endFrame, String& outMessage) (Deadline.Plugins.RenderPluginException)
0: Unloading plugin: 3dsmax
Scheduler Thread - Render Thread 0 threw an error:
Scheduler Thread - Exception during render: An error occurred in RenderTasks(): RenderTask: Unexpected exception (Error in bm->OpenOutput(): error code 1
2011/09/01 15:23:38 INF: Loaded //visionerserver/work/gymtracer/SHOTS/GT_LE_17/3D/GT_LE_17_Max2011_loocas_002.max

2011/09/01 15:23:39 ERR: Error using bitmap file: D:\GYMTRACER\ASSETS\Bodybuilder\2D\Body_Disp.tif

2011/09/01 15:23:49 WRN: Gamma Correction is Being Enabled

2011/09/01 15:23:50 INF: Job: //visionerserver/work/gymtracer/SHOTS/GT_LE_17/3D/GT_LE_17_Max2011_loocas_002.max

2011/09/01 15:57:50 ERR: Could not read/write file type: C:\Users\ADMINI~1.VIS\AppData\Local\Temp\0001

)

at Deadline.Plugins.ScriptPlugin.RenderTasks(Int32 startFrame, Int32 endFrame, String& outMessage)

=======================================================
Error Type

RenderPluginException

=======================================================
Error Stack Trace

at Deadline.Plugins.Plugin.RenderTask(Int32 startFrame, Int32 endFrame)
at Deadline.Slaves.SlaveRenderThread.RenderCurrentTask()[/code]

The weirdest thing is that the file gets saved and the missing map is actually not missing, judging from the looks of the render.

Then after this it tries to render the task again.

Any ideas?

This line looks suspicious:

As you can see, there is no extension on the file name, and that could explain why the OpenOutput() SDK function is failing. Do the scenes contain render elements? If so, is it possible that the output path for some render elements aren’t defined? There was a bug in older versions of Deadline where this would cause the render to fail when it went to save out the elements (after the main file was saved properly).

Cheers,

  • Ryan

AHA!!!

This might be it!

I’m calling an explicit function that removes the RE paths from the scene (due to errors in Max, when handling REs inside the beauty pass itself)!

I’ll try that. Thanks for the tip. Will let you know.

So far it seems it was really it!

Thanks a lot Ryan! You’re the man! :sunglasses: