It doesn't look like the database tables are getting installed correctly. Can you run the following command from an activated environment? python manage.py packages -o install
Director of Web Development - Farallon Geographics, Inc. - 971.227.3173 On Wed, Jun 1, 2016 at 9:57 PM, Piyush Shah <[email protected]> wrote: > I had install using "pip install arches" only > > > 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 [email protected]. To unsubscribe, > send email to [email protected]. 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 [email protected]. > For more options, visit https://groups.google.com/d/optout. > -- -- To post, send email to [email protected]. To unsubscribe, send email to [email protected]. 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 [email protected]. For more options, visit https://groups.google.com/d/optout.
