AWS Thinkbox Discussion Forums

Deadline 6 Beta - submission script for Composite?

Hello,

Can someone please tell me how to setup the integrated Composite/Toxik submission script, using Deadline 6 Beta? I have a couple of test cases that require some render submissions be made to Deadline directly from the Composite UI.

This documentation is available for DL 5 on the knowledge base:

thinkboxsoftware.com/deadline-5-composite/

Composite 2010 and Later
“Copy [Repository]\clientSetup\Toxik\SubmitToDeadline.py to [Composite/Toxik Install Directory]\resources\scripts”

Apparently the distribution for DL 6 Beta does not include any “SubmitToDeadline.py” for Composite, I assume this script is now deprecated?

My distribution does include the following client file for Composite:

[Repository]\submission\Composite\Client\DeadlineCompositeClient.py

Thanks lots! I couldn’t find the equivalent docs for this procedure on the DL 6 Beta forum.

Parmjit V.
Software Developer

Yup, that’s the new client script for Composite. We’ll be updating our v6 docs soon, but the setup should be the same as described in the v5 docs. If you run into any problems, let us know!

Cheers,
-Ryan

Cool, thanks!

Hmmm … I am not able to submit a new render request to Deadline from the Composite UI. It appears the client script is bombing out with some dependecy failures when called. Any thoughts?

Here is the full stack trace from the Windows shell:

%> “C:/Program Files/Autodesk/Composite 2013/program/python.exe” -v “C:/Program Files/Autodesk/Composite 2013/resources/scripts/DeadlineCompositeClient.py”

installing zipimport hook

import zipimport # builtin

installed zipimport hook

‘import site’ failed; traceback:
ImportError: No module named site
Python 2.6.4 (r264:75708, Oct 26 2009, 07:36:50) [MSC v.1500 64 bit (AMD64)] on
win32
Type “help”, “copyright”, “credits” or “license” for more information.
Traceback (most recent call last):
File “C:/Program Files/Autodesk/Composite 2013/resources/scripts/DeadlineCompositeClient.py”, line 1, in
import sys, os, subprocess, traceback
ImportError: No module named os

clear builtin._

clear sys.path

clear sys.argv

clear sys.ps1

clear sys.ps2

clear sys.exitfunc

clear sys.exc_type

clear sys.exc_value

clear sys.exc_traceback

clear sys.last_type

clear sys.last_value

clear sys.last_traceback

clear sys.path_hooks

clear sys.path_importer_cache

clear sys.meta_path

clear sys.flags

clear sys.float_info

restore sys.stdin

restore sys.stdout

restore sys.stderr

cleanup main

cleanup[1] zipimport

cleanup[1] signal

cleanup[1] exceptions

cleanup[1] _warnings

cleanup sys

cleanup builtin

cleanup ints: 3 unfreed ints

cleanup floats

That’s kind of odd that Composite’s python installation wouldn’t be able to import the ‘os’ module.

I noticed this though:

Something seems messed up with Composite’s python environment…

Slightly off topic here - when run, does this client script for Composite also create any job/info files for Deadline to work with?

I have seen this effect when using the “DeadlineMayaClient.mel” client script within Maya 2013. Jobs submitted to Deadline via this script will create a pair of job/info files for Deadline, fox example:

** maya_deadline_job.job **
Animation=1
Renderer=mentalRay
UsingRenderLayers=0
RenderLayer=
RenderHalfFrames=0
LocalRendering=0
StrictErrorChecking=1
MaxProcessors=0
MentalRayVerbose=Progress Messages
AutoMemoryLimit=1
MemoryLimit=0
Version=2013 x64
Build=64bit
ImageWidth=123
ImageHeight=456
Camera=cam_xyz
SceneFile=C:/some/maya/scene.mb
OutputFilePath=C:/some/output/path/
OutputFilePrefix=some_file_prefix
IgnoreError211=0

** maya_deadline_info.job **
Plugin=MayaBatch
Name=SomeNameHere
UserName=SomeUserNameHere
Comment=SomeCommentHere
Pool=SomePoolHere
MachineLimit=0
Priority=50
OnJobComplete=Nothing
TaskTimeoutMinutes=0
MinRenderTimeMinutes=0
ConcurrentTasks=1
Department=SomeDepartmentHere
Group=none
LimitGroups=
JobDependencies=
Frames=1-100
ChunkSize=1

… I find this lends itself nicely towards a templating mechanism, for example as an automated process in code. I expect that a similar pair of job/info files will be generated somewhere on the file system for a render submission made through the “DeadlineCompositeClient.py” script for Composite, is this correct?

Cheers,

Parmjit

Privacy | Site terms | Cookie preferences