AWS Thinkbox Discussion Forums

Command-line aux files issue - was Dependent Draft Job Failing

Hi,

I submitted a job from Maya which ran fine; the QuickTime I asked for using the Pipeline Tools interface failed, I have attached a Task Error Log.

I spotted an extra period in the in-file syntax : masterLayer…####.exr

Please let me know if this is reproducible for you?

Thanks!

[code]=======================================================
Error

Error: Renderer returned non-zero error code, 1. Check the log for more information.
at Deadline.Plugins.PluginWrapper.RenderTasks(String taskId, Int32 startFrame, Int32 endFrame, String& outMessage, AbortLevel& abortLevel)

=======================================================
Type

RenderPluginException

=======================================================
Stack Trace

at Deadline.Plugins.SandboxedPlugin.a(DeadlineMessage A_0)
at Deadline.Plugins.SandboxedPlugin.RenderTask(String taskId, Int32 startFrame, Int32 endFrame)
at Deadline.Slaves.SlaveRenderThread.a(TaskLogWriter A_0)

=======================================================
Log

2017-01-11 16:05:53: 0: Loading Job’s Plugin timeout is Disabled
2017-01-11 16:05:55: 0: Executing plugin command of type ‘Sync Files for Job’
2017-01-11 16:05:55: 0: All job files are already synchronized
2017-01-11 16:05:55: 0: Plugin DraftPlugin was already synchronized.
2017-01-11 16:05:55: 0: Done executing plugin command of type ‘Sync Files for Job’
2017-01-11 16:05:55: 0: Executing plugin command of type ‘Initialize Plugin’
2017-01-11 16:05:56: 0: INFO: Executing plugin script ‘C:\Users\render\AppData\Local\Thinkbox\Deadline8\slave\render-23\plugins\58769594fb4a9718f8c36a55\DraftPlugin.py’
2017-01-11 16:05:56: 0: INFO: Found Draft python module at: ‘C:\Users\render\AppData\Local\Thinkbox\Deadline8\slave\render-23\Draft\Draft.pyd’
2017-01-11 16:05:56: 0: INFO: About: Draft Plugin for Deadline
2017-01-11 16:05:56: 0: INFO: Render Job As User disabled, running as current user ‘render’
2017-01-11 16:05:56: 0: INFO: The job’s environment will be merged with the current environment before rendering
2017-01-11 16:05:56: 0: Done executing plugin command of type ‘Initialize Plugin’
2017-01-11 16:05:56: 0: Start Job timeout is disabled.
2017-01-11 16:05:56: 0: Task timeout is disabled.
2017-01-11 16:05:56: 0: Loaded job: DD516_0020_light.v002 - defaultRenderLayer - Camera:TRACKCAM [Shotgun H264 Movie Creation] (58769594fb4a9718f8c36a55)
2017-01-11 16:05:56: 0: Skipping X: because it is already mapped
2017-01-11 16:05:56: 0: Skipping N: because it is already mapped
2017-01-11 16:05:56: 0: Skipping Y: because it is already mapped
2017-01-11 16:05:56: 0: Executing plugin command of type ‘Start Job’
2017-01-11 16:05:56: 0: Done executing plugin command of type ‘Start Job’
2017-01-11 16:05:56: 0: Plugin rendering frame(s): 1-120
2017-01-11 16:05:56: 0: Executing plugin command of type ‘Render Task’
2017-01-11 16:05:57: 0: INFO: Draft job starting…
2017-01-11 16:05:57: 0: INFO: Stdout Redirection Enabled: True
2017-01-11 16:05:57: 0: INFO: Stdout Handling Enabled: True
2017-01-11 16:05:57: 0: INFO: Popup Handling Enabled: False
2017-01-11 16:05:57: 0: INFO: Using Process Tree: True
2017-01-11 16:05:57: 0: INFO: Hiding DOS Window: True
2017-01-11 16:05:57: 0: INFO: Creating New Console: False
2017-01-11 16:05:57: 0: INFO: Running as user: render
2017-01-11 16:05:57: 0: INFO: Looking for bundled python at: ‘C:\Program Files\Thinkbox\Deadline8\bin\dpython.exe’
2017-01-11 16:05:57: 0: INFO: Executable: “C:\Program Files\Thinkbox\Deadline8\bin\dpython.exe”
2017-01-11 16:05:57: 0: INFO: Argument: -u “C:\Users\render\AppData\Local\Thinkbox\Deadline8\slave\render-23\jobsData\58769594fb4a9718f8c36a55\Draft_CreateShotgunMovie.py” frameList=1-120 startFrame=1 endFrame=120 inFile=“Y:\projects\dinodana\sequences\DD516\renders\DD516_0020\3d\masterLayer\DD516_0020.masterLayer…####.exr” outFile=“Y:\projects\dinodana\sequences\DD516\renders\DD516_0020\3d\masterLayer\Draft\shotgun_h264.mov” outFolder=“Y:\projects\dinodana\sequences\DD516\renders\DD516_0020\3d\masterLayer\Draft” deadlineJobID=587692fc272d6b26d07fae31 deadlineRepository="\unicron\deadline8" taskStartFrame=1 taskEndFrame=120
2017-01-11 16:05:57: 0: INFO: Full Command: “C:\Program Files\Thinkbox\Deadline8\bin\dpython.exe” -u “C:\Users\render\AppData\Local\Thinkbox\Deadline8\slave\render-23\jobsData\58769594fb4a9718f8c36a55\Draft_CreateShotgunMovie.py” frameList=1-120 startFrame=1 endFrame=120 inFile=“Y:\projects\dinodana\sequences\DD516\renders\DD516_0020\3d\masterLayer\DD516_0020.masterLayer…####.exr” outFile=“Y:\projects\dinodana\sequences\DD516\renders\DD516_0020\3d\masterLayer\Draft\shotgun_h264.mov” outFolder=“Y:\projects\dinodana\sequences\DD516\renders\DD516_0020\3d\masterLayer\Draft” deadlineJobID=587692fc272d6b26d07fae31 deadlineRepository="\unicron\deadline8" taskStartFrame=1 taskEndFrame=120
2017-01-11 16:05:57: 0: INFO: Startup Directory: “C:\Users\render\AppData\Local\Thinkbox\Deadline8\slave\render-23\Draft”
2017-01-11 16:05:57: 0: INFO: Process Priority: BelowNormal
2017-01-11 16:05:57: 0: INFO: Process Affinity: default
2017-01-11 16:05:57: 0: INFO: Process is now running
2017-01-11 16:05:57: 0: STDOUT: Checking for a license…
2017-01-11 16:05:57: 0: STDOUT: Draft 1.6.2
2017-01-11 16:05:57: 0: STDOUT: Command line args:
2017-01-11 16:05:57: 0: STDOUT: frameList=1-120
2017-01-11 16:05:57: 0: STDOUT: startFrame=1
2017-01-11 16:05:57: 0: STDOUT: endFrame=120
2017-01-11 16:05:57: 0: STDOUT: inFile=Y:\projects\dinodana\sequences\DD516\renders\DD516_0020\3d\masterLayer\DD516_0020.masterLayer…####.exr
2017-01-11 16:05:57: 0: STDOUT: outFile=Y:\projects\dinodana\sequences\DD516\renders\DD516_0020\3d\masterLayer\Draft\shotgun_h264.mov
2017-01-11 16:05:57: 0: STDOUT: outFolder=Y:\projects\dinodana\sequences\DD516\renders\DD516_0020\3d\masterLayer\Draft
2017-01-11 16:05:57: 0: STDOUT: deadlineJobID=587692fc272d6b26d07fae31
2017-01-11 16:05:57: 0: STDOUT: deadlineRepository=\unicron\deadline8
2017-01-11 16:05:57: 0: STDOUT: taskStartFrame=1
2017-01-11 16:05:57: 0: STDOUT: taskEndFrame=120
2017-01-11 16:05:57: 0: STDOUT: Traceback (most recent call last):
2017-01-11 16:05:57: 0: STDOUT: File “C:\Users\render\AppData\Local\Thinkbox\Deadline8\slave\render-23\jobsData\58769594fb4a9718f8c36a55\Draft_CreateShotgunMovie.py”, line 24, in
2017-01-11 16:05:57: 0: STDOUT: frame = Draft.Image.ReadFromFile( inFile )
2017-01-11 16:05:57: 0: STDOUT: RuntimeError: exr_input_file Error: failed to open exr file Y:\projects\dinodana\sequences\DD516\renders\DD516_0020\3d\masterLayer\DD516_0020.masterLayer…0001.exr
2017-01-11 16:05:57: 0: INFO: Process exit code: 1
2017-01-11 16:05:57: 0: Done executing plugin command of type ‘Render Task’

