Hi Piyush, Sorry for getting back to you so late. I was scanning monuments in Spain :)
Your problem may lie in the name of your virtualenv: the software seems to expect the folder to be called "ENV". (See installation guide: http://arches-hip.readthedocs.io/en/latest/getting-started/#installating-arches-hip ) The other thing might be the location of your arches_hip customization folder (champ_hip), although I'm not sure if that matters. The folder structure described in the installation guide is this: /Projects /ENV /my_hip_app (your "champ_hip") While what you have is: /C: /champv2 (should be ENV) /champ_hip (should be on the same level as ENV) With installations like these, it is often very important to follow the installation guide exactly :) Let me know if this solves the problem! Vincent On Saturday, 2 July 2016 01:56:37 UTC-4, Piyush Shah wrote: > > Hi Vincent, > > Thank you for your reply! > > I am sharing you all the commands I had performed for installing Arches > from virtual environment creation with screenshots. > > Step 1) Create a virtual environment > [image: Inline image 1] > > Step 2) Activated virtual environment > [image: Inline image 2] > > Step 3) Installed the arches_hip module (I had attached > arches_install_log.txt with this post) > [image: Inline image 3] > > Step 4) Create the folder for HIP customization > [image: Inline image 5] > > Step 5) Changing the settings.py > [image: Inline image 6] > > Step 6) Installed the ElasticSearch > [image: Inline image 7] > > Step 7) Started ElasticSearch: > [image: Inline image 8] > > Step 8) Created Database > [image: Inline image 9] > [image: Inline image 10] > > Step 9) Run arches > [image: Inline image 11] > > Step 10) Open the search page (http://localhost:8000/search) into the > browser > [image: Inline image 12] > > Regards, > > On Wed, Jun 29, 2016 at 8:38 PM, Vincent Meijer <[email protected] > <javascript:>> wrote: > >> Hello Piyush, >> >> Could you please confirm that you activated your virtual environment >> before you ran the command (as Alexei suggested)? >> That would make a big difference in how to approach this issue. >> >> Also, it would make it easier for us to help if you if you could post the >> exact commands that you used from the start. That way we can see if >> anything went wrong along the way. >> >> >> Thanks! >> Vincent >> >> >> On Saturday, 25 June 2016 07:56:40 UTC+2, Piyush Shah wrote: >>> >>> Hi Adam, >>> >>> I had run the command which you mention in your previous mail but No >>> success, still I am facing same issue. >>> >>> I am sharing you the output text file. >>> >>> Thanks & Regards, >>> >>> On Tue, Jun 21, 2016 at 9:45 AM, Piyush Shah <[email protected]> wrote: >>> >>>> Thank you Adam! >>>> >>>> Surely I will do it and revert you back. >>>> >>>> Regards, >>>> >>>> On Tue, Jun 21, 2016 at 12:08 AM, Adam Cox <[email protected]> wrote: >>>> >>>>> Hi Piyush, I suspect you may need to upgrade pip. The permissions >>>>> error with that txt file has been fixed for me before after upgrading >>>>> pip. >>>>> With your ENV activated, use this command >>>>> >>>>> python -m pip install -U pip >>>>> >>>>> And then try pip installing Arches and Arches-HIP again. Write the >>>>> output to the text file as before, so that we can see the results. >>>>> >>>>> >>>>> Good luck! >>>>> >>>>> Adam >>>>> >>>>> >>>>> On Sat, Jun 18, 2016 at 4:55 PM, Alexei Peters <[email protected]> >>>>> wrote: >>>>> >>>>>> 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 <[email protected]> >>>>>> 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 <[email protected]> >>>>>>> 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 <[email protected]> >>>>>>>>> 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 [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 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 [email protected]. >>>>>>>>>> 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 [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 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 >>>>>>>> [email protected]. >>>>>>>> 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 [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. >>>>>>> >>>>>> >>>>>> >>>>> >>>> >>>> >>>> -- >>>> >>>> Piyush M Shah >>>> >>>> GIS Professional >>>> >>>> >>>> M.Sc (Geomatics and Space Application), M.Sc (IT and CA) >>>> >>>> Phone: +91-79-22860917 >>>> >>>> Mobile: 09408721451 >>>> >>> >>> >>> >>> -- >>> >>> 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 [email protected] <javascript:>. To >> unsubscribe, send email to [email protected] <javascript:>. >> 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 >> [email protected] <javascript:>. >> 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 [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.
