AWS Thinkbox Discussion Forums

Nuke warning prevents render

Hi all,

I get render errors on Deadline when I try to render a Nuke script which has a node in it that is licensed to my workstation.
Fair enough I’d say except that node in question is part of a tree that does not contribute to any output (the relevant Write node is disabled).
When I render the script manually via command line on a render slave I get this warning:

OF No X11 general support
Optical Flares Unable to get X11 support!
Optical Flares No License found (LICENSE PATH: /ohufx/pipeline/licenses/deploy/OpticalFlares)

But it renders, and I don’t care about the warning cause it doesn’t contribute to the output. Can I make Dealinde do the same (i.e. ignore the warning?)
As a work around I now cut the respective part of the nuke script before submitting the deadline job and making sure I submit the script with the job. Afterwards I paste it back in ans save - not very elegant.

I’m not sure if this is a beta issue or a general Dealine issue.

Cheers,
frank

Hey Frank,

Can you post the error report from the Deadline job? I’m assuming one of our stdout handlers is treating this as a fatal error and that’s why the job fails to render. The report should give us an idea of what stdout handler is responsible here, and then you can then tweak your Nuke plugin to ignore this error.

I’d be concerned about removing/tweaking the stdout handler in the public release of Deadline though, since if you had an enabled write node that needs this license, you would want it to fail. Ideally, it would be nice if that node didn’t print out these errors if is wasn’t being rendered.

Cheers,
Ryan

Below is one flavour of error (the more generic one).
I have two scenarios:
-one where the plugin is installed for the slave but not licenses
-one where the plugin is not installed at all

In both cases the node is not connected to the output. Below is the case where the plugin isn’t installed at all, the other one seems intermittent and I can’t reproduce it at the moment.

Cheers,
frank

=======================================================
Error

Error in RenderTasks: Monitored managed process “Nuke” has exited or been terminated.
at Deadline.Plugins.ScriptPlugin.RenderTasks (System.String taskId, Int32 startFrame, Int32 endFrame, System.String& outMessage, FranticX.Processes.AbortLevel& abortLevel) [0x00000] in :0

=======================================================
Type

RenderPluginException

=======================================================
Stack Trace

at Deadline.Plugins.Plugin.RenderTask (System.String taskId, Int32 startFrame, Int32 endFrame) [0x00000] in :0
at Deadline.Slaves.SlaveRenderThread.RenderCurrentTask (Deadline.IO.TaskLogWriter tlw) [0x00000] in :0

=======================================================
Full Log

