AWS Thinkbox Discussion Forums

adding support for maya 2008

hi there, i was trying to add the support for maya2008 in deadline, and i saw that there is the file maya.param that contains all the renderexecutable path for the different maya version.

i was trying to use the maya8.5 render path to render out with maya2008, but if it is not working, as i presume, after adding the RenderExecutable2008 in maya.param what should i do to let maya2008 render?



mat

Hi Mat,



We haven’t tested Maya 2008 yet, but I would assume that it would still

have an internal version number - I’m guessing it would be 9 in this

case? To confirm this, can you submit a job from withing Maya 2008 using

the integrated submission script? If this works, then select the job in

the monitor, right-click, and select Repository Directory. You should

see 2 *.job files - open the one WITHOUT a cryptic hash code for the

filename prefix.



The file you opened contains all the Maya plugin specific info that the

job uses, including the version of Maya to render with. If the version

is 9, then you would need to add a RenderExecutable9 option to

Maya.param and Maya.dlinit.



We’ll likely look at adding support ourselves soon, but hopefully this

helps get you up and running now.



Cheers,

unfortunately…i saw that in .ma file the maya version is not 9 but 2008…and that 2008 is the same that appear in the *.job file you pointed me to look into!



so i presume the work that have to be done is much more complex than simply adding a line in maya.param and maya.dlinit…

am i wrong?



by the way …is there a way to purge the repository via deadline monitor?

it happens that after some months the repository get full of old job and i have to go deleting the job …it could be nice a feature that let you choose if to purge the project once it is deleted fomr the monitor…isn’t it:)?

Hi Mat,



If the version is 2008, then you were right the first time, and you

should just have to add RenderExecutable2008 to the maya.param and

maya.dlinit files. When the plugin goes to get the render executable to

use, it looks for the RenderExecutable# key, and just swaps out the #

with the version, so in this case it should be looking for

RenderExecutable2008.



For your other question, where do the jobs build up? When you delete a

job from the monitor, it should be deleted from the jobs folder and

moved to the trash folder, which should eventually get purged.



Cheers,

it seems to me i have done all in the right way…but the render is still not starting…weird…

i restarted the slave client too…so that have to be refreshed…

i’ll look better!

thanks

Mat

well…i can say that it is not working…

we tried



RenderExecutable2008_0 to divide the major release from the minor but it is still not working…



if u have any other clue…they are welcome!



thanks again!

mat

Can you post the error message you’re getting? I’m sure it will contain

some helpful info.



Thanks!

this is what i get doing ctrl+E:



Error Message

Exception during render: Script accessed non-existent plugin config key RenderExecutable_





Slave Log

:42 R

0: INFO: >> Maya Renderer for Deadline, 2004-10-09

0: INFO: job file: c:\deadline\slave\jobsData\002_050_o_611e0f84.job

0: Plugin rendering frame(s): 1-5

0: INFO: Ignoring popup windows matching “.entry point.

0: INFO: Ignoring popup windows matching “.Entry Point.

0: INFO: Rendering to network drive…

0: INFO: Rendering with Maya 2008

0: INFO: Rendering with Maya Software.

Scheduler Thread - Render Thread 0 threw an error:

Scheduler Thread - Exception during render: Script accessed non-existent plugin config key RenderExecutable_



Exception Details
RenderPluginException -- Exception during render: Script accessed non-existent plugin config key RenderExecutable_
RenderPluginException.Cause: JobError (2)
Exception.TargetSite: Void RenderTasks(Int32, Int32)
Exception.Source: DeadlinePluginLoader
Exception.StackTrace:
at Deadline.Plugins.PluginLoader.RenderTasks(Int32 startTask, Int32 endTask)
at Deadline.Plugins.Plugin.RenderTask(Int32 startFrame, Int32 endFrame)
at Deadline.Slaves.SlaveRenderThread.RenderCurrentTask()

Thanks. I looked through the part of the plugin that gets the render

executable, and found the problem. I’m I correct in assuming that the

maya version printed out in the *.job file is shown as “2008” and not

“2008.0”? If so, leave the key in the maya.param and maya.dlinit file as

RenderExecutable2008_0, and then open the GetRenderExecutable.ffs file.

Find this part of the code near the top:

=================================================



if( periodIndex > 0 )

{

majorVersion = Substring( version, 0, 1 );

minorVersion = Substring( version, periodIndex + 1, 1 );

}



=================================================

and change it to this:

=================================================



if( periodIndex > 0 )

{

majorVersion = Substring( version, 0, 1 );

minorVersion = Substring( version, periodIndex + 1, 1 );

}

else

{

majorVersion = version;

minorVersion = 0;

}



=================================================

That should fix the problem. Give it a try and if you get another error,

please send it to us.



Thanks!

nice…now it is working perfeclty…

thanks for your help!

mat

Sorry , may i ask you i thing. If i understand you DeadLine can render Maya 2008 Projects. Because we want to buy it .

Sorry , may i ask you i thing. If i understand you DeadLine can render Maya 2008 Projects. Because we want to buy it .

The current version requires the modifications mentioned on this thread

to render with Maya 2008. In the next week or two, we will likely

release a patch for the current version and includes support for Maya 2008.



Cheers,

Thanks. I will wait for Pach

yeah it’s better to wait for the patch …couse today i did more test and the submit to deadline mel script need to be updated to work in the right way…

the render layer is no more working fine!:slight_smile:

thanks again for your time!

Can you provide some more details about what’s not working with regards

to rendering layers? Does the submission fail, or are the images not

rendered properly? Any additional details you can provide (like error

messages) would help us fix the problem.



Thanks!

A Deadline Plugin Patch which includes support for Maya 2008 can be

downloaded from here:

http://www.franticfilms.com/software/products/deadline/download/



The details and installation instructions can be found here:

http://www.franticfilms.com/software/support/deadline/releasenotes_pluginpatch_2.7.29178.php



Cheers,

Privacy | Site terms | Cookie preferences