AWS Thinkbox Discussion Forums

Deadline6 beta11 Draft RHEL6.2&Macosx10.7.4 problem

i try deadline6_beta11 for rhel6.2-linux ,but run draft of python have problem,why?

[code]Scheduler Thread - Synchronizing job files
Scheduler Thread - Synchronization time for job files: 7.511 ms
Scheduler Thread - Synchronizing plugin files
Scheduler Thread - Synchronization time for plugin files: 13.522 ms
Constructor: Draft
0: Task timeout is disabled.
0: Loaded job: test_nuke [DRAFT] (510e251f4d34c90bb3831cb4)
0: INFO: Executing plugin script /root/Thinkbox/Deadline6/slave/FF-LNX01/plugins/Draft.py
THE ERROR IS: Python.Runtime.PythonException: ImportError : No module named _md5
[’ File “none”, line 9, in \n’, ’ File “/opt/Thinkbox/Deadline6/bin/python/lib/python2.6/hashlib.py”, line 136, in \n md5 = __get_builtin_constructor(‘md5’)\n’, ’ File “/opt/Thinkbox/Deadline6/bin/python/lib/python2.6/hashlib.py”, line 63, in __get_builtin_constructor\n import _md5\n’]
Scheduler Thread - Render Thread 0 threw a major error:

Exception Details
RenderPluginException – Error in StartJob: plugin script “/root/Thinkbox/Deadline6/slave/FF-LNX01/plugins/Draft.py”: Python Exception: ImportError : No module named _md5 (Python.Runtime.PythonException)
Type: <type ‘exceptions.ImportError’>
Value: No module named _md5
Stack Trace:
[’ File “none”, line 9, in \n’, ’ File “/opt/Thinkbox/Deadline6/bin/python/lib/python2.6/hashlib.py”, line 136, in \n md5 = __get_builtin_constructor(‘md5’)\n’, ’ File “/opt/Thinkbox/Deadline6/bin/python/lib/python2.6/hashlib.py”, line 63, in __get_builtin_constructor\n import _md5\n’]
(System.Exception)
at FranticX.Scripting.PythonNetScriptEngine.a (System.Exception A_0) [0x00000] in :0
at FranticX.Scripting.PythonNetScriptEngine.ExecuteScript (System.String scriptName, System.String script) [0x00000] in :0
at FranticX.Scripting.PythonNetScriptEngine.ExecuteFile (System.String scriptFile) [0x00000] in :0
at Deadline.Scripting.DeadlineScriptEngine.ExecuteFile (System.String scriptFile) [0x00000] in :0
at Deadline.Scripting.DeadlineScriptManager.CreateScopeFromFile (System.String scopeName, System.String scriptFile, Boolean addGlobalFunctions, Boolean redirectToScriptManagerListener) [0x00000] in :0
at Deadline.Plugins.ScriptPlugin.a (System.String A_0, System.String A_1, System.String A_2) [0x00000] in :0
at Deadline.Plugins.ScriptPlugin.a (System.String A_0, System.String A_1, System.String A_2) [0x00000] in :0
at Deadline.Plugins.ScriptPlugin.b (Deadline.Jobs.Job A_0) [0x00000] in :0
at Deadline.Plugins.ScriptPlugin.StartJob (Deadline.Jobs.Job job, System.String& outMessage, FranticX.Processes.AbortLevel& abortLevel) [0x00000] in :0
RenderPluginException.Cause: JobError (2)
RenderPluginException.Level: Major (1)
RenderPluginException.HasSlaveLog: True
Exception.Source: deadline
Exception.TargetSite: Void StartJob(Deadline.Jobs.Job)
Exception.Data: ( )
Exception.StackTrace:
at Deadline.Plugins.Plugin.StartJob (Deadline.Jobs.Job job) [0x00000] in :0
at Deadline.Slaves.SlaveRenderThread.a (Deadline.IO.TaskLogWriter A_0) [0x00000] in :0
[/code]

macosx also python prolem!

[code]=======================================================
Error

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

=======================================================
Log