1: Task timeout is disabled.
1: Loaded job: zoya_sh_02C_comp_v04.nk (52d6e8e3e6e66b77fca49471)
1: INFO: Executing plugin script /Users/frank/Library/Application Support/Thinkbox/Deadline6/slave/totoro/plugins/52d6e8e3e6e66b77fca49471/Nuke.py
1: INFO: About: Nuke Plugin for Deadline
1: INFO: The current environment will be used for rendering
1: INFO: Executing job preload script /Users/frank/Library/Application Support/Thinkbox/Deadline6/slave/totoro/plugins/52d6e8e3e6e66b77fca49471/JobPreLoad.py
1: INFO: Scrubbing the LD and DYLD LIBRARY paths
1: INFO: Prepping OFX cache
1: INFO: Checking Nuke temp path: /var/tmp/nuke-u1001
1: INFO: Path already exists
1: INFO: OFX cache prepped
1: INFO: Starting monitored managed process Nuke
1: INFO: Stdout Handling Enabled: True
1: INFO: Popup Handling Enabled: True
1: INFO: Using Process Tree: True
1: INFO: Hiding DOS Window: True
1: INFO: Creating New Console: False
1: INFO: Executable: “/Applications/Nuke7.0v8/Nuke7.0v8.app/Contents/MacOS/Nuke7.0v8”
1: INFO: Rendering with NukeX
1: INFO: Using 2 threads for rendering
1: INFO: Argument: -V 2 --nukex -t -m 2 “/var/folders/20/k35pqbgn25z36w2tq92mz1c00000z9/T/zoya_sh_02C_comp_v04_thread1.nk”
1: INFO: Startup Directory: “/Applications/Nuke7.0v8/Nuke7.0v8.app/Contents/MacOS”
1: INFO: Process Priority: BelowNormal
1: INFO: Process Affinity: default
1: INFO: Process is now running
1: Plugin rendering frame(s): 55-59
1: INFO: Rendering all enabled write nodes
1: STDOUT: NOTE : NukeX functionality is only available with an interactive license. If you wish to
1: STDOUT: use this, please specify ‘–nukex -i’ for an interactive license in terminal mode.
1: STDOUT: Nuke 7.0v8, 64 bit, built Jun 7 2013.
1: STDOUT: Copyright © 2013 The Foundry Visionmongers Ltd. All Rights Reserved.
1: STDOUT: Licence expires on: 2014/6/21
1: STDOUT: Loading /Applications/Nuke7.0v8/Nuke7.0v8.app/Contents/MacOS/plugins/init.tcl
1: STDOUT: Loading /Applications/Nuke7.0v8/Nuke7.0v8.app/Contents/MacOS/plugins/init.py
1: STDOUT: Loading /Applications/Nuke7.0v8/Nuke7.0v8.app/Contents/MacOS/plugins/setenv.tcl
1: STDOUT: Loading /Applications/Nuke7.0v8/Nuke7.0v8.app/Contents/MacOS/plugins/Tracker3.dylib
1: STDOUT: Loading /Applications/Nuke7.0v8/Nuke7.0v8.app/Contents/MacOS/plugins/formats.tcl
1: STDOUT: Loading /ohufx/pipeline/tools/nuke/init.py
1: STDOUT: importing JobSystem
1: STDOUT: importing OhuIO
1: STDOUT: importing OhuMisc
1: STDOUT: importing OhuTabs
1: STDOUT: importing os
1: STDOUT: importing ShotGun
1: STDOUT: importing re
1: STDOUT: importing shutil
1: STDOUT: importing time
1: STDOUT: importing threading
1: STDOUT: /ohufx/pipeline/tools/python/shotgunPythonAPI
1: STDOUT: using Shotgun API 3.0.15.dev
1: STDOUT: Connecting to ohufx.shotgunstudio.com…. connected for reading
1: STDOUT: getting shotgun entity for zoya sh sh_02C
1: STDOUT: READING SHOT TREE FROM DISK…
1: STDOUT: Loading /ohufx/pipeline/tools/nuke/plugins/osx/7.0/init.py
1: STDOUT: Loading /ohufx/pipeline/tools/nuke/plugins/osx/7.0/J_Ops/init.py
1: STDOUT: Loading /ohufx/pipeline/tools/nuke/plugins/osx/7.0/escher1.0/init.py
1: STDOUT: Loading /ohufx/pipeline/tools/nuke/python/init.py
1: STDOUT: Loading /Users/frank/.nuke/init.py
1: STDOUT: Loading /Users/frank/Nukepedia/init.py
1: STDOUT: Loading /Users/frank/.nuke/plugins/init.py
1: STDOUT: Loading /Applications/Nuke7.0v8/Nuke7.0v8.app/Contents/MacOS/plugins/getenv.tcl
1: STDOUT: Loading /Applications/Nuke7.0v8/Nuke7.0v8.app/Contents/MacOS/plugins/tgaReader.tcl
1: STDOUT: Loading /Applications/Nuke7.0v8/Nuke7.0v8.app/Contents/MacOS/plugins/targaReader.dylib
1: STDOUT: Loading /Applications/Nuke7.0v8/Nuke7.0v8.app/Contents/MacOS/plugins/Crop.dylib
1: STDOUT: Loading /Applications/Nuke7.0v8/Nuke7.0v8.app/Contents/MacOS/plugins/exrReader.dylib
1: STDOUT: Loading /Applications/Nuke7.0v8/Nuke7.0v8.app/Contents/MacOS/plugins/Noise.dylib
1: STDOUT: Loading /Applications/Nuke7.0v8/Nuke7.0v8.app/Contents/MacOS/plugins/STMap.dylib
1: STDOUT: Loading /Applications/Nuke7.0v8/Nuke7.0v8.app/Contents/MacOS/plugins/Grade.dylib
1: STDOUT: Loading /Applications/Nuke7.0v8/Nuke7.0v8.app/Contents/MacOS/plugins/EdgeDetectWrapper.dylib
1: STDOUT: Loading /Applications/Nuke7.0v8/Nuke7.0v8.app/Contents/MacOS/plugins/EdgeDetect.dylib
1: STDOUT: Loading /Applications/Nuke7.0v8/Nuke7.0v8.app/Contents/MacOS/plugins/Erode.dylib
1: STDOUT: Loading /Applications/Nuke7.0v8/Nuke7.0v8.app/Contents/MacOS/plugins/ChannelMerge.dylib
1: STDOUT: Loading /Applications/Nuke7.0v8/Nuke7.0v8.app/Contents/MacOS/plugins/Merge2.dylib
1: STDOUT: Loading /Applications/Nuke7.0v8/Nuke7.0v8.app/Contents/MacOS/plugins/Reformat.dylib
1: STDOUT: Loading /Applications/Nuke7.0v8/Nuke7.0v8.app/Contents/MacOS/plugins/Flare.dylib
1: STDOUT: Loading /Applications/Nuke7.0v8/Nuke7.0v8.app/Contents/MacOS/plugins/Unpremult.tcl
1: STDOUT: Loading /Applications/Nuke7.0v8/Nuke7.0v8.app/Contents/MacOS/plugins/Premult.dylib
1: STDOUT: Loading /Applications/Nuke7.0v8/Nuke7.0v8.app/Contents/MacOS/plugins/ColorCorrect.dylib
1: STDOUT: Loading /Applications/Nuke7.0v8/Nuke7.0v8.app/Contents/MacOS/plugins/VectorBlur.dylib
1: STDOUT: Loading /Applications/Nuke7.0v8/Nuke7.0v8.app/Contents/MacOS/plugins/ZDefocus2.dylib
1: STDOUT: Loading /Applications/Nuke7.0v8/Nuke7.0v8.app/Contents/MacOS/plugins/CheckerBoard2.dylib
1: STDOUT: Loading /Applications/Nuke7.0v8/Nuke7.0v8.app/Contents/MacOS/plugins/IDistort.dylib
1: STDOUT: Loading /ohufx/pipeline/tools/nuke/gizmos/EdgeExtend.gizmo
1: STDOUT: Loading /Applications/Nuke7.0v8/Nuke7.0v8.app/Contents/MacOS/plugins/Copy.dylib
1: STDOUT: Loading /Applications/Nuke7.0v8/Nuke7.0v8.app/Contents/MacOS/plugins/Remove.dylib
1: STDOUT: Loading /Users/frank/Nukepedia/gizmos/ITransform.gizmo
1: STDOUT: Loading /Applications/Nuke7.0v8/Nuke7.0v8.app/Contents/MacOS/plugins/AdjBBox.dylib
1: STDOUT: Loading /Applications/Nuke7.0v8/Nuke7.0v8.app/Contents/MacOS/plugins/Transform.dylib
1: STDOUT: Loading /Applications/Nuke7.0v8/Nuke7.0v8.app/Contents/MacOS/plugins/EdgeBlur.dylib
1: STDOUT: Loading /Applications/Nuke7.0v8/Nuke7.0v8.app/Contents/MacOS/plugins/dpxReader.dylib
1: STDOUT: Loading /Applications/Nuke7.0v8/Nuke7.0v8.app/Contents/MacOS/plugins/Invert.dylib
1: STDOUT: Loading /Applications/Nuke7.0v8/Nuke7.0v8.app/Contents/MacOS/plugins/LightWrap.gizmo
1: STDOUT: Loading /Applications/Nuke7.0v8/Nuke7.0v8.app/Contents/MacOS/plugins/Constant.dylib
1: STDOUT: Loading /Applications/Nuke7.0v8/Nuke7.0v8.app/Contents/MacOS/plugins/Keyer.dylib
1: STDOUT: Loading /Applications/Nuke7.0v8/Nuke7.0v8.app/Contents/MacOS/plugins/Multiply.dylib
1: STDOUT: Loading /Applications/Nuke7.0v8/Nuke7.0v8.app/Contents/MacOS/plugins/Saturation.dylib
1: STDOUT: Loading /Applications/Nuke7.0v8/Nuke7.0v8.app/Contents/MacOS/plugins/CCorrect.dylib
1: STDOUT: Loading /Applications/Nuke7.0v8/Nuke7.0v8.app/Contents/MacOS/plugins/Convolve2.dylib
1: STDOUT: Loading /ohufx/pipeline/tools/nuke/gizmos/Aberration_jb.gizmo
1: STDOUT: Loading /Applications/Nuke7.0v8/Nuke7.0v8.app/Contents/MacOS/plugins/Radial.dylib
1: STDOUT: Loading /Applications/Nuke7.0v8/Nuke7.0v8.app/Contents/MacOS/plugins/Clamp.dylib
1: STDOUT: Loading /Applications/Nuke7.0v8/Nuke7.0v8.app/Contents/MacOS/plugins/FilterErode.dylib
1: STDOUT: Loading /Applications/Nuke7.0v8/Nuke7.0v8.app/Contents/MacOS/plugins/GodRays.dylib
1: STDOUT: Loading /Applications/Nuke7.0v8/Nuke7.0v8.app/Contents/MacOS/plugins/MotionBlur2D.dylib
1: STDOUT: Loading /Applications/Nuke7.0v8/Nuke7.0v8.app/Contents/MacOS/plugins/Sharpen.dylib
1: STDOUT: Loading /Applications/Nuke7.0v8/Nuke7.0v8.app/Contents/MacOS/plugins/Dissolve.dylib
1: STDOUT: Loading /Applications/Nuke7.0v8/Nuke7.0v8.app/Contents/MacOS/plugins/ContactSheet.dylib
1: STDOUT: Loading /Applications/Nuke7.0v8/Nuke7.0v8.app/Contents/MacOS/plugins/Tracker4.dylib
1: STDOUT: Loading /Applications/Nuke7.0v8/Nuke7.0v8.app/Contents/MacOS/plugins/AddChannels.dylib
1: STDOUT: Loading /Applications/Nuke7.0v8/Nuke7.0v8.app/Contents/MacOS/plugins/dpxWriter.dylib
1: STDOUT: Loading /Applications/Nuke7.0v8/Nuke7.0v8.app/Contents/MacOS/plugins/Glint.dylib
1: STDOUT: Loading /Applications/Nuke7.0v8/Nuke7.0v8.app/Contents/MacOS/plugins/LensDistortion.dylib
1: STDOUT: /var/folders/20/k35pqbgn25z36w2tq92mz1c00000z9/T/zoya_sh_02C_comp_v04_thread1.nk:
1: STDOUT: OpticalFlares: Unknown command
1: WARNING: Monitored managed process Nuke is no longer running

