Combustion exit code: fail. Potential feature request

Hi,
Caught another Combustion annoyance that could do with some Deadline love to stop from happening again in the future…
See attached for example CWS file + footage. Although the render saves out the composited image, Deadline exits with a bad code as in the Combustion workspace file there is contained another “render output operator”. This, (as I discovered), is automatically created when an artist creates another “branch” in the composite. (look at the workspace/layers to see this other branch, called “Draw Mask”). Here’s the error report (sensitive info replaced with a ****) showing how the 2nd output operator has no “file not set” save error when the deadline job tries to process it. Now, I know that the Combustion submission script ‘should’ ONLY process the “selected output operator”, but it seems to still be trying to access this 2nd output operator during “shellrenderer.exe” mode and hence the images get processed BUT the job exits with a FAIL code.

<?xml version="1.0"?> <ErrorReport xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" xmlns:xsd="http://www.w3.org/2001/XMLSchema"> <ReportDateTime>2010-02-11T19:03:25.0949301+00:00</ReportDateTime> <SlaveMachineName>Bur5-boxx102</SlaveMachineName> <ChunkIndex>5</ChunkIndex> <ReportMessage>Exception during render: An error occurred in RenderTasks(): Error in CheckExitCode(): Renderer returned non-zero error code, 1 (FranticX.Processes.ManagedProcessAbort) (Deadline.Plugins.RenderPluginException) at Deadline.Plugins.ScriptPlugin.RenderTasks(Int32 startFrame, Int32 endFrame, String&amp; outMessage)</ReportMessage> <_SlaveVersionString>v3.1.0.36430 R</_SlaveVersionString> <JobName>Mike</JobName> <JobSubmitUserName>owenm</JobSubmitUserName> <JobSubmitMachineName>Bur5-9qkbd2j</JobSubmitMachineName> <JobSubmitDateTime>2010-02-11T17:30:11</JobSubmitDateTime> <PluginName>Combustion</PluginName> <FramesList>5-5</FramesList> <RenderSecondsElapsed>470</RenderSecondsElapsed> <ErrorType>RenderPluginException</ErrorType> <ErrorStackTrace> at Deadline.Plugins.Plugin.RenderTask(Int32 startFrame, Int32 endFrame) at Deadline.Slaves.SlaveRenderThread.RenderCurrentTask()</ErrorStackTrace> <SlaveLog>****" 0: INFO: Startup Directory: "C:\Program Files\discreet\combustion 4" 0: INFO: Process Priority: BelowNormal 0: INFO: Process is now running 0: STDOUT: Combustion (4.0.5.288) Command Line Renderer 0: STDOUT: ******************************************** ---- February 11 2010 -- 07:03 PM ---- 0: STDOUT: 0: STDOUT: Processing: Using 8 CPUs and a maximum of 3795Mb RAM 0: STDOUT: Workspace: c:\documents and settings\****\local settings\temp\****.cws 0: STDOUT: 0: STDOUT: Output: Output settings for output1 0: STDOUT: Preset: Settings were originally based on Audio only 0: STDOUT: Rendering to: PNG (Best mode) 0: STDOUT: Size: Custom (850x425) 0: STDOUT: Channels: Color+Alpha ( 8 Bit depth per channel) 0: STDOUT: Field Order: No Fields 0: STDOUT: Frames: 5 0: STDOUT: File Output: D:\****_[####].png 0: STDOUT: 0: STDOUT: Elapsed time: 6 SecondsDone frame 0 of 2 0: STDOUT: Done frame 1 of 2 0: STDOUT: Elapsed time: 0 SecondsDone frame 2 of 2 0: STDOUT: Elapsed time: 0 SecondsElapsed time: 0 Seconds 0: STDOUT: - File Not Set save failed - file not found. 0: STDOUT: 0: STDOUT: 0: INFO: Process exit code: 1 0: In the process of canceling current task: ignoring exception thrown by PluginLoader 0: Unloading plugin: Combustion Scheduler Thread - Render Thread 0 threw an error: Scheduler Thread - Exception during render: An error occurred in RenderTasks(): Error in CheckExitCode(): Renderer returned non-zero error code, 1 (FranticX.Processes.ManagedProcessAbort) (Deadline.Plugins.RenderPluginException) at Deadline.Plugins.ScriptPlugin.RenderTasks(Int32 startFrame, Int32 endFrame, String&amp; outMessage) </SlaveLog> <PeakRamUsage>841547776</PeakRamUsage> <PeakRamPercentage>20</PeakRamPercentage> <AverageRam>704127040</AverageRam> <AverageRamPercentage>17</AverageRamPercentage> <PeakCpuUsage>32</PeakCpuUsage> <UsedCpuClocks>1050168</UsedCpuClocks> <CpuUtilisation>15</CpuUtilisation> </ErrorReport>

