Re: [Arches] Re: Accessing languages via Django

2016-06-13 Thread Alexei Peters
Hi Andrea, Keep in mind that when you see something like this: def get_preflabel(self, lang=settings.LANGUAGE_CODE) What it means is, use for "lang" the value defined in settings.LANGUAGE_CODE if nothing else is provided. Most of the views take in a lang property as part of the request, defaulti

Re: [Arches] Re: Installation errors on WINDOWS

2016-06-13 Thread Adam Cox
Also, you'll have to add this to settings.py in order to accommodate your non-default postgres port: DATABASES['default']['port'] = '5433' If you have a lot of non-default configurations in your postgres installation, you may want to copy the entire set of database settings from ..\ENV\Lib\sit

Re: [Arches] Re: Installation errors on WINDOWS

2016-06-13 Thread Alexei Peters
Hi Basav, If you're not on the default port you can add it to your command line call. createdb -p 5433 -U postgres -E UTF8 -T template0 template_postgis_20 -Alexei Director of Web Development - Farallon Geographics, Inc. - 971.227.3173 On Mon, Jun 13, 2016 at 9:39 AM, Basav Biradar wrote: >

Re: [Arches] Re: Installation errors on WINDOWS

2016-06-13 Thread Basav Biradar
Hi Adam, I did try adding the same in the settings.py file in EDIT mode (EDIT with IDLE option) but once I have saved the file and closed it, I see that it disappears again. Sorry, I sound very low-tech :) but I could not figure out this issue. Also, I keep getting the following error on executi

Re: [Arches] Re: ProgrammingError at /search relation "dates" does not exist

2016-06-13 Thread Adam Cox
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

[Arches] Re: Signing in

2016-06-13 Thread Edmund Lee
You are very welcome Basav! Here you will find a mix of people with interests in both the technical side of Arches and the heritage specialists whose work it supports. Do please ask any questions you may have about the system. With all good wishes Edmund On Monday, June 13, 2016 at 6:28:37 AM

[Arches] Re: Signing in

2016-06-13 Thread Edmund Lee
Hi Sara and welcome to the Group! It's great to be welcoming a new member almost four years to the day after the meeting, at the Getty in Los Angeles, that set up this group to support the Arches project. A happy time for all of us who were there to remember. The group here now has wide ranging

Re: [Arches] Re: Accessing languages via Django

2016-06-13 Thread zerbini . eamena
Thanks Bojan - and thanks Alexei. I have managed to manipulate labels in both the report page and in the E55 dropdowns. However, I am still trying to find out how to manipulate the labels of the already selected branches. Where does the JSON resource graph (which is read by branch-list.js as a

Re: [Arches] Re: Installation errors on WINDOWS

2016-06-13 Thread Adam Cox
Apologies, looks like it's *GDAL_LIBRARY_PATH*. On Mon, Jun 13, 2016 at 7:58 AM, Adam Cox wrote: > Hi Basav, it looks like you still need to add the GDAL_PATH variable to > your settings.py file. This is mentioned in step #6 here: > http://arches-hip.readthedocs.io/en/latest/getting-started/#in

Re: [Arches] Re: Installation errors on WINDOWS

2016-06-13 Thread Adam Cox
Hi Basav, it looks like you still need to add the GDAL_PATH variable to your settings.py file. This is mentioned in step #6 here: http://arches-hip.readthedocs.io/en/latest/getting-started/#installating-arches-hip. Try that out and see it if helps. Adam On Mon, Jun 13, 2016 at 3:48 AM, Basav Bir

[Arches] Re: Installation errors on WINDOWS

2016-06-13 Thread Basav Biradar
An update - I think the issue is with database setup. Since the Createdb is command is failing, i am getting the following error at the end - *File "C:\Projects\ENV\lib\site-packages\arches\app\utils\data_management\resou* *rces\importer.py", line 22, in * *from formats.shpfile import S