New version bug Mental Ray

With the new version when u submit Mental Ray job the output path is blank … u have to modify the properties of the job to browse again and it works … I’ve modified the maya mel script to submit mental ray jobs and it does the same thing …



cheers

Hi Daniel,



When you say the output path is blank, are you saying that nothing is

being rendered, or that you can’t explore the output path from the Monitor?



Also, the maya submission script should already allow you to submit

mental ray jobs. Did you have to make a change because there was an

issue preventing you from doing so? Let us know.



Finally, are you just using mental ray for maya, or are you trying this

with mental ray standalone as well? I couldn’t tell for sure. Any

additional info you can provide would be helpful.



Cheers,

  • Ryan

oh sorry the confusion . I’m submitting .mi file (mr standalone) and the error is



Exception during render: Script accessed non-existent job info key OutputPath



and I tried again and notice that while submitting by maya it tells



JOB WARNINGS:

Key-value pair not supported: “OutputDirectory=U:???\images”



but same thing happends by submitting directly in Deadline but no warning message


Thanks for clarifying.



It turns out there is a typo in the mental ray submission script for the

monitor. Open the file

\deadline\repository\submission\Monitor\Submit_Mental_Ray_To_Deadline\Submit_Mental_Ray_To_Deadline.vbs

and scroll down to the bottom. Try changing this line…



pluginInfoFile.WriteLine “Output=” & outputFolder



…to this line…



pluginInfoFile.WriteLine “OutputPath=” & outputFolder



… and save. Simply reopen the submission dialog in the monitor and try

submitting again. If that works for you, let us know and we’ll put the

patch on our website.



That’s strange that you get that warning message for Maya. The

submission script should use “OutputDirectory0=U:???\images”, and I

can’t a case in the script where it uses ‘OutputDirectory’ instead of

‘OutputDirectory0’. Is this is something you’ve added (you mentioned

something about adding stuff in your last post), just make sure to use

‘OutputDirectory0’ instead of ‘OutputDirectory0’.



Cheers,

  • Ryan

the fix in the vbs works!



And for OutputDirectory0 it’s my fault…bad copy/paste ;o)



cheers