DL RC2 (6.0.0.51362), Mac 10.8.3, Draft
Hi,
I’m setting off a simple Draft encode using one of the sample templates from a Mac and rendering onto a Windows 7 box.
I’ve got C4D, Maya 2014, AE to render fine in this set up and also QT creations, but when I try a simple Draft template I get an error: Draft was not found in the Deadline Repository
I can recreate it all the time. Not sure if it’s a bug or a set up problem.
Dave.
The error log:
Connecting to SPOVNODE005…
Success
Exception.StackTrace:
at System.IO.__Error.WinIOError(Int32 errorCode, String maybeFullPath)
at System.IO.File.InternalCopy(String sourceFileName, String destFileName, Boolean overwrite)
at Deadline.StorageDB.JobStorage.WriteJobReportFile(Report report, String reportLog)
Constructor: Draft
0: Task timeout is disabled.
0: Loaded job: BI_oil_rig_camera_animation_MG_008_k.c4d [DRAFT] (5193a047ad5283a20da826f4)
0: INFO: Executing plugin script C:\Users\rendernode\AppData\Local\Thinkbox\Deadline6\slave\SPOVNODE005\plugins\Draft.py
Scheduler Thread - Render Thread 0 threw a major error:
Exception Details
RenderPluginException – Error in StartJob: Initialize: Error in InitializeProcess: ERROR: Draft was not found in the Deadline Repository!
at Deadline.Plugins.ScriptPlugin.b(Job A_0)
at Deadline.Plugins.ScriptPlugin.StartJob(Job job, String& outMessage, AbortLevel& abortLevel)
RenderPluginException.Cause: JobError (2)
RenderPluginException.Level: Major (1)
RenderPluginException.HasSlaveLog: True
Exception.Data: ( )
Exception.TargetSite: Void StartJob(Deadline.Jobs.Job)
Exception.Source: deadline
Exception.StackTrace:
at Deadline.Plugins.Plugin.StartJob(Job job)
at Deadline.Slaves.SlaveRenderThread.a(TaskLogWriter A_0)
<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<
Error occurred while writing report log:
Exception Details
DirectoryNotFoundException – Could not find a part of the path ‘S:\deadline\reports\jobs\32\3\5193a10e9df4f50b64cc9323.bz2’.
Exception.Data: ( )
Exception.TargetSite: Void WinIOError(Int32, System.String)
Exception.Source: mscorlib
Exception.StackTrace:
at System.IO.__Error.WinIOError(Int32 errorCode, String maybeFullPath)
at System.IO.File.InternalCopy(String sourceFileName, String destFileName, Boolean overwrite)
at Deadline.StorageDB.JobStorage.WriteJobReportFile(Report report, String reportLog)
---- 2013/05/15 15:52 ----
Constructor: Draft
0: Task timeout is disabled.
0: Loaded job: BI_oil_rig_camera_animation_MG_008_k.c4d [DRAFT] (5193a047ad5283a20da826f4)
0: INFO: Executing plugin script C:\Users\rendernode\AppData\Local\Thinkbox\Deadline6\slave\SPOVNODE005\plugins\Draft.py
Scheduler Thread - Render Thread 0 threw a major error:
Error occurred while writing report log:
Exception Details
DirectoryNotFoundException – Could not find a part of the path ‘S:\deadline\reports\jobs\34\1\5193a2649df4f50b64cc9341.bz2’.
Exception.Data: ( )
Exception.TargetSite: Void WinIOError(Int32, System.String)
Exception.Source: mscorlib
Exception.StackTrace:
at System.IO.__Error.WinIOError(Int32 errorCode, String maybeFullPath)
at System.IO.File.InternalCopy(String sourceFileName, String destFileName, Boolean overwrite)
at Deadline.StorageDB.JobStorage.WriteJobReportFile(Report report, String reportLog)
Purging old statistics
Purging slave statistics that are older than Jan 15/13 15:55:02
Purging repository statistics that are older than Jan 15/13 15:55:02
---- 2013/05/15 15:59 ----
Purging limits
Purging old job auxiliary files
OK, so more on this. After upgrading to RC3, it’s almost working now. I think there was a problem with my RC2 install as the draft folder had a capital ‘D’. It didn’t like that!
So now I’m getting another error and I think it’s to do with Path Mapping. As I’m submitting from a Mac and rendering on Windows I’m using a very simple path map: /Volumes/projects -> S:\projects. This was working but as Draft is on the deadline repository I needed to add another mapp: /Volumes/DeadlineRepository -> S:\deadline. This should have worked but I get another error where part of the render argument is:
0: INFO: Render Argument: -u “\Volumes\DeadlineRepository\draft\Samples\Encode\encode_to_MOV_MJPEG_1080p.py”
Does Draft utilise the path mapping as it doesn’t look like it’s working? This should be:
0: INFO: Render Argument: -u “S:\deadline\draft\Samples\Encode\encode_to_MOV_MJPEG_1080p.py”
Dave.
The whole error:
=======================================================
Error
Error in CheckExitCode: Renderer returned non-zero error code, 2. 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)
=======================================================
Full Log
0: Task timeout is disabled.
0: Loaded job: BI_oil_rig_camera_animation_MG_008_k.c4d [DRAFT] (5193afcfad5283b6d3c33cde)
0: INFO: Executing plugin script C:\Users\rendernode\AppData\Local\Thinkbox\Deadline6\slave\SPOVNODE009\plugins\Draft.py
0: INFO: Found Draft python module at: ‘C:\Users\rendernode\AppData\Local\Thinkbox\Deadline6\slave\SPOVNODE009\Draft\Draft.pyd’
0: INFO: About: Draft Plugin for Deadline
0: INFO: The current environment will be used for rendering
0: Plugin rendering frame(s): 256-460
0: INFO: Draft job starting…
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: Looking for bundled python at: ‘C:\Program Files\Thinkbox\Deadline6\bin\dpython.exe’
0: INFO: Render Executable: “C:\Program Files\Thinkbox\Deadline6\bin\dpython.exe”
0: INFO: Render Argument: -u “\Volumes\DeadlineRepository\draft\Samples\Encode\encode_to_MOV_MJPEG_1080p.py” username=“kierangeefinch” entity=“BI_oil_rig_camera_animation_MG_008_k.c4d” version="" inFile=“S:\projects\Phantom\Pre_Production\Style_Development\S11_Black_Ice\03_3DRenders\OilRig_SF_\OilRig_SF_underwtaer_01” outFolder=“S:\projects\Phantom\Pre_Production\Style_Development\S11_Black_Ice\03_3DRenders\OilRig_SF_\OilRig_SF_underwtaer_01\Draft” outFile=“S:\projects\Phantom\Pre_Production\Style_Development\S11_Black_Ice\03_3DRenders\OilRig_SF_\OilRig_SF_underwtaer_01\Draft” startFrame=256 endFrame=460 frameList=“256-460” deadlineJobID=5193aa072757d625674466a5 deadlineRepository=“S:\deadline” taskStartFrame=256 taskEndFrame=460
0: INFO: Startup Directory: “C:\Users\rendernode\AppData\Local\Thinkbox\Deadline6\slave\SPOVNODE009\Draft”
0: INFO: Process Priority: BelowNormal
0: INFO: Process Affinity: default
0: INFO: Process is now running
0: STDOUT: C:\Program Files\Thinkbox\Deadline6\bin\dpython.exe: can’t open file ‘\Volumes\DeadlineRepository\draft\Samples\Encode\encode_to_MOV_MJPEG_1080p.py’: [Errno 2] No such file or directory
0: INFO: Process exit code: 2
=======================================================
Details
Date: 05/15/2013 16:55:45
Frames: 256-460
Elapsed Time: 00:00:00:03
Job Submit Date: 05/15/2013 16:54:54
Job User: dgoodbourn
Average RAM Usage: 1795133440 (21%)
Peak RAM Usage: 1795133440 (21%)
Average CPU Usage: 0%
Peak CPU Usage: 0%
Slave Name: SPOVNODE009
Slave Version: v6.0.0.51398 R
Also this only happens when performing a DraftSubmission script on a finished job. If I start a new Draft job the path mapping works.
Dave.
Hey Dave,
That’s definitely a little weird; Path Mapping should always be applied to the Draft script, regardless of where it’s been submitted from (since it’s done in the plugin, right before it renders). When you said the DraftSubmission was being performed on finished Jobs, I assume you mean using the Draft submission in the Job’s right-click ‘Scripts’ menu? Or are you referring to using the Event Plugin to create Draft Jobs automatically when the Job finishes?
If you could post an archived version of the Draft Job that’s failing, that could also be helpful – I just want to make sure there isn’t anything weird about how the script path is being stored. To do that, just right-click on the Job as a super user, and select ‘Archive Job…’. Posting a screen grab of your exact path mapping setup would probably be useful for reproducing things here, too.
Cheers,
-Jon
OK I think I’m having one of those days. I’ve just tried it again from home (after adding the Draft software license) and it’s rendering fine now! I’ve attached a project archive and a screen shot of the path maps just incase it was something other then a Draft license issue.
Cheers,
Dave.
dgoodbourn__Draft__test__5193b609ad5283c31b6fbcae.zip (2.83 KB)
Everything looks good from what you sent over, there shouldn’t be any problems swapping these paths.
Did you set up the path mapping right before running the Draft job? It kinda sounds like the Path Mapping settings didn’t get a chance to propagate to the Slaves, which would result in it looking like it wasn’t working. Slaves only refresh their cached repo settings (including Path Mapping stuff) every 10 minutes or so.
Either way, good to hear it’s working now