Hi there!
After trying to make Rez work in Deadline Version 10.2.1.0 (b4f15d06d), I have a bunch of questions:
-
Not 100% related to Rez, how can I view the log messages of the Deadline code? I can’t see them in either the DCC console (I’m testing with Nuke), or the files in
var/log/Thinkbox/Deadline10
. For example, how can I see the messages from sentences likeself.LogWarning
inevent/Rez/Rez.py
? When I have to debug submit files likeSubmitNukeToDeadline.py
I usually usenuke.message
or create log files with thelogging
library but it’s annoying. -
Since I cannot see
self.LogWarning
messages, when an exception of some Deadline code happens I’m not aware of it. The execution is not cancelled and it seems all was good (and not). Is there any way to force the interruption of the process when an exception was raised by some Deadline code? -
I found an error in the
event/Rez/Rez.py
file. I had to switch in theget_tools
method from
sub = subprocess.check_output('rez-context --tools').decode("utf-8").splitlines()
to
sub = subprocess.check_output('rez-context --tools', shell=True).decode("utf-8").splitlines()
to be able to submit a job from Nuke, having Global Enabled
as the State of the Rez event plugin. The Python documentation literally says:
If passing a single string, either shell must be True or else the string must simply name the program to be executed without specifying any arguments.
As the command is a string with an argument, this is a bug. Is this fixed in a newer Deadline version?
-
After fixing the bug described above, I found the exact same bug that was described in this other thread. On this thread, @Justin_B suggested that this had been fixed in version 10.3, but @Joe.Lamont-Fisher still sees the same thing after updating to that latest 10.3 version. Has there been another patch update or something fixing that? The last message on that thread was in September.
-
If I set
Global Enabled
in the State of the Rez event plugin, how can I use the submitters included with Deadline Monitor? Should I “Rezify” Deadline itself and run Deadline Monitor from this package to have Deadline Monitor running in a Rez environment? -
Related to the previous question, what is the best approach to using Rez to manage Deadline customizations? For instance, if I define some custom sanity checks for Nuke submission by creating a
CustomSanityChecks.py
file. Should I create a Rez package with the whole content of the Deadline Repository?
Thank you very much in advance!
Dani