0: Task timeout is disabled.
0: Loaded job: test_nuke_mjpg_linux [DRAFT] (510e266d488b2e2315fa4515)
0: INFO: Executing plugin script /Users/clong/Library/Application Support/Thinkbox/Deadline6/slave/FF-MAC/plugins/Draft.py
0: WARNING: InitializeProcessEvent is deprecated, use InitializeProcessCallback instead
0: INFO: Found Draft python module at: ‘/Users/clong/Library/Application Support/Thinkbox/Deadline6/slave/FF-MAC/Draft/Draft.so’
0: INFO: About: Draft Plugin for Deadline
0: INFO: The current environment will be used for rendering
0: Plugin rendering frame(s): 0
0: WARNING: PreRenderTasksEvent is deprecated, use PreRenderTasksCallback instead
0: INFO: Draft job starting…
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: WARNING: RenderExecutableEvent is deprecated, use RenderExecutableCallback instead
0: INFO: Looking for bundled python at: ‘/Applications/Thinkbox/Deadline6/Resources/dpython’
0: INFO: Render Executable: “/Applications/Thinkbox/Deadline6/Resources/dpython”
0: WARNING: RenderArgumentEvent is deprecated, use RenderArgumentCallback instead
0: INFO: Render Argument: -u “/Volumes/NetTemp/test/Deadline/Draft/Encode/encode_to_MOV_MJPEG_1080p.py” username=“clong” entity=“test_nuke” version="" inFile="/Volumes/NetTemp/test/Deadline/Nuke/Output/test_####.jpg" outFolder="/Volumes/NetTemp/test/Deadline/Nuke/Output/Draft" outFile="/Volumes/NetTemp/test/Deadline/Nuke/Output/Draft/Mjpg_linux.mov" startFrame=1 endFrame=52 frameList=“1-52” deadlineJobID=510da91b488b2e26e0f2fa1b deadlineRepository="/Volumes/DeadlineRepository6"
0: WARNING: StartupDirectoryEvent is deprecated, use StartupDirectoryCallback instead
0: INFO: Startup Directory: “/Users/clong/Library/Application Support/Thinkbox/Deadline6/slave/FF-MAC/Draft”
0: INFO: Process Priority: BelowNormal
0: INFO: Process Affinity: default
0: INFO: Process is now running
0: STDOUT: dpython: execv: /Users/administrator/Desktop/Deadline/dist/Resources/bin/Frameworks//Python.framework/Versions/2.6/Resources/Python.app/Contents/MacOS/Python: No such file or directory
0: INFO: Process exit code: 1

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

RenderPluginException

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

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

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

Date: 2013/02/03 09:47:15
Frames: 0
Elapsed Time: 00:00:00:00
Slave Name: FF-MAC[/code]

RHEL6.2 mayabatch: Error in RenderExecutable: File “Render” does not exist. (System.IO.FileNotFoundException)

[code]0: INFO: Creating New Console: False
0: INFO: Enforcing 64 bit build of Maya
Scheduler Thread - Render Thread 0 threw a major error:

Exception Details
RenderPluginException – Error in StartJob: Error in RenderExecutable: File “Render” does not exist. (System.IO.FileNotFoundException)
at FranticX.IO.File2.Is64BitDllOrExe (System.String filename) [0x00000] in :0
at FranticX.IO.File2.SearchFileListFor64Bit (System.String[] list) [0x00000] in :0
at FranticX.IO.File2.SearchFileListFor64Bit (System.String semicolonSeparatedList) [0x00000] in :0
at Deadline.Scripting.FileUtils.SearchFileListFor64Bit (System.String fileList) [0x00000] in :0
at (wrapper managed-to-native) System.Reflection.MonoMethod:InternalInvoke (System.Reflection.MonoMethod,object,object[],System.Exception&)
at System.Reflection.MonoMethod.Invoke (System.Object obj, BindingFlags invokeAttr, System.Reflection.Binder binder, System.Object[] parameters, System.Globalization.CultureInfo culture) [0x00000] in :0
at Deadline.Plugins.ScriptPlugin.StartJob (Deadline.Jobs.Job job, System.String& outMessage, FranticX.Processes.AbortLevel& abortLevel) [0x00000] in :0
RenderPluginException.Cause: JobError (2)
RenderPluginException.Level: Major (1)
RenderPluginException.HasSlaveLog: True
Exception.Source: deadline
Exception.TargetSite: Void StartJob(Deadline.Jobs.Job)
Exception.Data: ( )
Exception.StackTrace:
at Deadline.Plugins.Plugin.StartJob (Deadline.Jobs.Job job) [0x00000] in :0
at Deadline.Slaves.SlaveRenderThread.a (Deadline.IO.TaskLogWriter A_0) [0x00000] in :0

