Hi,
I am attempting to use the ‘BatchMode’ option in the Nuke Plugin. Essentially I want to launch a python script to Nuke in -t mode.
This python script will generate a Quicktime. The script does load and run, and the Quicktime is generated, but something is causing Deadline to detect the script as exiting improperly.
I have tried calling nuke.scriptExit() and sys.exit(0) at the end of the python script. I’m not sure what is making the monitored managed process unhappy. The same command line runs fine from a command prompt and as a Deadline CommandScript job.
FYI,
The commandline ends up looking somehting like this:
“C:\Program Files (x86)\Nuke6.1v2\Nuke6.1.exe” -V -t “X:\show\devshow\AA\0001\comp\AA_0001_precomp\v003\2kan_lin_wtProcess\DailyFactory\1288120174_DailyFactory.py”
Here is some error log output:
…
0: STDOUT: Loading C:/Program Files (x86)/Nuke6.1v2/plugins/Invert.dll
0: STDOUT: Loading C:/Program Files (x86)/Nuke6.1v2/plugins/Keymix.dll
0: STDOUT: Loading C:/Program Files (x86)/Nuke6.1v2/plugins/OneView.dll
0: STDOUT: Loading C:/Program Files (x86)/Nuke6.1v2/plugins/movWriter.dll
0: STDOUT: Loading C:/Program Files (x86)/Nuke6.1v2/plugins/exrReader.dll
0: STDOUT: X:\show\devshow\AA\0001\comp\AA_0001_precomp\v003\HDQT_sRGB\AA_0001_precomp_v003.mov
0: STDOUT: Loading C:/Program Files (x86)/Nuke6.1v2/plugins/date.tcl
0: STDOUT: Writing X:/show/devshow/AA/0001/comp/AA_0001_precomp/v003/HDQT_sRGB/AA_0001_precomp_v003.mov .9
0: STDOUT: Writing X:/show/devshow/AA/0001/comp/AA_0001_precomp/v003/HDQT_sRGB/AA_0001_precomp_v003.mov took 2.15 seconds
0: STDOUT: Writing X:/show/devshow/AA/0001/comp/AA_0001_precomp/v003/HDQT_sRGB/AA_0001_precomp_v003.mov .4.9
0: STDOUT: Writing X:/show/devshow/AA/0001/comp/AA_0001_precomp/v003/HDQT_sRGB/AA_0001_precomp_v003.mov took 0.98 seconds
0: STDOUT: Writing X:/show/devshow/AA/0001/comp/AA_0001_precomp/v003/HDQT_sRGB/AA_0001_precomp_v003.mov .5
0: STDOUT: Writing X:/show/devshow/AA/0001/comp/AA_0001_precomp/v003/HDQT_sRGB/AA_0001_precomp_v003.mov took 0.87 seconds
---- October 26 2010 – 04:02 PM ----
0: WARNING: Monitored managed process Nuke is no longer running
Scheduler Thread - Render Thread 0 threw an error:
Scheduler Thread - Exception during render: An error occurred in RenderTasks(): Monitored managed process “Nuke” has exited or been terminated.
at Deadline.Plugins.ScriptPlugin.RenderTasks(Int32 startFrame, Int32 endFrame, String& outMessage)
As far as I can tell, Nuke is exiting because it is finished. Is it not returning a proper exit code? Any ideas? Has anyone successfully used ‘BatchMode’ in the Deadline Nuke Plugin. I found it in the .py file of the Plugin, but now that I look again it is not exposed as an Option. Is it experimental or something
Thanks,
Paul