newbe questions

Customize rules.
Post Reply
ahmad
Posts: 9
Joined: Thu Sep 21, 2017 8:59 am

newbe questions

Post 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
User avatar
timurhai
Site Admin
Posts: 911
Joined: Sun Jan 15, 2017 8:40 pm
Location: Russia, Korolev
Contact:

Re: newbe questions

Post 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.
Timur Hairulin
CGRU 3.3.1, Ubuntu 20.04, 22.04, MS Windows 10 (clients only).
ahmad
Posts: 9
Joined: Thu Sep 21, 2017 8:59 am

Re: newbe questions

Post by ahmad »

thanks for reply. i got it. solved problem.
User avatar
timurhai
Site Admin
Posts: 911
Joined: Sun Jan 15, 2017 8:40 pm
Location: Russia, Korolev
Contact:

Re: newbe questions

Post 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
Timur Hairulin
CGRU 3.3.1, Ubuntu 20.04, 22.04, MS Windows 10 (clients only).
ahmad
Posts: 9
Joined: Thu Sep 21, 2017 8:59 am

Re: newbe questions

Post by ahmad »

ok, i think for user authentication.

thanks for the answer.
Post Reply