Thank you Alexei for your reply !

When I run above command it raise below error after "VACUUM"

VACUUM
Traceback (most recent call last):
  File "manage.py", line 28, in <module>
    execute_from_command_line(sys.argv)
  File "C:\CHAMP\lib\site-packages\django\core\management\__init__.py", 
line 399
, in execute_from_command_line
    utility.execute()
  File "C:\CHAMP\lib\site-packages\django\core\management\__init__.py", 
line 392
, in execute
    self.fetch_command(subcommand).run_from_argv(self.argv)
  File "C:\CHAMP\lib\site-packages\django\core\management\base.py", line 
242, in
 run_from_argv
    self.execute(*args, **options.__dict__)
  File "C:\CHAMP\lib\site-packages\django\core\management\base.py", line 
285, in
 execute
    output = self.handle(*args, **options)
  File "C:\CHAMP\lib\site-packages\arches\management\commands\packages.py", 
line
 73, in handle
    self.install(package_name)
  File "C:\CHAMP\lib\site-packages\arches\management\commands\packages.py", 
line
 126, in install
    install()
  File "C:\CHAMP\champ_hip\champ_hip\setup.py", line 6, in install
    setup.install()
  File "C:\CHAMP\lib\site-packages\arches_hip\setup.py", line 18, in install
    truncate_db()
  File "C:\CHAMP\lib\site-packages\arches_hip\setup.py", line 44, in 
truncate_db

    management.call_command('packages', operation='setup_db')
  File "C:\CHAMP\lib\site-packages\django\core\management\__init__.py", 
line 159
, in call_command
    return klass.execute(*args, **defaults)
  File "C:\CHAMP\lib\site-packages\django\core\management\base.py", line 
285, in
 execute
    output = self.handle(*args, **options)
  File "C:\CHAMP\lib\site-packages\arches\management\commands\packages.py", 
line
 76, in handle
    self.setup_db(package_name)
  File "C:\CHAMP\lib\site-packages\arches\management\commands\packages.py", 
line
 211, in setup_db
    self.create_groups()
  File "C:\CHAMP\lib\site-packages\arches\management\commands\packages.py", 
line
 252, in create_groups
    edit_group = Group.objects.create(name='edit')
  File "C:\CHAMP\lib\site-packages\django\db\models\manager.py", line 157, 
in cr
eate
    return self.get_queryset().create(**kwargs)
  File "C:\CHAMP\lib\site-packages\django\db\models\query.py", line 319, in 
crea
te
    obj.save(force_insert=True, using=self.db)
  File "C:\CHAMP\lib\site-packages\django\db\models\base.py", line 545, in 
save
    force_update=force_update, update_fields=update_fields)
  File "C:\CHAMP\lib\site-packages\django\db\models\base.py", line 570, in 
save_
base
    with transaction.commit_on_success_unless_managed(using=using, 
savepoint=Fal
se):
  File "C:\CHAMP\lib\site-packages\django\db\transaction.py", line 500, in 
commi
t_on_success_unless_managed
    if connection.get_autocommit() or connection.in_atomic_block:
  File "C:\CHAMP\lib\site-packages\django\db\backends\__init__.py", line 
324, in
 get_autocommit
    self.ensure_connection()
  File "C:\CHAMP\lib\site-packages\django\db\backends\__init__.py", line 
124, in
 ensure_connection
    self.connect()
  File "C:\CHAMP\lib\site-packages\django\db\backends\__init__.py", line 
113, in
 connect
    self.init_connection_state()
  File 
"C:\CHAMP\lib\site-packages\django\db\backends\postgresql_psycopg2\base.p
y", line 119, in init_connection_state
    self.connection.cursor().execute("SET search_path TO " + 
settings_dict['SCHE
MAS'])
KeyError: 'SCHEMAS'

Regards,
Piyush

On Saturday, 28 May 2016 19:21:38 UTC+5:30, Piyush Shah wrote:
>
> Hi,
>
> I had installed Aches on my 64bit system and perform all the steps of the 
> documentation but when I run the server and click on search link I get a 
> below error: 
>
>
> Environment:
>
> Request Method: GET
> Request URL: http://localhost:8000/search
>
> Django Version: 1.6.2
> Python Version: 2.7.6
> Installed Applications:
> ('django.contrib.admin',
>  'django.contrib.auth',
>  'django.contrib.contenttypes',
>  'django.contrib.sessions',
>  'django.contrib.messages',
>  'django.contrib.staticfiles',
>  'django.contrib.gis',
>  'arches',
>  'arches.app.models',
>  'arches.management',
>  'arches_hip',
>  'champ_hip')
> Installed Middleware:
> ('django.contrib.sessions.middleware.SessionMiddleware',
>  'django.middleware.common.CommonMiddleware',
>  'django.middleware.csrf.CsrfViewMiddleware',
>  'django.contrib.auth.middleware.AuthenticationMiddleware',
>  'django.contrib.messages.middleware.MessageMiddleware',
>  'django.middleware.clickjacking.XFrameOptionsMiddleware',
>  'arches.app.utils.set_anonymous_user.SetAnonymousUser')
>
>
> Traceback:
> File "C:\CHAMP\lib\site-packages\django\core\handlers\base.py" in 
> get_response
>   114.                     response = wrapped_callback(request, 
> *callback_args, **callback_kwargs)
> File "C:\CHAMP\lib\site-packages\arches_hip\views\search.py" in home_page
>   35.     min_max_dates = models.Dates.objects.aggregate(Min('val'), 
> Max('val'))
> File "C:\CHAMP\lib\site-packages\django\db\models\manager.py" in aggregate
>   166.         return self.get_queryset().aggregate(*args, **kwargs)
> File "C:\CHAMP\lib\site-packages\django\db\models\query.py" in aggregate
>   278.         return query.get_aggregation(using=self.db)
> File "C:\CHAMP\lib\site-packages\django\db\models\sql\query.py" in 
> get_aggregation
>   356.         result = query.get_compiler(using).execute_sql(SINGLE)
> File "C:\CHAMP\lib\site-packages\django\db\models\sql\compiler.py" in 
> execute_sql
>   782.         cursor.execute(sql, params)
> File "C:\CHAMP\lib\site-packages\django\db\backends\util.py" in execute
>   69.             return super(CursorDebugWrapper, self).execute(sql, 
> params)
> File "C:\CHAMP\lib\site-packages\django\db\backends\util.py" in execute
>   53.                 return self.cursor.execute(sql, params)
> File "C:\CHAMP\lib\site-packages\django\db\utils.py" in __exit__
>   99.                 six.reraise(dj_exc_type, dj_exc_value, traceback)
> File "C:\CHAMP\lib\site-packages\django\db\backends\util.py" in execute
>   53.                 return self.cursor.execute(sql, params)
>
> Exception Type: ProgrammingError at /search
> Exception Value: relation "dates" does not exist
> LINE 1: ...AS "val__max", MIN("dates"."val") AS "val__min" FROM "dates"
>                                                                 ^
> So kindly help me what wrong I had done in installation.
>
> Regards,
> Piyush
>

-- 
-- To post, send email to archesproject@googlegroups.com. To unsubscribe, send 
email to archesproject+unsubscr...@googlegroups.com. For more information, 
visit https://groups.google.com/d/forum/archesproject?hl=en
--- 
You received this message because you are subscribed to the Google Groups 
"Arches Project" group.
To unsubscribe from this group and stop receiving emails from it, send an email 
to archesproject+unsubscr...@googlegroups.com.
For more options, visit https://groups.google.com/d/optout.

Reply via email to