Page 2 of 3

Re: Cant find custom shell files

Posted: Tue Aug 11, 2020 2:43 pm
by giel_4321
ok my Bad i didn't restart afrender
but i did after and i try to render , it lights up yellow but then render machine went offline in afanasy

Re: Cant find custom shell files

Posted: Tue Aug 11, 2020 2:46 pm
by giel_4321
And also throws this error in output

Re: Cant find custom shell files

Posted: Tue Aug 11, 2020 2:49 pm
by timurhai
So you should discover, why machine becomes offline.
See server log and afrender, afserver processes outputs.

Re: Cant find custom shell files

Posted: Tue Aug 11, 2020 3:21 pm
by giel_4321
import error no module named services.nuke
import error no module named services.services

AFRender interrupt signal catched

Re: Cant find custom shell files

Posted: Tue Aug 11, 2020 3:37 pm
by timurhai
You have modified CGRU native files?
Or you are modifying PYTHON_PATH or PYTHON_HOME?
https://cgru.readthedocs.io/en/latest/c ... -variables
CGRU uses Python, and it shout set properly up.

If you are modifying PYTHON_PATH, you should append something to it, not reset.

Code: Select all

set PYTHON_PATH = /my/libs:${PYTHON_PATH}
instead of

Code: Select all

set PYTHON_PATH = /my/libs

Re: Cant find custom shell files

Posted: Tue Aug 11, 2020 4:57 pm
by timurhai
Afanasy setup appending its modules to PYTHON_PATH
https://github.com/CGRU/cgru/blob/maste ... tup.sh#L11

Later your afrender can't import them.
So your afrender PYTHON_PATH is definitely modified.

Re: Cant find custom shell files

Posted: Wed Aug 12, 2020 1:11 am
by giel_4321
its very strange that one system working in the same network without adding any extra files in cgru it renders out the files where as in render blades its not working the same way.

Re: Cant find custom shell files

Posted: Wed Aug 12, 2020 8:00 am
by timurhai
If one system is working and the other does not - just find the difference between systems.

But the best approach is not to modify environment "system wide".
As one software can break other software environment.

Better to modify just only CGRU environment by adding a custom setup file.
And modify your render software (artist) environment.
Keeping the Linux system clean (no /etc/profile, /etc/environment, /etc/bashrc or /etc/[WHATEVER] modifications).

Re: Cant find custom shell files

Posted: Wed Aug 12, 2020 9:43 am
by giel_4321
ok so we were actually running 2.2.3 and now we were upgrading to 2.3.1

Today i found that stoping the afrender.service and starting the ./_afrender from the cgru solved the Rendering issue and all the environment issue not finding shell scripts etc.

But if I start the service back on the error ahows up again.

what am i doing wrong here?

Re: Cant find custom shell files

Posted: Wed Aug 12, 2020 9:52 am
by timurhai
As i told before, you are using /etc/profile - this is wrong!