Page 1 of 1

Maya projects path error

Posted: Tue Feb 11, 2020 10:41 pm
by tpolson01
I was trying to render a scene with Starter. See attached image. Project set correctly in maya. When I render on farm, Other machines render to old project folder. I had to go to each render node, load Maya, set project and exit. Then everything worked. Is there something I missed in the submission?

Thanks

Re: Maya projects path error

Posted: Wed Feb 12, 2020 9:22 am
by timurhai
Hi.

Afstaeter runs command that it constructs displays.
Python script afjob.py constructs a job and sends it to afserver.
Job contains tasks, task contains a command for each frame that will be launched on a farm machine by afrender.

If something (even anything) is not going as expected, you should launch a task command in a terminal by hands.
You can copy task command from GUI a task window (double click job, then double click task).
If command gives the same unexpected results (most probably it will), you can dig how to adjust command to produce correct results.
And i can help you to adjust some Afanasy script to produce correct command for tasks.

That command itself is not a CGRU-Afanasy theme.
Better to ask special software forums, where other Maya users are discussing Maya issues.

Re: Maya projects path error

Posted: Fri Feb 14, 2020 10:54 pm
by tpolson01
thanks. seems to be missing -proj [project path]
-pwd is for project working directory?

Re: Maya projects path error

Posted: Sat Feb 15, 2020 2:21 pm
by timurhai
Hi.
It should, and it was.
But for now it is commented for some reason:
https://github.com/CGRU/cgru/blob/maste ... ob.py#L628
And I really do not know why ((
I should check it out.

Try to uncomment it. If it will work normally, you can create a pull request on github.