Hi Piyush, I'm suspect that you might not have activated your virtual environment before you ran that command. Try that and see if it fixes things. Cheers, Alexei
Director of Web Development - Farallon Geographics, Inc. - 971.227.3173 On Fri, Jun 17, 2016 at 10:59 PM, Piyush Shah <piyushs...@gmail.com> wrote: > Thank you Adam for your reply ! > > As per your suggestion I had written entire output of the pip install > arches_hip command to a text file. > > Please find enclosed attachment. > > Regards, > Piyush > > On Mon, Jun 13, 2016 at 9:04 PM, Adam Cox <mr.adam...@gmail.com> wrote: > >> Hi Piyush, one thing I've suggested on a couple of other threads is to >> write the entire output of the pip install arches command to a text file. >> Start with a new virtual environment, and try this command: >> >> (ENV): pip install arches > arches_install_log.txt 2>&1 >> >> Please share the resulting file and we can try to find where the >> installation went wrong. >> >> Cheers, >> Adam >> >> >> On Saturday, June 11, 2016 at 12:17:13 AM UTC-6, Piyush Shah wrote: >>> >>> Thank you Alexei for your reply ! >>> >>> I had perform all the steps using a command prompt as administrator but >>> still I am facing same problem. >>> >>> I am using windows 8.1 >>> >>> Regards, >>> Piyush >>> >>> On Wed, Jun 8, 2016 at 8:28 PM, Adam Cox <mr.adam...@gmail.com> wrote: >>> >>>> Hello Piyush, like Alexei said, it sounds like the database tables >>>> didn't install correctly. I'd recommend that you restart the process from >>>> the virtual environment creation step while using a command prompt as >>>> administrator. Here' s how to do that >>>> https://www.google.com/webhp?sourceid=chrome-instant&ion=1&espv=2&ie=UTF-8#q=run%20command%20prompt%20as%20administrator. >>>> While I didn't need to do this with Windows 7, I've found it to be >>>> necessary with Windows 10, and I don't know about 8. >>>> >>>> Hope that helps, >>>> Adam >>>> >>>> >>>> >>>> On Friday, June 3, 2016 at 10:44:28 PM UTC-6, Piyush Shah wrote: >>>>> >>>>> 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 a topic in the >>>> Google Groups "Arches Project" group. >>>> To unsubscribe from this topic, visit >>>> https://groups.google.com/d/topic/archesproject/7I0U9zYZX-U/unsubscribe >>>> . >>>> To unsubscribe from this group and all its topics, send an email to >>>> archesproject+unsubscr...@googlegroups.com. >>>> For more options, visit https://groups.google.com/d/optout. >>>> >>> >>> >>> >>> -- >>> >>> Piyush M Shah >>> >>> GIS Professional >>> >>> >>> M.Sc (Geomatics and Space Application), M.Sc (IT and CA) >>> >>> Phone: +91-79-22860917 >>> >>> Mobile: 09408721451 >>> >> -- >> -- 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 a topic in the >> Google Groups "Arches Project" group. >> To unsubscribe from this topic, visit >> https://groups.google.com/d/topic/archesproject/7I0U9zYZX-U/unsubscribe. >> To unsubscribe from this group and all its topics, send an email to >> archesproject+unsubscr...@googlegroups.com. >> For more options, visit https://groups.google.com/d/optout. >> > > > > -- > > Piyush M Shah > > GIS Professional > > > M.Sc (Geomatics and Space Application), M.Sc (IT and CA) > > Phone: +91-79-22860917 > > Mobile: 09408721451 > > -- > -- 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. > -- -- 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.