Nuke5.1v5 problem

I’m trying out Deadline. But I’m getting some license error on my machine?

This is the log:

LICENSE-FREE MODE: Repository has less than two slaves - no license required.
Scheduler Thread - Plugin loaded in 0.03 seconds.
LICENSE-FREE MODE: Repository has less than two slaves - no license required.
Constructor: Nuke
0: Task timeout is disabled.
0: Loaded job: Logo_v01.nk (999_050_999_436ff3ff)
0: INFO: StartJob: initializing script plugin Nuke
0: INFO: Handling stdout that matches regex “.ERROR:.
0: INFO: Handling stdout that matches regex “.* seconds to execute”
0: INFO: About: Nuke Plugin for Deadline
0: Plugin rendering frame(s): 1
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: Render Executable: “C:\Program Files (x86)\Nuke5.1v5\Nuke5.1.exe”
0: INFO: Render Argument: -V -x “C:\Documents and Settings\Richard.blank\Local Settings\Temp\Logo_v01.nk” 1,1
0: INFO: Startup Directory: “C:\Program Files (x86)\Nuke5.1v5”
0: INFO: Process Priority: BelowNormal
0: INFO: Process is now running
0: STDOUT: Nuke 5.1v5, 32 bit, built Apr 17 2009.
0: STDOUT: Copyright (C) 2008 The Foundry Visionmongers Ltd. All Rights Reserved.
0: STDOUT: Timestamp: Wed May 13 11:46:37 2009
0: STDOUT: License Requested: nuke 2009.0417 render only
0: STDOUT: Host ID: 00e081b13f2e
0: STDOUT:
0: STDOUT: License failure:
0: STDOUT: License file does not support this version.
0: STDOUT: Feature: nuke_r
0: STDOUT: Application version > License version: 2009.0417 > 2008.0905
0: STDOUT: License path: C:\Program Files (x86)\Nuke5.1v5\nuke.lic;C:\Program -
0: STDOUT: Files (x86)\Nuke5.1v3\nuke.lic;C:\Program Files (x86)\Nuke5.1v2\nuke.lic;
0: STDOUT: C:/Program Files (x86)/Nuke5.0v2;C:\Program Files (x86)\The Foundry -
0: STDOUT: \FLEXlm\foundry.lic
0: STDOUT: FLEXnet Licensing error:-21,126
0: STDOUT: For further information, refer to the FLEXnet Licensing End User Guide,
0: STDOUT: available at “www.macrovision.com”.
0: STDOUT:
0: INFO: Process exit code: 100
Scheduler Thread - Render Thread 0 threw an error:
Scheduler Thread - Exception during render: An error occurred in RenderTasks(): Error in CheckExitCode(): Renderer returned non-zero error code, 100 (FranticX.Processes.ManagedProcessAbort) (Deadline.Plugins.RenderPluginException)

at Deadline.Plugins.ScriptPlugin.RenderTasks(Int32 startFrame, Int32 endFrame, String& outMessage)

Exception Details

RenderPluginException – Exception during render: An error occurred in RenderTasks(): Error in CheckExitCode(): Renderer returned non-zero error code, 100 (FranticX.Processes.ManagedProcessAbort) (Deadline.Plugins.RenderPluginException)

at Deadline.Plugins.ScriptPlugin.RenderTasks(Int32 startFrame, Int32 endFrame, String& outMessage)

RenderPluginException.Cause: JobError (2)

Exception.Data: ( )

Exception.TargetSite: Void RenderTask(Int32, Int32)

Exception.Source: deadline

Exception.StackTrace:

at Deadline.Plugins.Plugin.RenderTask(Int32 startFrame, Int32 endFrame)

at Deadline.Slaves.SlaveRenderThread.RenderCurrentTask()

<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<
LICENSE-FREE MODE: Repository has less than two slaves - no license required.
---- May 13 2009 – 11:47 AM ----
LICENSE-FREE MODE: Repository has less than two slaves - no license required.

I have a valid license for this version of Nuke, so what can be the problem??

By default, Nuke uses render licenses when rendering from the command line, which is why Nuke is looking for “nuke_r” licenses (see the error message). If you only have a “nuke_i” interactive license, that would explain why you’re getting the error.

There is a Nuke command line option, “-i”, that will force Nuke to use an interactive license instead, so you could modify the Nuke plugin to pass this option to Nuke. Open the file \your\repository\plugins\Nuke\Nuke.py in a text editor and find this line:

renderarguments = "-V -x"

Change it to this and save the file:

renderarguments = "-V -i -x"

We don’t do this by default because we’re not sure if Nuke will fall back to using render licenses if no interactive licenses are available. This is from the Nuke command line usage:

Cheers,

  • Ryan