=======================================================
Details

Date: 01/11/2017 16:06:00
Frames: 1-120
Elapsed Time: 00:00:00:06
Job Submit Date: 01/11/2017 15:29:09
Job User: robaitchison
Average RAM Usage: 2147799040 (9%)
Peak RAM Usage: 2147799040 (9%)
Average CPU Usage: 4%
Peak CPU Usage: 8%
Used CPU Clocks (x10^6 cycles): 1409
Total CPU Clocks (x10^6 cycles): 35212

=======================================================
Slave Information

Slave Name: render-23
Version: v8.1.5.5 Release (854a616b6)
Operating System: Windows 7 Professional (SP1)
Running As Service: No
Machine User: render
IP Address: 192.168.21.5
MAC Address: 6C:62:6D:D0:DA:0A
CPU Architecture: x64
CPUs: 8
CPU Usage: 10%
Memory Usage: 2.0 GB / 24.0 GB (8%)
Free Disk Space: 21.630 GB
Video Card: Standard VGA Graphics Adapter
[/code]

That extra period is the culprit as I exported the jobInfo and pluginInfo files to manually submit them.

I find a nuisance bug in the process - the auxiliary files must have an absolute path :

Take one:

G:\temp>"C:\Program Files\Thinkbox\Deadline8\bin\deadlinecommand.exe" 58769594fb4a9718f8c36a55_jobInfo.job 58769594fb4a9718f8c36a55_pluginInfo.job 58769594fb4a9718f8c36a55_auxiliaryinfo\Draft_CreateS hotgunMovie.py Deadline Command 8.1 [v8.1.5.5 Release (854a616b6)] Error: could not find Auxiliary submission file: 58769594fb4a9718f8c36a55_auxiliaryinfo\Draft_CreateShotgunMovie.py (Deadline.Submission.DeadlineSubmissionException)

Take two:

[code]
G:\temp>“C:\Program Files\Thinkbox\Deadline8\bin\deadlinecommand.exe” 58769594fb4a9718f8c36a55_jobInfo.job 58769594fb4a9718f8c36a55_pluginInfo.job G:\temp\58769594fb4a9718f8c36a55_auxiliaryinfo\Draft
_CreateShotgunMovie.py
Deadline Command 8.1 [v8.1.5.5 Release (854a616b6)]

Submitting to Repository: \unicron\deadline8

Submission Contains the Following Auxiliary Files:

  1. G:\temp\58769594fb4a9718f8c36a55_auxiliaryinfo\Draft_CreateShotgunMovie.py

Result=Success
JobID=5876a801272d6b34a0096851

The job was submitted successfully.[/code]

Hi,

My Maya Render Globals had a problem leading to this issue so the dependent job failing is solved.

The absolute path to the auxiliary files is a minor issue that does exist.

Thanks.

Gotcha – yeah, the relative paths not working is a known issue, largely due to Deadline currently changing the working directory on the fly. We’d love to remove the need for this in a future version, which should fix relative paths for this kind of usage.

Cheers,

  • Jon
Privacy | Site terms | Cookie preferences