I am trying to find a way to automaticly put a machine that creates error in the blacklist.
If a computer generates more that n# of error I want this computer to be blacklisted for that job.
I have this problem when someone log on a new machine but his user have never been created on this machine, the user doesn’t have the proper Maya preference so the render generates errors.
The onther way I could fix this is by forcing some environment variables prior to the render. Is there a way I could do this? I would like to force a MAYA_SCRIPT_PATH so that the render command would find all the script that are called by the -preFrame -postFrame arguments.
Thanks
Hi Sylvain,
The slave’s have a mechanism built in where if they error out on a job 5 times in a row, they won’t pick up that job again until all “good” jobs are complete. If the next attempt at the job is successful, it is taken off the “bad” job list for that slave.
For your problem, you can modify the Maya plugin to set an environment variable before rendering begins. If you navigate to the maya plugin in the repository folder, you should find a file called “PreRenderTasks.ffs”. All it does is log some information, and set an environment variable if you’re using the Turtle renderer. Try adding the override code for MAYA_SCRIPT_PATH here.
Cheers,
Ryan Russell
Frantic Films Software
http://software.franticfilms.com/
(204)949-0070
Thanks for the detail on the error detection of the slaves.
I was not sure if it was in the preRenderTask that I could do this. Thanks for clarifying that up. I am in the process of adding it.