=======================================================
Details

Date: 01/16/2014 09:09:39
Frames: 55-59
Elapsed Time: 00:00:00:05
Job Submit Date: 01/16/2014 09:00:35
Job User: frank
Average RAM Usage: 2007821881 (24%)
Peak RAM Usage: 2048356352 (24%)
Average CPU Usage: 13%
Peak CPU Usage: 29%

=======================================================
Slave Information

Slave Name: totoro
Version: v6.1.0.54343 R
Operating System: Mac OS X 10.7.5
Machine User: frank
IP Address: 192.168.55.12
MAC Address: 3c:07:54:3f:6d:fd
CPU Architecture: x86_64
CPUs: 8
CPU Usage: 2%
Memory Usage: 1.9 GB / 8.0 GB (23%)
Free Disk Space: 601.115 GB
Video Card: AMD Radeon HD 6770M

This log is showing that Nuke is actually crashing, which will always be flagged as an error.

Can you try submitting the job again, but this time disable the Use Batch Mode option? That will just result in a command line render, and we can see what the results are.

Thanks!

hm, looks like the missing OpticalFlare node makes it crash, which it shouldn’t. Guess I can’t blame Deadline for that one :smiley:

=======================================================
Error

Error in RenderTasks: Error in CheckExitCode: Renderer returned non-zero error code, 1. Check the log for more information.
at Deadline.Plugins.ScriptPlugin.RenderTasks (System.String taskId, Int32 startFrame, Int32 endFrame, System.String& outMessage, FranticX.Processes.AbortLevel& abortLevel) [0x00000] in :0

=======================================================
Type

RenderPluginException

=======================================================
Stack Trace

at Deadline.Plugins.Plugin.RenderTask (System.String taskId, Int32 startFrame, Int32 endFrame) [0x00000] in :0
at Deadline.Slaves.SlaveRenderThread.RenderCurrentTask (Deadline.IO.TaskLogWriter tlw) [0x00000] in :0

=======================================================
Full Log