<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<
[/code]

macosx 10.7.4 :Error in StartJob: Error in RenderExecutable: File “Render” does not exist. (System.IO.FileNotFoundException)

[code]=======================================================
Error

Error in StartJob: Error in RenderExecutable: File “Render” does not exist. (System.IO.FileNotFoundException)
at FranticX.IO.File2.Is64BitDllOrExe (System.String filename) [0x00000] in :0
at FranticX.IO.File2.SearchFileListFor64Bit (System.String[] list) [0x00000] in :0
at FranticX.IO.File2.SearchFileListFor64Bit (System.String semicolonSeparatedList) [0x00000] in :0
at Deadline.Scripting.FileUtils.SearchFileListFor64Bit (System.String fileList) [0x00000] in :0
at (wrapper managed-to-native) System.Reflection.MonoMethod:InternalInvoke (System.Reflection.MonoMethod,object,object[],System.Exception&)
at System.Reflection.MonoMethod.Invoke (System.Object obj, BindingFlags invokeAttr, System.Reflection.Binder binder, System.Object[] parameters, System.Globalization.CultureInfo culture) [0x00000] in :0
at Deadline.Plugins.ScriptPlugin.StartJob (Deadline.Jobs.Job job, System.String& outMessage, FranticX.Processes.AbortLevel& abortLevel) [0x00000] in :0

=======================================================
Log

0: Task timeout is disabled.
0: Loaded job: Untitled (510dea84bd488644cce1d229)
0: INFO: Executing plugin script /Users/clong/Library/Application Support/Thinkbox/Deadline6/slave/FF-MAC/plugins/MayaBatch.py
0: INFO: About: Maya Batch Plugin for Deadline
0: INFO: The current environment will be used for rendering
0: INFO: Rendering with Maya version 2012.0
0: INFO: Starting monitored managed process MayaBatch
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: Enforcing 64 bit build of Maya

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

RenderPluginException

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

at Deadline.Plugins.Plugin.StartJob (Deadline.Jobs.Job job) [0x00000] in :0
at Deadline.Slaves.SlaveRenderThread.a (Deadline.IO.TaskLogWriter A_0) [0x00000] in :0

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

Date: 2013/02/03 14:22:58
Frames: 8
Elapsed Time: 00:00:00:00
Slave Name: FF-MAC[/code]

We have seen this error on Linux machines in the past, and it usually stems from our bundled python2.6 distribution trying to link against a specific version of the openssl libraries. My guess is that it’s looking for libssl.so.0.9.8, and libcrypto.so.0.9.8 (which are needed for the md5 module). We were able to fix this in the past by adding symlinks with these names to /usr/lib, pointing to the newer libraries that were actually on the system.

Looks like there’s a bug here with the dpython simlink. We’ll look into it.

For the other 2 errors, can you send us the MayaBatch.dlinit in /your/repository/plugins/MayaBatch? We can use that to try and reproduce it here.

Thanks!

  • Ryan

I solved it !
If you render in multi-platform (win mac lnx), and select Build to Force:x64,you will get above error.
so I enable Build to Force:none,batch render is ok!

some project,i must enable Strict Error Checking (invert error!my poor english?),otherwise slave not render!
this is some error code:
maya2013 MayaBatch Error in RenderTasks: NameError : global name ‘LogWarning’ is not defined (Python.Runtime.PythonException)