Combustion_Exit_Code_FAIL.zip (3.33 MB)

What would be good is a submission script check for this?

Thanks,
Mike

Hey Mike,

I actually can’t reproduce this error. Here’s the output I’m getting:

0: Task timeout is disabled. 0: Job already loaded: Untitled 0: Plugin rendering frame(s): 23 0: INFO: Any stdout that matches the regular expression ".*ERROR:.*" will be handled as appropriate 0: INFO: Any stdout that matches the regular expression ".*Footage not found:.*" will be handled as appropriate 0: INFO: Any stdout that matches the regular expression ".*Done frame ([0-9]+) of ([0-9]+).*" will be handled as appropriate 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 0: INFO: Render Executable: "C:\Program Files (x86)\Autodesk\Combustion 4 Trial\ShellRenderer.exe" 0: INFO: Render Argument: -nobar -start 23 -end 23 -startnumber 23 -skip 1 -output "mike/output1" -quality best -depth 8 -width 850 -height 425 -lockaspect "C:\Documents and Settings\ryan.russell\Local Settings\Temp\Example_File_for_Ryan.cws" 0: INFO: Startup Directory: "C:\Program Files (x86)\Autodesk\Combustion 4 Trial" 0: INFO: Process Priority: BelowNormal 0: INFO: Process is now running 0: STDOUT: Combustion (4.0.2.270) Command Line Renderer 0: STDOUT: ******************************************** 0: STDOUT: Processing: Using 2 CPUs and a maximum of 2046Mb RAM 0: STDOUT: Workspace: c:\documents and settings\ryan.russell\local settings\temp\example_file_for_ryan.cws 0: STDOUT: Output: Output settings for output1 0: STDOUT: Preset: Settings were originally based on Audio only 0: STDOUT: Rendering to: PNG (Best mode) 0: STDOUT: Size: Custom (850x425) 0: STDOUT: Channels: Color+Alpha ( 8 Bit depth per channel) 0: STDOUT: Field Order: No Fields 0: STDOUT: Frames: 23 0: STDOUT: File Output: S:\ryan.russell\combustion_test\Combustion_Output\output[#].png 0: STDOUT: Elapsed time: 6 SecondsDone frame 0 of 2 0: STDOUT: Done frame 1 of 2 0: STDOUT: Elapsed time: 0 SecondsDone frame 2 of 2 0: INFO: Process exit code: 0 0: Render time for frame: 5.953 s 0: Total time for task: 5.952 s

However, one issue I found with the submission script was that it threw an error when I selected the Draw Mask output operator because no path was specified. This will be fixed to give the appropriate error message stating that there is no path specified for the selected operator. Unfortunately, I’m not sure what we can do about the error you’re running into since we can’t reproduce it. :frowning:

Cheers,

  • Ryan

OK, thanks. Its still failing for me. Any chance you could grab the latest version of Combustion of the web and test again?

0: STDOUT: Combustion (4.0.5.288) Command Line Renderer

http://usa.autodesk.com/adsk/servlet/ps/dl/index?siteID=123112&id=2334435&linkID=9241498

The submission script throws the same error for me as well. However, if I select the other output operator (output1) the job then fails for me on the slaves, but works for you…
I’m wondering if the submission script could do a “return” if ANY of the output operators paths are NOT set correctly. This in effect would solve my problem before it even occurs. Still don’t understand why you can’t see the error :confused:

Mike

Hey Mike,

I downloaded the latest 2008 installer, and I was able to reproduce the problem. I guess this was a regression from a previous version.

Here is an updated combustion submission script that displays an appropriate error when the selected operator’s path is undefined, and also warns you if there are undefined paths for any of the operators. Give this a try and let us know how it works for you.

To uninstall, back up the CombustionSubmission.py file in \your\repository\scripts\Submission\CombustionSubmission, and then unzip the attached file to the same folder.

Cheers,

Works perfectly :slight_smile:
Thanks Ryan.
I have another yet another Combustion issue which I’ll open as a separate thread.
Mike