0: Task timeout is disabled.
0: Loaded job: zoya_sh_02C_comp_v04.nk (52d6f7ece6e66b0ffd2bed06)
0: INFO: Executing plugin script /Users/frank/Library/Application Support/Thinkbox/Deadline6/slave/totoro/plugins/52d6f7ece6e66b0ffd2bed06/Nuke.py
0: INFO: About: Nuke Plugin for Deadline
0: INFO: The current environment will be used for rendering
0: INFO: Executing job preload script /Users/frank/Library/Application Support/Thinkbox/Deadline6/slave/totoro/plugins/52d6f7ece6e66b0ffd2bed06/JobPreLoad.py
0: INFO: Scrubbing the LD and DYLD LIBRARY paths
0: INFO: Prepping OFX cache
0: INFO: Checking Nuke temp path: /var/tmp/nuke-u1001
0: INFO: Path already exists
0: INFO: OFX cache prepped
0: Plugin rendering frame(s): 30-34
0: INFO: Stdout Handling Enabled: True
0: INFO: Popup Handling Enabled: True
0: INFO: Using Process Tree: True
0: INFO: Hiding DOS Window: True
0: INFO: Creating New Console: False
0: INFO: Executable: “/Applications/Nuke7.0v8/Nuke7.0v8.app/Contents/MacOS/Nuke7.0v8”
0: INFO: Rendering with NukeX
0: INFO: Using 2 threads for rendering
0: INFO: Argument: -V 2 --nukex -x -m 2 -F 30-34 “/var/folders/20/k35pqbgn25z36w2tq92mz1c00000z9/T/zoya_sh_02C_comp_v04_thread0.nk”
0: INFO: Startup Directory: “/Applications/Nuke7.0v8/Nuke7.0v8.app/Contents/MacOS”
0: INFO: Process Priority: BelowNormal
0: INFO: Process Affinity: default
0: INFO: Process is now running
0: STDOUT: NOTE : NukeX functionality is only available with an interactive license. If you wish to
0: STDOUT: use this, please specify ‘–nukex -i’ for an interactive license in terminal mode.
0: STDOUT: Nuke 7.0v8, 64 bit, built Jun 7 2013.
0: STDOUT: Copyright © 2013 The Foundry Visionmongers Ltd. All Rights Reserved.
0: STDOUT: Licence expires on: 2014/6/21
0: STDOUT: Loading /Applications/Nuke7.0v8/Nuke7.0v8.app/Contents/MacOS/plugins/init.tcl
0: STDOUT: Loading /Applications/Nuke7.0v8/Nuke7.0v8.app/Contents/MacOS/plugins/init.py
0: STDOUT: Loading /Applications/Nuke7.0v8/Nuke7.0v8.app/Contents/MacOS/plugins/setenv.tcl
0: STDOUT: Loading /Applications/Nuke7.0v8/Nuke7.0v8.app/Contents/MacOS/plugins/Tracker3.dylib
0: STDOUT: Loading /Applications/Nuke7.0v8/Nuke7.0v8.app/Contents/MacOS/plugins/formats.tcl
0: STDOUT: Loading /ohufx/pipeline/tools/nuke/init.py
0: STDOUT: importing JobSystem
0: STDOUT: importing OhuIO
0: STDOUT: importing OhuMisc
0: STDOUT: importing OhuTabs
0: STDOUT: importing os
0: STDOUT: importing ShotGun
0: STDOUT: importing re
0: STDOUT: importing shutil
0: STDOUT: importing time
0: STDOUT: importing threading
0: STDOUT: /ohufx/pipeline/tools/python/shotgunPythonAPI
0: STDOUT: using Shotgun API 3.0.15.dev
0: STDOUT: Connecting to ohufx.shotgunstudio.com…. connected for reading
0: STDOUT: getting shotgun entity for zoya sh sh_02C
0: STDOUT: READING SHOT TREE FROM DISK…
0: STDOUT: Loading /ohufx/pipeline/tools/nuke/plugins/osx/7.0/init.py
0: STDOUT: Loading /ohufx/pipeline/tools/nuke/plugins/osx/7.0/J_Ops/init.py
0: STDOUT: Loading /ohufx/pipeline/tools/nuke/plugins/osx/7.0/escher1.0/init.py
0: STDOUT: Loading /ohufx/pipeline/tools/nuke/python/init.py
0: STDOUT: Loading /Users/frank/.nuke/init.py
0: STDOUT: Loading /Users/frank/Nukepedia/init.py
0: STDOUT: Loading /Users/frank/.nuke/plugins/init.py
0: STDOUT: Loading /Applications/Nuke7.0v8/Nuke7.0v8.app/Contents/MacOS/plugins/getenv.tcl
0: STDOUT: Loading /Applications/Nuke7.0v8/Nuke7.0v8.app/Contents/MacOS/plugins/tgaReader.tcl
0: STDOUT: Loading /Applications/Nuke7.0v8/Nuke7.0v8.app/Contents/MacOS/plugins/targaReader.dylib
0: STDOUT: Loading /Applications/Nuke7.0v8/Nuke7.0v8.app/Contents/MacOS/plugins/Crop.dylib
0: STDOUT: Loading /Applications/Nuke7.0v8/Nuke7.0v8.app/Contents/MacOS/plugins/exrReader.dylib
0: STDOUT: Loading /Applications/Nuke7.0v8/Nuke7.0v8.app/Contents/MacOS/plugins/Noise.dylib
0: STDOUT: Loading /Applications/Nuke7.0v8/Nuke7.0v8.app/Contents/MacOS/plugins/STMap.dylib
0: STDOUT: Loading /Applications/Nuke7.0v8/Nuke7.0v8.app/Contents/MacOS/plugins/Grade.dylib
0: STDOUT: Loading /Applications/Nuke7.0v8/Nuke7.0v8.app/Contents/MacOS/plugins/EdgeDetectWrapper.dylib
0: STDOUT: Loading /Applications/Nuke7.0v8/Nuke7.0v8.app/Contents/MacOS/plugins/EdgeDetect.dylib
0: STDOUT: Loading /Applications/Nuke7.0v8/Nuke7.0v8.app/Contents/MacOS/plugins/Erode.dylib
0: STDOUT: Loading /Applications/Nuke7.0v8/Nuke7.0v8.app/Contents/MacOS/plugins/ChannelMerge.dylib
0: STDOUT: Loading /Applications/Nuke7.0v8/Nuke7.0v8.app/Contents/MacOS/plugins/Merge2.dylib
0: STDOUT: Loading /Applications/Nuke7.0v8/Nuke7.0v8.app/Contents/MacOS/plugins/Reformat.dylib
0: STDOUT: Loading /Applications/Nuke7.0v8/Nuke7.0v8.app/Contents/MacOS/plugins/Flare.dylib
0: STDOUT: Loading /Applications/Nuke7.0v8/Nuke7.0v8.app/Contents/MacOS/plugins/Unpremult.tcl
0: STDOUT: Loading /Applications/Nuke7.0v8/Nuke7.0v8.app/Contents/MacOS/plugins/Premult.dylib
0: STDOUT: Loading /Applications/Nuke7.0v8/Nuke7.0v8.app/Contents/MacOS/plugins/ColorCorrect.dylib
0: STDOUT: Loading /Applications/Nuke7.0v8/Nuke7.0v8.app/Contents/MacOS/plugins/VectorBlur.dylib
0: STDOUT: Loading /Applications/Nuke7.0v8/Nuke7.0v8.app/Contents/MacOS/plugins/ZDefocus2.dylib
0: STDOUT: Loading /Applications/Nuke7.0v8/Nuke7.0v8.app/Contents/MacOS/plugins/CheckerBoard2.dylib
0: STDOUT: Loading /Applications/Nuke7.0v8/Nuke7.0v8.app/Contents/MacOS/plugins/IDistort.dylib
0: STDOUT: Loading /ohufx/pipeline/tools/nuke/gizmos/EdgeExtend.gizmo
0: STDOUT: Loading /Applications/Nuke7.0v8/Nuke7.0v8.app/Contents/MacOS/plugins/Copy.dylib
0: STDOUT: Loading /Applications/Nuke7.0v8/Nuke7.0v8.app/Contents/MacOS/plugins/Remove.dylib
0: STDOUT: Loading /Users/frank/Nukepedia/gizmos/ITransform.gizmo
0: STDOUT: Loading /Applications/Nuke7.0v8/Nuke7.0v8.app/Contents/MacOS/plugins/AdjBBox.dylib
0: STDOUT: Loading /Applications/Nuke7.0v8/Nuke7.0v8.app/Contents/MacOS/plugins/Transform.dylib
0: STDOUT: Loading /Applications/Nuke7.0v8/Nuke7.0v8.app/Contents/MacOS/plugins/EdgeBlur.dylib
0: STDOUT: Loading /Applications/Nuke7.0v8/Nuke7.0v8.app/Contents/MacOS/plugins/dpxReader.dylib
0: STDOUT: Loading /Applications/Nuke7.0v8/Nuke7.0v8.app/Contents/MacOS/plugins/Invert.dylib
0: STDOUT: Loading /Applications/Nuke7.0v8/Nuke7.0v8.app/Contents/MacOS/plugins/LightWrap.gizmo
0: STDOUT: Loading /Applications/Nuke7.0v8/Nuke7.0v8.app/Contents/MacOS/plugins/Constant.dylib
0: STDOUT: Loading /Applications/Nuke7.0v8/Nuke7.0v8.app/Contents/MacOS/plugins/Keyer.dylib
0: STDOUT: Loading /Applications/Nuke7.0v8/Nuke7.0v8.app/Contents/MacOS/plugins/Multiply.dylib
0: STDOUT: Loading /Applications/Nuke7.0v8/Nuke7.0v8.app/Contents/MacOS/plugins/Saturation.dylib
0: STDOUT: Loading /Applications/Nuke7.0v8/Nuke7.0v8.app/Contents/MacOS/plugins/CCorrect.dylib
0: STDOUT: Loading /Applications/Nuke7.0v8/Nuke7.0v8.app/Contents/MacOS/plugins/Convolve2.dylib
0: STDOUT: Loading /ohufx/pipeline/tools/nuke/gizmos/Aberration_jb.gizmo
0: STDOUT: Loading /Applications/Nuke7.0v8/Nuke7.0v8.app/Contents/MacOS/plugins/Radial.dylib
0: STDOUT: Loading /Applications/Nuke7.0v8/Nuke7.0v8.app/Contents/MacOS/plugins/Clamp.dylib
0: STDOUT: Loading /Applications/Nuke7.0v8/Nuke7.0v8.app/Contents/MacOS/plugins/FilterErode.dylib
0: STDOUT: Loading /Applications/Nuke7.0v8/Nuke7.0v8.app/Contents/MacOS/plugins/GodRays.dylib
0: STDOUT: Loading /Applications/Nuke7.0v8/Nuke7.0v8.app/Contents/MacOS/plugins/MotionBlur2D.dylib
0: STDOUT: Loading /Applications/Nuke7.0v8/Nuke7.0v8.app/Contents/MacOS/plugins/Sharpen.dylib
0: STDOUT: Loading /Applications/Nuke7.0v8/Nuke7.0v8.app/Contents/MacOS/plugins/Dissolve.dylib
0: STDOUT: Loading /Applications/Nuke7.0v8/Nuke7.0v8.app/Contents/MacOS/plugins/ContactSheet.dylib
0: STDOUT: Loading /Applications/Nuke7.0v8/Nuke7.0v8.app/Contents/MacOS/plugins/Tracker4.dylib
0: STDOUT: Loading /Applications/Nuke7.0v8/Nuke7.0v8.app/Contents/MacOS/plugins/AddChannels.dylib
0: STDOUT: Loading /Applications/Nuke7.0v8/Nuke7.0v8.app/Contents/MacOS/plugins/dpxWriter.dylib
0: STDOUT: Loading /Applications/Nuke7.0v8/Nuke7.0v8.app/Contents/MacOS/plugins/Glint.dylib
0: STDOUT: Loading /Applications/Nuke7.0v8/Nuke7.0v8.app/Contents/MacOS/plugins/LensDistortion.dylib
0: STDOUT: /var/folders/20/k35pqbgn25z36w2tq92mz1c00000z9/T/zoya_sh_02C_comp_v04_thread0.nk:
0: STDOUT: OpticalFlares: Unknown command
0: INFO: Process exit code: 1