[code]0: STDOUT: mental ray: version 3.10.1.11, Jul 26 2012, revision 177995
0: STDOUT: 00:00:00 ERROR | [mtoa] Cannot register already existing Maya node shaveHair, provided by shave(/opt/Solidangle/mtoadeploy/2013/extensions/shave.so).
0: STDOUT: 00:00:00 WARNING | [mtoa] [shave] Only managed to register 0 out of 1 new Maya nodes it declares in /opt/Solidangle/mtoadeploy/2013/extensions/shave.so.
0: STDOUT: pymel.internal.factories : WARNING : could not create a PyNode for manipulator type shaveBrushManip
0: STDOUT: pymel.internal.factories : WARNING : could not create a PyNode for manipulator type shaveBrushManip
0: STDOUT: File read in 0 seconds.
0: STDOUT: Result: /mnt/NetTemp/test/arnold/scenes/yeti_win_2013.mb
0: STDOUT: READY FOR INPUT
0: INFO: Rendering with arnold
0: INFO: Rendering to local drive, will copy files and folders to final location after render is complete
0: INFO: Creating melscript to execute
0: INFO: Executing script: /tmp/tmp607849cc.tmp
0: INFO: Waiting for script to finish

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

RenderPluginException

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

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

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

Date: 2013/02/05 01:29:41
Frames: 2
Elapsed Time: 00:00:00:00
Slave Name: FF-LNX01[/code]

I custom plugin for all x64 multi-platform computer!
maya2012batch:

C:\Program Files\Autodesk\Maya2012\bin\MayaBatch.exe /usr/autodesk/maya2012-x64/bin/maya /Applications/Autodesk/maya2012/Maya.app/Contents/bin/maya
maya2013batch:

C:\Program Files\Autodesk\Maya2013\bin\MayaBatch.exe /usr/autodesk/maya2013-x64/bin/maya /Applications/Autodesk/maya2013/Maya.app/Contents/bin/maya
MayaBatch.zip (456 Bytes)

It looks like we’ve tracked down the bug that caused the SearchFileListFor64Bit function to complain about the “Render” file not existing.

We’ve also fixed that python/Draft issue on OSX.

Finally, that LogWarning error in the MayaBatch has also been fixed.

These fixes will all be included in beta 12, which should go out this week.

Thanks!

  • Ryan

hi,rrussell,beta12 have not fixed that python/Draft issue on rhel6.2 linux.

[code]=======================================================
Error

Fatal error in StartJob: plugin script “/root/Thinkbox/Deadline6/slave/FF-LNX01/plugins/Draft.py”: Python Exception: ImportError : No module named _md5 (Python.Runtime.PythonException)
Type: <type ‘exceptions.ImportError’>
Value: No module named _md5
Stack Trace:
[’ File “none”, line 9, in \n’, ’ File “/opt/Thinkbox/Deadline6/bin/python/lib/python2.6/hashlib.py”, line 136, in \n md5 = __get_builtin_constructor(‘md5’)\n’, ’ File “/opt/Thinkbox/Deadline6/bin/python/lib/python2.6/hashlib.py”, line 63, in __get_builtin_constructor\n import _md5\n’]
(System.Exception)
at FranticX.Scripting.PythonNetScriptEngine.a (System.Exception A_0) [0x00000] in :0
at FranticX.Scripting.PythonNetScriptEngine.ExecuteScript (System.String scriptName, System.String script) [0x00000] in :0
at FranticX.Scripting.PythonNetScriptEngine.ExecuteFile (System.String scriptFile) [0x00000] in :0
at Deadline.Scripting.DeadlineScriptEngine.ExecuteFile (System.String scriptFile) [0x00000] in :0
at Deadline.Scripting.DeadlineScriptManager.CreateScopeFromFile (System.String scopeName, System.String scriptFile, Boolean addGlobalFunctions, Boolean redirectToScriptManagerListener) [0x00000] in :0
at Deadline.Plugins.ScriptPlugin.a (System.String A_0, System.String A_1, System.String A_2) [0x00000] in :0
at Deadline.Plugins.ScriptPlugin.a (System.String A_0, System.String A_1, System.String A_2) [0x00000] in :0
at Deadline.Plugins.ScriptPlugin.b (Deadline.Jobs.Job A_0) [0x00000] in :0
at Deadline.Plugins.ScriptPlugin.StartJob (Deadline.Jobs.Job job, System.String& outMessage, FranticX.Processes.AbortLevel& abortLevel) [0x00000] in :0

