AWS Thinkbox Discussion Forums

Nuke python error

I’m getting an error that prevents Nuke from running on my Linux nodes. It might be similar to this thread: viewtopic.php?f=156&t=10278&p=44518&hilit=nuke#p44518 but I’m running on beta 6 and still getting the problem. It looks like an issue with mismatching Python versions, but my knowledge of Python pathing isn’t good enough to sort out a fix myself.

Here’s an the error dump from the monitor:

=======================================================
Error
=======================================================
Error in RenderTasks: ImportError: /opt/Thinkbox/Deadline6/bin/python/lib/python2.6/lib-dynload/operator.so: undefined symbol: _PyUnicodeUCS2_AsDefaultEncodedString
  at Deadline.Plugins.ScriptPlugin.RenderTasks (System.String taskId, Int32 startFrame, Int32 endFrame, System.String& outMessage, FranticX.Processes.AbortLevel& abortLevel) [0x00000] in <filename unknown>:0 

=======================================================
Type
=======================================================
RenderPluginException

=======================================================
Stack Trace
=======================================================
  at Deadline.Plugins.Plugin.RenderTask (System.String taskId, Int32 startFrame, Int32 endFrame) [0x00000] in <filename unknown>:0 
  at Deadline.Slaves.SlaveRenderThread.a (Deadline.IO.TaskLogWriter A_0) [0x00000] in <filename unknown>:0 

=======================================================
Full Log
=======================================================
0: Task timeout is disabled.
0: Loaded job: test.nk (524c9d5d34c75dfb88d59ade)
0: INFO: Executing plugin script /home/node/Thinkbox/Deadline6/slave/node2/plugins/524c9d5d34c75dfb88d59ade/Nuke.py
0: INFO: About: Nuke Plugin for Deadline
0: INFO: The current environment will be used for rendering
0: INFO: Scrubbing the LD and DYLD LIBRARY paths
0: INFO: Prepping OFX cache
0: INFO: Checking Nuke temp path: /var/tmp/nuke-u1002
0: INFO: Path does not exist, creating it...
0: INFO: Path now exists
0: INFO: OFX cache prepped
0: Plugin rendering frame(s): 1-10
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: Render Executable: "/usr/local/Nuke7.0v6/Nuke7.0"
0: INFO: This slave is in the interactive license list - an interactive license will be used instead of a render license
0: INFO: Render Argument: -V -i -x -F 1-10 "/tmp/test_thread0.nk"
0: INFO: Startup Directory: "/usr/local/Nuke7.0v6"
0: INFO: Process Priority: BelowNormal
0: INFO: Process Affinity: default
0: INFO: Process is now running
0: STDOUT: Nuke 7.0v6, 64 bit, built Apr  4 2013.
0: STDOUT: Copyright (c) 2013 The Foundry Visionmongers Ltd.  All Rights Reserved.
0: STDOUT: Loading /usr/local/Nuke7.0v6/plugins/init.tcl
0: STDOUT: Loading /usr/local/Nuke7.0v6/plugins/init.py
0: STDOUT: Traceback (most recent call last):
0: STDOUT:   File "/usr/local/Nuke7.0v6/plugins/init.py", line 10, in <module>
0: STDOUT:     import nuke
0: STDOUT:   File "/usr/local/Nuke7.0v6/plugins/nuke/__init__.py", line 26, in <module>
0: STDOUT:     from executeInMain import *
0: STDOUT:   File "/usr/local/Nuke7.0v6/plugins/nuke/executeInMain.py", line 4, in <module>
0: STDOUT:     import threading
0: STDOUT:   File "/opt/Thinkbox/Deadline6/bin/python/lib/python2.6/threading.py", line 16, in <module>
0: STDOUT:     from collections import deque
0: STDOUT:   File "/opt/Thinkbox/Deadline6/bin/python/lib/python2.6/collections.py", line 9, in <module>
0: STDOUT:     from operator import itemgetter as _itemgetter
0: STDOUT: ImportError: /opt/Thinkbox/Deadline6/bin/python/lib/python2.6/lib-dynload/operator.so: undefined symbol: _PyUnicodeUCS2_AsDefaultEncodedString
0: STDOUT: /usr/local/Nuke7.0v6/plugins/init.py : error interpreting this plugin


=======================================================
Details
=======================================================
Date: 10/03/2013 11:00:59
Frames: 1-10
Elapsed Time: 00:00:00:07
Job Submit Date: 10/02/2013 17:22:49
Job User: Eric
Average RAM Usage: 343937024 (3%)
Peak RAM Usage: 353927168 (3%)
Average CPU Usage: 8%
Peak CPU Usage: 12%
Slave Name: node2
Slave Version: v6.1.0.52823 R

Any advice?

thanks

  • Eric

Hi Eric,

I can reproduce this here, and I’m looking into it!

Cheers,

  • Ryan

Hi Eric,

We’ve fixed the problem internally, and the fix will be included in beta 7, which should be released either Monday or Tuesday next week.

Cheers,

  • Ryan

Thanks for looking into it Ryan, looking forward to the latest beta. Overall, great work on this update!

  • Eric
Privacy | Site terms | Cookie preferences