newbe questions

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

newbe questions

Post by ahmad » Thu Sep 21, 2017 10:07 am

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: 262
Joined: Sun Jan 15, 2017 8:40 pm
Location: Russia, Korolev
Contact:

Re: newbe questions

Post by timurhai » Thu Sep 21, 2017 12:07 pm

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 2.2.3 Ubuntu 14.04LTS (gcc4.8.4)

ahmad
Posts: 3
Joined: Thu Sep 21, 2017 8:59 am

Re: newbe questions

Post by ahmad » Thu Sep 21, 2017 2:35 pm

thanks for reply. i got it. solved problem.

User avatar
timurhai
Site Admin
Posts: 262
Joined: Sun Jan 15, 2017 8:40 pm
Location: Russia, Korolev
Contact:

Re: newbe questions

Post by timurhai » Fri Sep 22, 2017 9:04 am

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 2.2.3 Ubuntu 14.04LTS (gcc4.8.4)

ahmad
Posts: 3
Joined: Thu Sep 21, 2017 8:59 am

Re: newbe questions

Post by ahmad » Fri Sep 22, 2017 8:55 pm

ok, i think for user authentication.

thanks for the answer.

Post Reply

Who is online

Users browsing this forum: No registered users and 1 guest