We have a mixed farm with osx and windows. we got cinema working on both pcs and the macs but when rendering maya files only the pc works.
Maya 2014
Deadline 6.0
Repository is on a nas server
Plugin configuration:
C:\Program Files\Autodesk\Maya2014\bin\MayaBatch.exe
C:\Program Files (x86)\Autodesk\Maya2014\bin\MayaBatch.exe
/usr/autodesk/maya2014/bin/maya
/Applications/Autodesk/maya2014/Maya.app/Contents/bin/mayabatch
I have tested with various plugin paths but cant get it to work.
Any ideas?
Error message:
=======================================================
Error
Error in StartJob: Error in RenderExecutable: Invalid path (System.ArgumentException)
at System.IO.Path.GetDirectoryName (System.String path) [0x00000] in :0
at FranticX.IO.Path2.ChangeFilename (System.String path, System.String filename) [0x00000] in :0
at Deadline.Scripting.PathUtils.ChangeFilename (System.String path, System.String filename) [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
=======================================================
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
=======================================================
Full Log
0: Task timeout is disabled.
0: Loaded job: sh010_render_workshop_0001 - persp (5281fad72f51e518acc49cdb)
0: INFO: Executing plugin script /Users/johanahlenius/Library/Application Support/Thinkbox/Deadline6/slave/Johans-Mac-Pro/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 2014.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
=======================================================
Details
Date: 11/12/2013 10:54:42
Frames: 24
Elapsed Time: 00:00:00:02
Job Submit Date: 11/12/2013 10:54:15
Job User: Eric
Average RAM Usage: 12227301376 (57%)
Peak RAM Usage: 12227301376 (57%)
Average CPU Usage: 0%
Peak CPU Usage: 0%
Slave Name: Johans-Mac-Pro
Slave Version: v6.0.0.51561 R
Hi,
This line for the Mac RenderExecutable should be pointing at Maya and not MayaBatch:
/Applications/Autodesk/maya2014/Maya.app/Contents/bin/mayabatch
should be:
/Applications/Autodesk/maya2014/Maya.app/Contents/bin/maya
(I assume you have installed Maya to the above location?)
I have tested that too, and yes i have installed maya to that location. When pointing to maya instead of mayabatch im getting the same error but also this, i marked in bold what might be the problem?:
=======================================================
Error
Error in RenderTasks: Monitored managed process “MayaBatch” 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.a (Deadline.IO.TaskLogWriter A_0) [0x00000] in :0
=======================================================
Full Log
0: Task timeout is disabled.
0: Loaded job: sh030_render_workshop_0008 - stores - renderCam (5281fd822f51e5241ce03f05)
0: INFO: Executing plugin script /Users/johanahlenius/Library/Application Support/Thinkbox/Deadline6/slave/Johans-Mac-Pro/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 2014.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
0: INFO: Setting MAYA_LOCATION environment variable to /Applications/Autodesk/maya2014/Maya.app/Contents for this session
0: INFO: Render Executable: “/Applications/Autodesk/maya2014/Maya.app/Contents/bin/maya”
0: INFO: Render Argument: -prompt -file “/Users/johanahlenius/Library/Application Support/Thinkbox/Deadline6/slave/Johans-Mac-Pro/jobsData/sh030_render_workshop_0008.mb” -proj “/Volumes/Z/projects/Ericsson_KPI/maya”
0: INFO: Startup Directory: “/Applications/Autodesk/maya2014/Maya.app/Contents/bin”
0: INFO: Process Priority: BelowNormal
0: INFO: Process Affinity: default
0: INFO: Process is now running
0: Plugin rendering frame(s): 240
0: INFO: Waiting until maya is ready to go
0: STDOUT: dyld: Library not loaded: @executable_path/…/Frameworks/Python.framework/Python
0: STDOUT: Referenced from: /Applications/Autodesk/maya2014/Maya.app/Contents/MacOS/libCommandEngine.dylib
0: STDOUT: Reason: Incompatible library version: libCommandEngine.dylib requires version 2.7.0 or later, but Python provides version 2.6.0
0: WARNING: Monitored managed process MayaBatch is no longer running
Ah, sorry, this is unfortunately a bug in v6.0, which is all fixed in v6.1. I will need to ask for you if there is a workaround for those users on v6.0.
(Essentially Maya is trying to run using Deadline’s Python 2.6 environment, instead of Maya’s Python 2.7 environment)
Are you interested in joining the beta? If so, you can send an email to sales@thinkboxsoftware.com to request access.
Are we able to just install 6.1 over the current installation or do we need to wipe it all and do a clean install?
You can install over the top as it’s a minor version release (although it contains a lot of new features!). However, as it’s presently “BETA” software, the usual disclaimers/caveats apply.
Yes that i understand. i have sent a mail to besta request.
Thanks for the help!
Hi,
I’ve just been running into this exact same problem, been trying to work out what is wrong with my setup for the last 4 hours! If you do work out a workaround can you please let me know as well!
Thanks
Hi guys,
Unfortunately, we don’t have a temp workaround for 6.0 right now for you. We think disabling MayaBatch mode works though, so please try this if you can. We made a lot of changes to how Deadline sets its Python environment in 6.1, combined with some changes in the Maya plugins to prevent the problem from occurring, so we are not sure if we’re able to back-port any of it into 6.0. Ideally, if you can apply for beta v6.1 access, this would get you the fix you need. Other clients who had similar issues haven’t mentioned any further problems and we fixed this issue some time ago now.
Mike
Hello,
So we now have a fix for this, though it is fully fixed in 6.1. I am including that here, and these should be unzipped to their respective folders in [repo]\plugins. Backups of the original MayaCmd.py and MayaBatch.py should be made just in case. Let me know how they work for you.
Maya2014_60.zip (24 KB)