=======================================================
Details

Date: 01/16/2014 10:06:25
Frames: 30-34
Elapsed Time: 00:00:00:05
Job Submit Date: 01/16/2014 10:04:43
Job User: frank
Average RAM Usage: 1579401672 (19%)
Peak RAM Usage: 1616736256 (19%)
Average CPU Usage: 12%
Peak CPU Usage: 20%

=======================================================
Slave Information

Slave Name: totoro
Version: v6.1.0.54343 R
Operating System: Mac OS X 10.7.5
Machine User: frank
IP Address: 192.168.55.12
MAC Address: 3c:07:54:3f:6d:fd
CPU Architecture: x86_64
CPUs: 8
CPU Usage: 12%
Memory Usage: 1.5 GB / 8.0 GB (18%)
Free Disk Space: 599.111 GB
Video Card: AMD Radeon HD 6770M

Thanks for confirming!

If you see the other problem again though where the plugin is installed but not licensed, send us the log and we’ll take a look.

Cheers,
Ryan

will do, thanks!

here we go. I installed the plugin for both osx and linux now and the license error prevents deadline from doing it’s job:

=======================================================
Error

Error in RenderTasks: Error in CheckExitCode: Renderer returned non-zero error code, 1. Check the log for more information.
at Deadline.Plugins.ScriptPlugin.RenderTasks (System.String taskId, Int32 startFrame, Int32 endFrame, System.String& outMessage, FranticX.Processes.AbortLevel& abortLevel) [0x00000] in :0

=======================================================
Type

RenderPluginException

=======================================================
Stack Trace

at Deadline.Plugins.Plugin.RenderTask (System.String taskId, Int32 startFrame, Int32 endFrame) [0x00000] in :0
at Deadline.Slaves.SlaveRenderThread.RenderCurrentTask (Deadline.IO.TaskLogWriter tlw) [0x00000] in :0

=======================================================
Full Log

