Search found 512 matches

by timurhai
Tue Feb 07, 2017 9:40 pm
Forum: Maya
Topic: mayapy crash
Replies: 4
Views: 2599

Re: mayapy crash

by timurhai
Sun Feb 05, 2017 11:09 am
Forum: General
Topic: What causes a job to be flagged as errored?
Replies: 7
Views: 2795

Re: What causes a job to be flagged as errored?

Hi. Afanasy checks task command exit code. And by default for success finish it should be 0, but can be customized in a Python service "checkExitStatus" function: https://github.com/CGRU/cgru/blob/master/afanasy/python/services/service.py#L234 Also by default it search error key stings defined in "s...
by timurhai
Fri Feb 03, 2017 8:38 am
Forum: Configuration
Topic: Rules path setup
Replies: 11
Views: 5470

Re: Rules path setup

I just prefer to have a separated location for Rules https server directory. So i have a 2 cgrus on a sever. The same machine (virtual) servers and Rules and Afanasy but from various folders. This way i can update-setup-test them separately. But it is not a necessarily. I also have cgru-afanasy inst...
by timurhai
Fri Feb 03, 2017 6:48 am
Forum: Configuration
Topic: Rules path setup
Replies: 11
Views: 5470

Re: Rules path setup

Hi. Assuming you have /mnt/cgru and /mnt/projects on all clients include Rules and Afanasy servers. /data/cgru for Rules site on server. You should link on Rules server "ln -s /mnt/projects /data/cgru/projects". Paths map ["/data/cgru/", "/mnt/cgru"]. Rules config: "root":"projects", "root_link":"/m...
by timurhai
Thu Feb 02, 2017 9:44 am
Forum: Setup
Topic: keeper software setup
Replies: 9
Views: 3988

Re: keeper software setup

It is not documented mostly because it was done in a hurry.
I think that we should rename this variable in something line "keeper_menu_path".
And at least put it in config_default.json with some comments.
by timurhai
Thu Feb 02, 2017 9:40 am
Forum: Setup
Topic: keeper software setup
Replies: 9
Views: 3988

Re: keeper software setup

Hi. For now it is not documented. But keeper has tray menu has: https://github.com/CGRU/cgru/blob/master/utilities/keeper/tray.py#L59 So you can configure (config.json) menu_path variable and keeper will work some other menu (not cgru/start). ( Out artists use keeper to launch something too, but we ...
by timurhai
Wed Feb 01, 2017 11:02 am
Forum: Setup
Topic: keeper software setup
Replies: 9
Views: 3988

Re: keeper software setup

Hi. Try to use PySide (or PyQt5, or PySide2, but not PyQt4). It seems that QtWidgets.QFileDialog.getOpenFileName returns not a tuple in PyQt4. CGRU software setup is designed and used for the project testing, demonstrations, developing. I can't say that "CGRU software setup" approach is good, clean,...
by timurhai
Tue Jan 31, 2017 9:32 pm
Forum: Maya
Topic: mayapy crash
Replies: 4
Views: 2599

Re: mayapy crash

- topic should be in this section (moved here from general)
by timurhai
Tue Jan 31, 2017 9:31 pm
Forum: Maya
Topic: mayapy crash
Replies: 4
Views: 2599

Re: mayapy crash

Hi.
May be some environment difference causes the error.
Try to print some environment variable.
Pay attention on PYTHON_HOME, PYTHON_PATH and LD_LIBRARY_PATH.
by timurhai
Tue Jan 31, 2017 1:08 pm
Forum: Configuration
Topic: Walk and multiple roots?
Replies: 4
Views: 3095

Re: Walk and multiple roots?

Hi. Hm, walk.py should not do it. Try to execute this Python script by hands. What walk command Rules have sent to Afanasy? For now several roots is not possible. But we can discuss it. Once we have projects on different file-servers. A script was written and executed on all machines that combine al...