Page 1 of 1

newbe questions

Posted: Thu Sep 21, 2017 10:07 am
by ahmad
hi,
sorry for bad english.
I'm newbe. i have some questions.

1. whether the server affanasy need to connect database server. for what and how to properly configure.

2. I use Blender. I installed the manual plug-in and configure the root cgru folder in user preferens but I get this error when submitting job

Traceback (most recent call last):
  File "C: \ Users \ far_i \ Downloads \ Compressed \ cgru.2.2.2.windows \ lib \ python \ cgruconfig.py", line 80, in __init__
    raise KeyError ('CGRU_LOCATION')
KeyError: 'CGRU_LOCATION'

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "C: \ Users \ far_i \ Google Drive \ scrip Blender \ Blender \ 2.78 \ scripts \ addons \ cgru_tools \ operators.py", line 62, in execute
    import af
  File "C: \ Users \ far_i \ Downloads \ Compressed \ cgru.2.2.2.windows \ afanasy \ python \ af.py", line 10, in <module>
    import cgruconfig
  File "C: \ Users \ far_i \ Downloads \ Compressed \ cgru.2.2.2.windows \ lib \ python \ cgruconfig.py", line 248, in <module>
    Config ()
  File "C: \ Users \ far_i \ Downloads \ Compressed \ cgru.2.2.2.windows \ lib \ python \ cgruconfig.py", line 82, in __init__
    raise KeyError ('Environment variable CGRU_LOCATION not set.')
KeyError: 'Environment variable CGRU_LOCATION not set.'

location: <unknown location>: - 1



note: run Blender manual not from keeper

Re: newbe questions

Posted: Thu Sep 21, 2017 12:07 pm
by timurhai
Hi.
CGRU needed some environment to work:
http://cgru.info/installation#config_environment

If you run Blender from keeper, it will set all needed environment.
If you run Blender in your own way, you should setup required environment in your own way.

Re: newbe questions

Posted: Thu Sep 21, 2017 2:35 pm
by ahmad
thanks for reply. i got it. solved problem.

Re: newbe questions

Posted: Fri Sep 22, 2017 9:04 am
by timurhai
Hi.
Sorry, just noticed your first question:
1. whether the server affanasy need to connect database server. for what and how to properly configure.
This is to gather SQL statistics only.
Afanasy works only with PostgreSQL, configuration guide is here http://cgru.info/afanasy/server#statistics

Re: newbe questions

Posted: Fri Sep 22, 2017 8:55 pm
by ahmad
ok, i think for user authentication.

thanks for the answer.