Hi,
we stumbled upon an issue with the dependent Draft jobs for some 3ds Max jobs. Basically, Draft is failing due to the existence of a path for a pre-rendered irradiance map (.vrmap). For some reason, it will try to use this as an input file for the dependent Draft job(s) instead of the V-Ray typical ‘image.RGB_color.####.exr’ files. It seems that Draft always uses the ‘first’ output (i’m guessing that from the experience with Nuke Draft jobs) item it can find and for whatever reason the path to the vrmap is the first one. Would it be possible to exclude that in general as input for a Draft job? Ideally, this will not be something that needs to be configured by the user but will be blacklisted by Deadline/Draft in general - this is not a conventional image format anyway and creating a QT/filmstrip from it doesn’t really make any sense. For reference, below is the job report from a Draft job which was failing due to this. Please note that the message ‘file does not exist’ is actually correct as a file with the name
X:\wc02\tor_001_030\rndr\max\vrmap\wc02_tor_001_030_rndr_all_v001_an0000.vrmap
does indeed not exist. But Draft seems to be deriving that specific filename itself. A bit earlier in the log it says
inFile=X:\wc02\tor_001_030\rndr\max\vrmap\wc02_tor_001_030_rndr_all_v001_an.vrmap
without the ‘0000’ frame number added.
Cheers,
Holger
[code]=======================================================
Error
Error: Renderer returned non-zero error code, 1. Check the log for more information.
at Deadline.Plugins.ScriptPlugin.RenderTasks(String taskId, Int32 startFrame, Int32 endFrame, String& outMessage, AbortLevel& abortLevel)
=======================================================
Type
RenderPluginException
=======================================================
Stack Trace
at Deadline.Plugins.Plugin.RenderTask(String taskId, Int32 startFrame, Int32 endFrame)
at Deadline.Slaves.SlaveRenderThread.a(TaskLogWriter A_0)
=======================================================
Log
2015-07-29 21:28:02: BEGIN - CELL-RS-19\render
2015-07-29 21:28:02: 0: Loaded plugin Draft (\cell-dead-01\deadlinerepo\plugins\Draft)
2015-07-29 21:28:02: 0: Start Job timeout is disabled.
2015-07-29 21:28:02: 0: Task timeout is disabled.
2015-07-29 21:28:02: 0: Loaded job: wc02_tor_001_030_rndr_all_v014_pj [Shotgun H264 Movie Creation] (55b91dcf84ec6819a418c1d2)
2015-07-29 21:28:02: 0: INFO: Executing plugin script C:\Users\render\AppData\Local\Thinkbox\Deadline7\slave\CELL-RS-19\plugins\55b91dcf84ec6819a418c1d2\Draft.py
2015-07-29 21:28:02: 0: INFO: Found Draft python module at: ‘C:\Users\render\AppData\Local\Thinkbox\Deadline7\slave\CELL-RS-19\Draft\Draft.pyd’
2015-07-29 21:28:02: 0: INFO: About: Draft Plugin for Deadline
2015-07-29 21:28:02: 0: INFO: The job’s environment will be merged with the current environment before rendering
2015-07-29 21:28:02: 0: Plugin rendering frame(s): 1-51
2015-07-29 21:28:04: 0: INFO: Draft job starting…
2015-07-29 21:28:04: 0: INFO: Stdout Redirection Enabled: True
2015-07-29 21:28:04: 0: INFO: Stdout Handling Enabled: True
2015-07-29 21:28:04: 0: INFO: Popup Handling Enabled: False
2015-07-29 21:28:04: 0: INFO: Using Process Tree: True
2015-07-29 21:28:04: 0: INFO: Hiding DOS Window: True
2015-07-29 21:28:04: 0: INFO: Creating New Console: False
2015-07-29 21:28:04: 0: INFO: Running as user: render
2015-07-29 21:28:04: 0: INFO: Looking for bundled python at: ‘C:\Program Files\Thinkbox\Deadline7\bin\dpython.exe’
2015-07-29 21:28:04: 0: INFO: Executable: “C:\Program Files\Thinkbox\Deadline7\bin\dpython.exe”
2015-07-29 21:28:04: 0: INFO: Argument: -u “\cell-dead-01\deadlinerepo\events\Shotgun\Draft_CreateShotgunMovie.py” frameList=0-50 startFrame=0 endFrame=50 inFile=“X:\wc02\tor_001_030\rndr\max\vrmap\wc02_tor_001_030_rndr_all_v001_an.vrmap” outFile=“X:\wc02\tor_001_030\rndr\max\vrmap\Draft\shotgun_h264.mov” outFolder=“X:\wc02\tor_001_030\rndr\max\vrmap\Draft” deadlineJobID=55b8f1b384b0187c484f3944 deadlineRepository="\cell-dead-01\deadlinerepo" taskStartFrame=1 taskEndFrame=51
2015-07-29 21:28:04: 0: INFO: Startup Directory: “C:\Users\render\AppData\Local\Thinkbox\Deadline7\slave\CELL-RS-19\Draft”
2015-07-29 21:28:04: 0: INFO: Process Priority: BelowNormal
2015-07-29 21:28:04: 0: INFO: Process Affinity: default
2015-07-29 21:28:04: 0: INFO: Process is now running
2015-07-29 21:28:04: 0: STDOUT: Checking for a license…
2015-07-29 21:28:04: 0: STDOUT: Draft 1.3.2.58232
2015-07-29 21:28:04: 0: STDOUT: Command line args:
2015-07-29 21:28:04: 0: STDOUT: frameList=0-50
2015-07-29 21:28:04: 0: STDOUT: startFrame=0
2015-07-29 21:28:04: 0: STDOUT: endFrame=50
2015-07-29 21:28:04: 0: STDOUT: inFile=X:\wc02\tor_001_030\rndr\max\vrmap\wc02_tor_001_030_rndr_all_v001_an.vrmap
2015-07-29 21:28:04: 0: STDOUT: outFile=X:\wc02\tor_001_030\rndr\max\vrmap\Draft\shotgun_h264.mov
2015-07-29 21:28:04: 0: STDOUT: outFolder=X:\wc02\tor_001_030\rndr\max\vrmap\Draft
2015-07-29 21:28:04: 0: STDOUT: deadlineJobID=55b8f1b384b0187c484f3944
2015-07-29 21:28:04: 0: STDOUT: deadlineRepository=\cell-dead-01\deadlinerepo
2015-07-29 21:28:04: 0: STDOUT: taskStartFrame=1
2015-07-29 21:28:04: 0: STDOUT: taskEndFrame=51
2015-07-29 21:28:04: 0: STDOUT: Traceback (most recent call last):
2015-07-29 21:28:04: 0: STDOUT: File “\cell-dead-01\deadlinerepo\events\Shotgun\Draft_CreateShotgunMovie.py”, line 24, in
2015-07-29 21:28:04: 0: STDOUT: frame = Draft.Image.ReadFromFile( inFile )
2015-07-29 21:28:04: 0: STDOUT: RuntimeError: Magick: UnableToOpenBlob `X:\wc02\tor_001_030\rndr\max\vrmap\wc02_tor_001_030_rndr_all_v001_an0000.vrmap’: No such file or directory @ error/blob.c/OpenBlob/2643
2015-07-29 21:28:05: 0: INFO: Process exit code: 1
2015-07-29 21:28:06: 0: An exception occurred: Error: Renderer returned non-zero error code, 1. Check the log for more information.
2015-07-29 21:28:06: at Deadline.Plugins.ScriptPlugin.RenderTasks(String taskId, Int32 startFrame, Int32 endFrame, String& outMessage, AbortLevel& abortLevel) (Deadline.Plugins.RenderPluginException)
[/code]