=======================================================
Log

0: Task timeout is disabled.
0: Loaded job: test_mray_2012_front [DRAFT] (51270b58bd4886b664ecbb53)
0: INFO: Executing plugin script /root/Thinkbox/Deadline6/slave/FF-LNX01/plugins/Draft.py

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

RenderPluginException

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

at Deadline.Plugins.Plugin.StartJob (Deadline.Jobs.Job job) [0x00000] in :0
at Deadline.Slaves.SlaveRenderThread.a (Deadline.IO.TaskLogWriter A_0) [0x00000] in :0

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

Date: 2013/02/22 14:08:22
Frames: 0
Elapsed Time: 00:00:00:00
Slave Name: FF-LNX01[/code]

Beta 12 wasn’t meant to address this particular error. I had mentioned the cause and potential solution for this further up this thread:

I guess I should have used better wording. To fix the issue, you’ll need to add symlinks with these names to /usr/lib, and point them to the newer libssl and libcrypto that are on your system (which should already be in /usr/lib).

Cheers,

  • Ryan

hi,rrussell,i do it,but get same error!

ln -s /opt/Thinkbox/Deadline6/bin/libssl.so.0.9.8 /usr/lib/ ln -s /opt/Thinkbox/Deadline6/bin/libcrypto.so.0.9.8 /usr/lib/

Hey there,

After looking at this a bit closer, and testing on some of my Linux VMs, I ran into an issue on CentOS 6.2 with the libssl/libcrypto libraries that we’re shipping, and it might be what you’ve been experiencing. I suspect it’s actually an issue with loading the libraries, as opposed to just finding them.

What happens if you run the ‘ldd’ command on libcrypto?

ldd /opt/Thinkbox/Deadline6/bin/libcrypto.so.0.9.8

If I’m right in my suspicion, you’ll probably see an error somewhat like this:

THE ERROR IS: Python.Runtime.PythonException: ImportError : /lib64/libc.so.6: version `GLIBC_2.14' not found (required by ./libcrypto.so.0.9.8)

If you’re getting something like that, I’ve attached updated versions of libcrypto/libssl that should be built targetting an older version of glibc. Try extracting those to /opt/Thinkbox/Deadline6 (and replacing the old ones), and see if that works for you.

Cheers,

hi,jgaudet, i have same error, thx ! replace two file ,draft is OK!!!

Hi,

I am getting the same error:
[chrish@z600-10 ~]$ ldd /opt/Thinkbox/Deadline6/bin/libcrypto.so.0.9.8
/opt/Thinkbox/Deadline6/bin/libcrypto.so.0.9.8: /lib64/libc.so.6: version `GLIBC_2.14’ not found (required by /opt/Thinkbox/Deadline6/bin/libcrypto.so.0.9.8)
linux-vdso.so.1 => (0x00007fffd09ff000)
libdl.so.2 => /lib64/libdl.so.2 (0x00007f23eb92b000)
libz.so.1 => /lib64/libz.so.1 (0x00007f23eb715000)
libc.so.6 => /lib64/libc.so.6 (0x00007f23eb381000)
/lib64/ld-linux-x86-64.so.2 (0x0000003ead800000)
[chrish@z600-10 ~]$

I have tried adding the files which are attached but I am no further forwards…

Centos 6.3 64bit.

Chris

Hey Chris,

Where did you extract the attached files to? It shouldn’t be giving you that same error if you replaced the shipped libcrypto/libssl with the ones in this thread; those were not compiled against glibc 2.14. If you did put them in /opt/Thinkbox/Deadline6/bin, I would try again by removing the existing files first, and then replacing them with the ones in this thread again.

If that’s still not working, try re-running the Deadline client installer (needs to be the Beta 13 installer), which also has the updated libraries in it.

Cheers,

  • Jon

Installed Beta13 and this has been resolved.

Chris

Privacy | Site terms | Cookie preferences