0: Task timeout is disabled.
0: Loaded job: zoya_sh_03_comp_v04.nk (52d74f23e6e66b55289627eb)
0: INFO: Executing plugin script /Users/frank/Library/Application Support/Thinkbox/Deadline6/slave/totoro/plugins/52d74f23e6e66b55289627eb/Nuke.py
0: INFO: About: Nuke Plugin for Deadline
0: INFO: The current environment will be used for rendering
0: INFO: Executing job preload script /Users/frank/Library/Application Support/Thinkbox/Deadline6/slave/totoro/plugins/52d74f23e6e66b55289627eb/JobPreLoad.py
0: INFO: Scrubbing the LD and DYLD LIBRARY paths
0: INFO: Prepping OFX cache
0: INFO: Checking Nuke temp path: /var/tmp/nuke-u1001
0: INFO: Path already exists
0: INFO: OFX cache prepped
0: Plugin rendering frame(s): 235-239
0: INFO: Stdout Handling Enabled: True
0: INFO: Popup Handling Enabled: True
0: INFO: Using Process Tree: True
0: INFO: Hiding DOS Window: True
0: INFO: Creating New Console: False
0: INFO: Executable: “/Applications/Nuke7.0v8/Nuke7.0v8.app/Contents/MacOS/Nuke7.0v8”
0: INFO: Rendering with NukeX
0: INFO: Rendering write node(s) Write4
0: INFO: Using 2 threads for rendering
0: INFO: Argument: -V 2 --nukex -x -X “Write4” -m 2 -F 235-239 “/var/folders/20/k35pqbgn25z36w2tq92mz1c00000z9/T/zoya_sh_03_comp_v04_thread0.nk”
0: INFO: Startup Directory: “/Applications/Nuke7.0v8/Nuke7.0v8.app/Contents/MacOS”
0: INFO: Process Priority: BelowNormal
0: INFO: Process Affinity: default
0: INFO: Process is now running
0: STDOUT: NOTE : NukeX functionality is only available with an interactive license. If you wish to
0: STDOUT: use this, please specify ‘–nukex -i’ for an interactive license in terminal mode.
0: STDOUT: Nuke 7.0v8, 64 bit, built Jun 7 2013.
0: STDOUT: Copyright © 2013 The Foundry Visionmongers Ltd. All Rights Reserved.
0: STDOUT: Licence expires on: 2014/6/21
0: STDOUT: Loading /Applications/Nuke7.0v8/Nuke7.0v8.app/Contents/MacOS/plugins/init.tcl
0: STDOUT: Loading /Applications/Nuke7.0v8/Nuke7.0v8.app/Contents/MacOS/plugins/init.py
0: STDOUT: Loading /Applications/Nuke7.0v8/Nuke7.0v8.app/Contents/MacOS/plugins/setenv.tcl
0: STDOUT: Loading /Applications/Nuke7.0v8/Nuke7.0v8.app/Contents/MacOS/plugins/Tracker3.dylib
0: STDOUT: Loading /Applications/Nuke7.0v8/Nuke7.0v8.app/Contents/MacOS/plugins/formats.tcl
0: STDOUT: Loading /ohufx/pipeline/tools/nuke/init.py
0: STDOUT: importing JobSystem
0: STDOUT: importing OhuIO
0: STDOUT: importing OhuMisc
0: STDOUT: importing OhuTabs
0: STDOUT: importing os
0: STDOUT: importing ShotGun
0: STDOUT: importing re
0: STDOUT: importing shutil
0: STDOUT: importing time
0: STDOUT: importing threading
0: STDOUT: /ohufx/pipeline/tools/python/shotgunPythonAPI
0: STDOUT: using Shotgun API 3.0.15.dev
0: STDOUT: Connecting to ohufx.shotgunstudio.com…. connected for reading
0: STDOUT: getting shotgun entity for zoya sh sh_03
0: STDOUT: READING SHOT TREE FROM DISK…
0: STDOUT: Loading /ohufx/pipeline/tools/nuke/plugins/osx/7.0/init.py
0: STDOUT: Loading /ohufx/pipeline/tools/nuke/plugins/osx/7.0/J_Ops/init.py
0: STDOUT: Loading /ohufx/pipeline/tools/nuke/plugins/osx/7.0/escher1.0/init.py
0: STDOUT: Loading /ohufx/pipeline/tools/nuke/python/init.py
0: STDOUT: Loading /Users/frank/.nuke/init.py
0: STDOUT: Loading /Users/frank/Nukepedia/init.py
0: STDOUT: Loading /Users/frank/.nuke/plugins/init.py
0: STDOUT: Loading /Applications/Nuke7.0v8/Nuke7.0v8.app/Contents/MacOS/plugins/getenv.tcl
0: STDOUT: Loading /Applications/Nuke7.0v8/Nuke7.0v8.app/Contents/MacOS/plugins/exrReader.dylib
0: STDOUT: Loading /Applications/Nuke7.0v8/Nuke7.0v8.app/Contents/MacOS/plugins/Multiply.dylib
0: STDOUT: Loading /Applications/Nuke7.0v8/Nuke7.0v8.app/Contents/MacOS/plugins/tgaReader.tcl
0: STDOUT: Loading /Applications/Nuke7.0v8/Nuke7.0v8.app/Contents/MacOS/plugins/targaReader.dylib
0: STDOUT: Loading /Applications/Nuke7.0v8/Nuke7.0v8.app/Contents/MacOS/plugins/Erode.dylib
0: STDOUT: Loading /Applications/Nuke7.0v8/Nuke7.0v8.app/Contents/MacOS/plugins/Merge2.dylib
0: STDOUT: Loading /Applications/Nuke7.0v8/Nuke7.0v8.app/Contents/MacOS/plugins/Grade.dylib
0: STDOUT: Loading /Applications/Nuke7.0v8/Nuke7.0v8.app/Contents/MacOS/plugins/ZDefocus2.dylib
0: STDOUT: Loading /Applications/Nuke7.0v8/Nuke7.0v8.app/Contents/MacOS/plugins/jpgReader.tcl
0: STDOUT: Loading /Applications/Nuke7.0v8/Nuke7.0v8.app/Contents/MacOS/plugins/jpegReader.dylib
0: STDOUT: Loading /Applications/Nuke7.0v8/Nuke7.0v8.app/Contents/MacOS/plugins/Tracker4.dylib
0: STDOUT: Loading /Applications/Nuke7.0v8/Nuke7.0v8.app/Contents/MacOS/plugins/Crop.dylib
0: STDOUT: Loading /Applications/Nuke7.0v8/Nuke7.0v8.app/Contents/MacOS/plugins/ColorCorrect.dylib
0: STDOUT: Loading /Applications/Nuke7.0v8/Nuke7.0v8.app/Contents/MacOS/plugins/VectorBlur.dylib
0: STDOUT: Loading /ohufx/pipeline/tools/nuke/gizmos/EdgeExtend.gizmo
0: STDOUT: Loading /Applications/Nuke7.0v8/Nuke7.0v8.app/Contents/MacOS/plugins/Unpremult.tcl
0: STDOUT: Loading /Applications/Nuke7.0v8/Nuke7.0v8.app/Contents/MacOS/plugins/Premult.dylib
0: STDOUT: Loading /Applications/Nuke7.0v8/Nuke7.0v8.app/Contents/MacOS/plugins/Copy.dylib
0: STDOUT: Loading /Applications/Nuke7.0v8/Nuke7.0v8.app/Contents/MacOS/plugins/Remove.dylib
0: STDOUT: Loading /Applications/Nuke7.0v8/Nuke7.0v8.app/Contents/MacOS/plugins/Saturation.dylib
0: STDOUT: Loading /Applications/Nuke7.0v8/Nuke7.0v8.app/Contents/MacOS/plugins/HueCorrect.dylib
0: STDOUT: Loading /Applications/Nuke7.0v8/Nuke7.0v8.app/Contents/MacOS/plugins/dpxReader.dylib
0: STDOUT: Loading /Applications/Nuke7.0v8/Nuke7.0v8.app/Contents/MacOS/plugins/Transform.dylib
0: STDOUT: Loading /Applications/Nuke7.0v8/Nuke7.0v8.app/Contents/MacOS/plugins/Dissolve.dylib
0: STDOUT: Loading /Applications/Nuke7.0v8/Nuke7.0v8.app/Contents/MacOS/plugins/LightWrap.gizmo
0: STDOUT: Loading /Applications/Nuke7.0v8/Nuke7.0v8.app/Contents/MacOS/plugins/Constant.dylib
0: STDOUT: Loading /Applications/Nuke7.0v8/Nuke7.0v8.app/Contents/MacOS/plugins/Keyer.dylib
0: STDOUT: Loading /Applications/Nuke7.0v8/Nuke7.0v8.app/Contents/MacOS/plugins/CCorrect.dylib
0: STDOUT: Loading /Applications/Nuke7.0v8/Nuke7.0v8.app/Contents/MacOS/plugins/Radial.dylib
0: STDOUT: Loading /Applications/Nuke7.0v8/Nuke7.0v8.app/Contents/MacOS/plugins/LensDistortion.dylib
0: STDOUT: Loading /ohufx/pipeline/tools/nuke/gizmos/Aberration_jb.gizmo
0: STDOUT: Loading /Applications/Nuke7.0v8/Nuke7.0v8.app/Contents/MacOS/plugins/Invert.dylib
0: STDOUT: Loading /Applications/Nuke7.0v8/Nuke7.0v8.app/Contents/MacOS/plugins/Clamp.dylib
0: STDOUT: Loading /Applications/Nuke7.0v8/Nuke7.0v8.app/Contents/MacOS/plugins/FilterErode.dylib
0: STDOUT: Loading /Applications/Nuke7.0v8/Nuke7.0v8.app/Contents/MacOS/plugins/GodRays.dylib
0: STDOUT: Loading /Applications/Nuke7.0v8/Nuke7.0v8.app/Contents/MacOS/plugins/MotionBlur2D.dylib
0: STDOUT: Loading /Applications/Nuke7.0v8/Nuke7.0v8.app/Contents/MacOS/plugins/Sharpen.dylib
0: STDOUT: Loading /ohufx/pipeline/tools/nuke/gizmos/L_ExponBlur_v03.gizmo
0: STDOUT: Loading /Applications/Nuke7.0v8/Nuke7.0v8.app/Contents/MacOS/plugins/Reformat.dylib
0: STDOUT: Loading /Applications/Nuke7.0v8/Nuke7.0v8.app/Contents/MacOS/plugins/Flare.dylib
0: STDOUT: Loading /Applications/Nuke7.0v8/Nuke7.0v8.app/Contents/MacOS/plugins/Camera2.dylib
0: STDOUT: Loading /Applications/Nuke7.0v8/Nuke7.0v8.app/Contents/MacOS/plugins/MotionBlur3D.dylib
0: STDOUT: Loading /Applications/Nuke7.0v8/Nuke7.0v8.app/Contents/MacOS/plugins/AddChannels.dylib
0: STDOUT: Loading /Applications/Nuke7.0v8/Nuke7.0v8.app/Contents/MacOS/plugins/dpxWriter.dylib
0: STDOUT: Loading /Applications/Nuke7.0v8/Nuke7.0v8.app/Contents/MacOS/plugins/DepthToPoints.gizmo
0: STDOUT: Loading /Applications/Nuke7.0v8/Nuke7.0v8.app/Contents/MacOS/plugins/DepthToPosition.dylib
0: STDOUT: Loading /Applications/Nuke7.0v8/Nuke7.0v8.app/Contents/MacOS/plugins/PositionToPoints2.dylib
0: STDOUT: Loading /Applications/Nuke7.0v8/Nuke7.0v8.app/Contents/MacOS/plugins/Axis2.dylib
0: STDOUT: Loading /ohufx/pipeline/tools/nuke/gizmos/expoglow.gizmo
0: STDOUT: Loading /Applications/Nuke7.0v8/Nuke7.0v8.app/Contents/MacOS/plugins/Ramp.dylib
0: STDOUT: Loading /Applications/Nuke7.0v8/Nuke7.0v8.app/Contents/MacOS/plugins/Rectangle.dylib
0: STDOUT: Loading /Applications/Nuke7.0v8/Nuke7.0v8.app/Contents/MacOS/plugins/Gamma.dylib
0: STDOUT: Loading /Applications/Nuke7.0v8/Nuke7.0v8.app/Contents/MacOS/plugins/CopyBBox.dylib
0: STDOUT: Loading /Applications/Nuke7.0v8/Nuke7.0v8.app/Contents/MacOS/plugins/DirBlurWrapper.dylib
0: STDOUT: Loading /Applications/Nuke7.0v8/Nuke7.0v8.app/Contents/MacOS/plugins/DirBlur.dylib
0: STDOUT: Loading /Applications/Nuke7.0v8/Nuke7.0v8.app/Contents/MacOS/plugins/Convolve2.dylib
0: STDOUT: Loading /Applications/Nuke7.0v8/Nuke7.0v8.app/Contents/MacOS/plugins/Glint.dylib
0: STDOUT: Loading /Applications/Nuke7.0v8/Nuke7.0v8.app/Contents/MacOS/plugins/Glow2.dylib
0: STDOUT: Loading /Applications/Nuke7.0v8/Nuke7.0v8.app/Contents/MacOS/plugins/ChannelMerge.dylib
0: STDOUT: Loading /Applications/Nuke7.0v8/Nuke7.0v8.app/Contents/MacOS/plugins/Scene.tcl
0: STDOUT: Loading /Applications/Nuke7.0v8/Nuke7.0v8.app/Contents/MacOS/plugins/MergeGeo.dylib
0: STDOUT: Loading /ohufx/pipeline/tools/nuke/plugins/osx/7.0/OpticalFlares/OpticalFlares.dylib
0: STDOUT: Optical Flares No License found (LICENSE PATH: /Library/Application Support/Optical Flares)
0: STDOUT: Optical Flares No License found (LICENSE PATH: /Library/Application Support/Optical Flares)
0: STDOUT: Loading /Applications/Nuke7.0v8/Nuke7.0v8.app/Contents/MacOS/plugins/exrWriter.dylib
0: STDOUT: /var/folders/20/k35pqbgn25z36w2tq92mz1c00000z9/T/zoya_sh_03_comp_v04_thread0.nk:
0: STDOUT: Constructor for OpticalFlares failed
0: STDOUT: Constructor for OpticalFlares failed
0: INFO: Process exit code: 1

