Hi, I see this error from time to time with Deadline
RenderPluginException – Exception during render: An error occurred in RenderTasks(): Failed to assign process “c:\Program Files (x86)\air\bin\air.exe” to job object: Access is denied.
I would like to know exactly what it means. Right now I have this problem with Air, but I have seen this with other software.
At the moment I quite stuck with this problem in Air as I can’t render .rib files using Air on Deadline. When I copy paste the command Deadline calls and run it on the same machine in a dos prompt it works fines!
Any help would be appreciated.
Here is the entire traceback
0: Plugin rendering frame(s): 0
0: INFO: Rendering with Air
0: INFO: Initial rib filename: C:/Program Files (x86)/AIR/examples/arealights/fakearea.rib
0: INFO: Current rib filename: C:\Users\sylvain.berger\AppData\Local\Frantic Films\Deadline\slave\jobsData\fakearea.rib
0: INFO: Redirecting output to C:/TEMP/air_render_test.0000.jpg
0: INFO: Stdout Handling Enabled: True
0: INFO: Popup Handling Enabled: False
0: INFO: Using Process Tree: True
0: INFO: Hiding DOS Window: True
0: INFO: Creating New Console: False
WARNING: an error occured while trying read stdout from the process: Cannot access a closed file. (System.ObjectDisposedException)
0: INFO: Render Executable: “c:\Program Files (x86)\air\bin\air.exe”
0: INFO: Render Argument: “C:/Users/sylvain.berger/AppData/Local/Frantic Films/Deadline/slave/jobsData/fakearea.rib”
0: INFO: Startup Directory: “c:\Program Files (x86)\air\bin”
Scheduler Thread - Render Thread 0 threw an error:
Scheduler Thread - Exception during render: An error occurred in RenderTasks(): Failed to assign process “c:\Program Files (x86)\air\bin\air.exe” to job object: Access is denied.
(System.Exception) (Deadline.Plugins.RenderPluginException)
at Deadline.Plugins.ScriptPlugin.RenderTasks(Int32 startFrame, Int32 endFrame, String& outMessage)
Exception Details
RenderPluginException – Exception during render: An error occurred in RenderTasks(): Failed to assign process “c:\Program Files (x86)\air\bin\air.exe” to job object: Access is denied.
(System.Exception) (Deadline.Plugins.RenderPluginException)
at Deadline.Plugins.ScriptPlugin.RenderTasks(Int32 startFrame, Int32 endFrame, String& outMessage)
RenderPluginException.Cause: JobError (2)
Exception.Data: ( )
Exception.TargetSite: Void RenderTask(Int32, Int32)
Exception.Source: deadline
Exception.StackTrace:
at Deadline.Plugins.Plugin.RenderTask(Int32 startFrame, Int32 endFrame)
at Deadline.Slaves.SlaveRenderThread.RenderCurrentTask()
<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<