I need to run a wrapper around maya’s Render.exe (in the MayaCmd plugin) so I can setup the environment correctly (we’ve got a centralized vray installation and Render.exe needs to find that (and it ignores userSetup.py…)). So I wrote a bat script that will do the job, but Deadline is really picky about what it accepts as a valid render executable… Is there anyway around this problem through Deadline?
(The reason we’d like to use MayaCmd is that it might give us more feedback on a render problem we’re having than the MayaBatch plugin).
So the only thing you are missing here is that under maya version in the submitter, where it would say 32 bit or 64 bit, you need to set it to none. That should make this work like a charm.
I’m bumping this thread because I’ve started today testing Deadline for a Studio, and we are having a problem with this. With Softimage everything is working fine, actually I think that the same thing you are doing with the workgroups in the Softimage submitter could be veeeeeery helpfull if added to the Maya Submitter (autodetect the Env in the session, fill the fields, and leave them editable to add modifications per job), that would really solve our problem.
As long as we put the env in to the jobs everything works fine but, the wrapper thing we cannot make it to work. Probably there is something wrong on our wrapper file, this is a very simplified version of the launcher wrapper we use for Maya to launch and adapted to Mayabatch:
[code]@echo off
rem -----------------MAYA Environment Variables----------------------------------
set MAYA_APP_DIR=\192.XXX.X.XX\Path\to_Software\Application\prefs\ren
set MAYA_MODULE_PATH=%MAYA_MODULE_PATH%;\192.XXX.X.XX\Path\to_Software\Application\modules
rem -----------------START MAYA----------------------------------
start “” “C:\Program Files\Autodesk\maya2016\bin\mayabatch.exe”[/code]
If somebody can put some light on this it would be nice.
Error: Monitored managed process “MayaBatch” has exited or been terminated.
at Deadline.Plugins.ScriptPlugin.RenderTasks(String taskId, Int32 startFrame, Int32 endFrame, String& outMessage, AbortLevel& abortLevel)
Type
RenderPluginException
Stack Trace
at Deadline.Plugins.Plugin.RenderTask(String taskId, Int32 startFrame, Int32 endFrame)
at Deadline.Slaves.SlaveRenderThread.a(TaskLogWriter A_0)