Actually, Deadline is still just the messenger here. Nuke is exiting before it saves any output (according to the log), and it exits with a non-zero return code which indicates there was an error. Deadline isn’t killing the render like we thought it was.

Go to the same machine that reported this error, copy the nuke script you’re trying to render to it, and then open a terminal and run this command:

"/Applications/Nuke7.0v8/Nuke7.0v8.app/Contents/MacOS/Nuke7.0v8" -V 2 --nukex -x -X "Write4" -m 2 -F 235-239 "/path/to/zoya_sh_03_comp_v04.nk"

Note that you’ll need to update the path to zoya_sh_03_comp_v04 as necessary in the command. If this actually renders, send us the log from the terminal window and we’ll compare it to the Deadline log.

Thanks!
Ryan

Ideally the OpticalFlares node wouldn’t do a lot of things that it does. :stuck_out_tongue: We however do have it installed without it crashing even on unlicensed render nodes. We have our license files in the plugin folder on our network (in your equivalent: /ohufx/pipeline/tools/nuke/plugins/osx/7.0/OpticalFlares/) In that folder we have a folder .\Licenses\ and a file OpticalFlaresLicense_COMPUTERNAME.lic for each computer that we have licensed. If you move your licenses from your local system to the network maybe it won’t crash out?

I put together a simple test nuke script that mimics my setup:
One Write node rendering the comp, the output of which is read back into a Read node, followed by OpticalFlares and a second Write node which is disabled.

Manually running the script on the host without a license renders fine, Deadline bails. Both logs and the nuke script attached.

Cheers,
frank

P.S.: Gavin, I have not yet tried your suggestion.
renderError_unlicensedOpticalFlares_Nuke.zip (12 KB)

I noticed that the command line options you are using for the manual test are different from the ones that Deadline is using.

Manual command:

-V 2 --nukex -x -X "Write1" -m 2 -F 1-100 /path/to/deadlineTest.nk

Deadline:

-V 2 --nukex -x -m 4 -F 6-10 "/path/to/deadlineTest.nk"

In the manual command, you are telling Nuke to only render “Write1”, whereas the Deadline job would be rendering all write nodes. Again, Deadline is just being the messenger here, since Nuke is exiting with exit code 1 before attempting to do any actual rendering.

What happens if you use the same command line arguments that Deadline is using when doing your manual test?

Also, what happens if you submit the job to Deadline with the option to submit each write node as a separate job?

Cheers,
Ryan

Oops, my apologies.
this is it running the whole script rather than just one node. It does throw the OF error but then renders fine:

/Applications/Nuke7.0v8/Nuke7.0v8.app/Contents/MacOS/Nuke7.0v8 -V 2 --nukex -x -m 2 -F 1-3 /ohufx/shows/zoya/shots/sh/sh_03/work/nuke/frank/deadlineTest.nk
NOTE : NukeX functionality is only available with an interactive license. If you wish to
use this, please specify ‘–nukex -i’ for an interactive license in terminal mode.
Nuke 7.0v8, 64 bit, built Jun 7 2013.
Copyright © 2013 The Foundry Visionmongers Ltd. All Rights Reserved.
Licence expires on: 2014/6/21
Loading /Applications/Nuke7.0v8/Nuke7.0v8.app/Contents/MacOS/plugins/init.tcl
Loading /Applications/Nuke7.0v8/Nuke7.0v8.app/Contents/MacOS/plugins/init.py
Loading /Applications/Nuke7.0v8/Nuke7.0v8.app/Contents/MacOS/plugins/setenv.tcl
Loading /Applications/Nuke7.0v8/Nuke7.0v8.app/Contents/MacOS/plugins/Tracker3.dylib
Loading /Applications/Nuke7.0v8/Nuke7.0v8.app/Contents/MacOS/plugins/formats.tcl
Loading /Applications/Nuke7.0v8/Nuke7.0v8.app/Contents/MacOS/plugins/getenv.tcl
[15:56.03] Warning: Autosave file for /ohufx/shows/zoya/shots/sh/sh_03/work/nuke/frank/deadlineTest.nk is newer
Loading /Applications/Nuke7.0v8/Nuke7.0v8.app/Contents/MacOS/plugins/dpxReader.dylib
Loading /Applications/Nuke7.0v8/Nuke7.0v8.app/Contents/MacOS/plugins/dpxWriter.dylib
Loading /Applications/Nuke7.0v8/Nuke7.0v8.app/Contents/MacOS/plugins/ColorWheel.dylib
Loading /Applications/Nuke7.0v8/Nuke7.0v8.app/Contents/MacOS/plugins/exrReader.dylib
[15:56:03 NZDT] Read nuke script: /ohufx/shows/zoya/shots/sh/sh_03/work/nuke/frank/deadlineTest.nk

[15:56.03] ERROR: OpticalFlares1: ‘OpticalFlares’: unknown command. This is most likely from a corrupt .nk file, or from a missing or unlicensed plug-in. Can’t render from that Node.
Writing /ohufx/shows/zoya/shots/sh/sh_03/render/2d/test/deadlineTest.0001.dpx
Writing /ohufx/shows/zoya/shots/sh/sh_03/render/2d/test/deadlineTest.0001.dpx took 0.25 seconds
Frame 1 (1 of 3)

Writing /ohufx/shows/zoya/shots/sh/sh_03/render/2d/test/deadlineTest.0002.dpx
Writing /ohufx/shows/zoya/shots/sh/sh_03/render/2d/test/deadlineTest.0002.dpx took 0.13 seconds
Frame 2 (2 of 3)

Writing /ohufx/shows/zoya/shots/sh/sh_03/render/2d/test/deadlineTest.0003.dpx
Writing /ohufx/shows/zoya/shots/sh/sh_03/render/2d/test/deadlineTest.0003.dpx took 0.13 seconds
Frame 3 (3 of 3)

Total render time: 0.51 seconds
Allocated 36.5MiB, 0% of usage limit of 8GiB, sbrk = 4.26GiB.
free_*() calls: 0, new_handler() cleanups: 0.

Total private writable resident mapped memory: 54M
Total mapped buffer memory (approx): 32M
Memory efficiency: 100%
Estimated fragmentation: 0M
Average loss rate: 0.0000

Node: ColorWheel1

ColorWheel
total usage: 38.2MB
user data:
cacheRegion 2048x1556
channels rgb
usage 100%
weight 0x3c

Total Memory Usage: 38.2MB
hobbes:~ admin$

Thanks! This explains why Deadline is failing the job, because it uses a stdout handler to match any lines that start with ERROR: and fail the render.

If you would like to tweak the Nuke plugin to ignore this error, there are 2 ways you can do it. Go to \your\repository\plugins\Nuke and open Nuke.py in a text editor.

  1. Option 1 is to simply ignore all ERROR: lines. This can be done by commenting out this line:
self.AddStdoutHandlerCallback( ".*ERROR:.*" ).HandleCallback += self.HandleError

The problem with this approach is that it will ignore any other ERROR: lines that might be printed out in the future.

  1. Option 2 is to add code to the HandleError function to not fail the render if it sees ERROR: lines that contain “OpticalFlares”. Find the HandleError function and change it to this:
    def HandleError( self ):
        errorMessage = self.GetRegexMatch( 0 )
        if( errorMessage.find( "OpticalFlares" ) == -1 ):
            self.deadlinePlugin.FailRender( errorMessage )

I would recommend this option, since it’s a bit more specific, but if you get legitimate OpticalFlares ERROR: messages during rendering, those will be ignored too.

Cheers,
Ryan

thanks Ryan. I guess ideally the OpticalFlares guys would change their output to not start with “ERROR”.
If I change the Nuke plugin, that will be undone with the next Deadline update, right?! So I will need to back it up and re-apply the changes next time?

Cheers,
frank

Unfortunately, that’s the case.

ok, thanks. I will do that and try and get the OF guys to update their plugin to not use “ERROR” in stdout when the node isn’t actually requested by the output

FYI - on a completely separate forum, I noticed this post about Optical Flares on Linux this morning:

interesting, thanks. I did send them a mail but haven’t heard back yet.

Hello all,

I know this thread is super old but I’m running into OF issues running on our Linux farm as well. The scenes are created in Windows but submitted via Deadline to our Linux farm.

Upon submission to Deadline I have the interactive job environment inherited with the submitted Deadline Job but I have the paths modified upon submission time to work with UNC paths on our Linux render nodes.

Optical Flares do work interactively on Windows and the plugins are accessible globally for all platforms on our file server.

####################################

In Deadline, my Job Properties environment looks like what you see below:

NUKE_PATH: /Volumes/Animation/pipeline/app_config/release/extensions/global/nuke : /Volumes/Animation/pipeline/app_config/release/extensions/projects/sgtk/dubaiEnha/install/app_store/tk-nuke-writenode/v1.4.2/gizmos
OPTICAL_FLARES_PATH: /Volumes/Animation/pipeline/app_config/release/extensions/global/nuke/versions/11.x_v000/nuke_plugins/OpticalFlares/render/Textures-And-Presets
OPTICAL_FLARES_LICENSE_PATH: /Volumes/Animation/pipeline/app_config/release/extensions/global/nuke/versions/11.x_v000/nuke_plugins/OpticalFlares/render/license
OPTICAL_FLARES_NO_GPU: true
OPTICAL_FLARES_VERBOSE_CONSOLE: true

####################################

The errors I get in Deadline are:

Error: [15:42.18] ERROR: OpticalFlares1: ‘OpticalFlares’: unknown command. This is most likely from a corrupt .nk file, or from a missing or unlicensed plug-in. Can’t render from that Node.
2019-09-05 15:42:19: 0: STDOUT: [15:42.18] ERROR: OpticalFlares1: ‘OpticalFlares’: unknown command. This is most likely from a corrupt .nk file, or from a missing or unlicensed plug-in. Can’t render from that Node.

####################################

This is a bit of the plugin structure from the path(s) mentioned above:

/Volumes/Animation/pipeline/app_config/release/extensions/global/nuke/versions/11.x_v000/nuke_plugins/OpticalFlares/render/

./init.py
./license
./license/OpticalFlaresLicense.lic
./menu.py
./OpticalFlares.png
./plugin
./plugin/Linux
./plugin/Linux/OpticalFlares.so
./plugin/Mac
./plugin/Mac/OpticalFlares.dylib
./plugin/Windows
./plugin/Windows/OpticalFlares.dll

####################################

I have modified the OPTICAL_FLARES_PATH env to the following but still get the same errors

OPTICAL_FLARES_PATH: /Volumes/Animation/pipeline/app_config/release/extensions/global/nuke/versions/11.x_v000/nuke_plugins/OpticalFlares/render/
OPTICAL_FLARES_PATH: /Volumes/Animation/pipeline/app_config/release/extensions/global/nuke/versions/11.x_v000/nuke_plugins/OpticalFlares/render/plugin
OPTICAL_FLARES_PATH: /Volumes/Animation/pipeline/app_config/release/extensions/global/nuke/versions/11.x_v000/nuke_plugins/OpticalFlares/render/plugin/Linux

####################################

Again, this works interactively and I’m inheriting the interative environment but modifying the paths upon submission time to work with UNC paths on our Linux render nodes.

I’ve also reached out to the VideoCoPilot dev team and they can’t figure it out. :-/

Thanks in advance for any help you can offer!

Best,

Dan

Privacy | Site terms | Cookie preferences