No instead I re-run the (ENV)$ python manage.py runserver

Soumaia Ahmed Al Ayyat, MSc
PhD Candidate, Applied Sciences
Senior Applications Development Manager
University Academic Computing Technology
The American University in Cairo
Tel: (+2) 2615-3744
Save a tree. Don't print this e-mail unless it's really necessary

*Great minds discuss ideas; Average minds discuss events; Small minds
discuss people. Eleanor Roosevelt*

On Thu, Oct 29, 2015 at 8:35 AM, Alexei Peters <[email protected]> wrote:

> Hi Soumaia,
> When you changed the settings file, did you re-run the install script?
>  (python manage.py packages -o install)
> -Alexei
>
>
> Director of Web Development - Farallon Geographics, Inc. - 971.227.3173
>
> On Tue, Oct 27, 2015 at 1:21 AM, Soumaia Al Ayyat <[email protected]>
> wrote:
>
>> Dear Alexei,
>>    thanks for your response. I have already changed the settings.py file
>> to include postgis_2.1
>> Also, I have changed the default map zoom to 9 and the map default
>> coordinates and border points. Then I have run  python manage.py runserver,
>> but that made no changes on the website.
>>
>> I wonder if registering a key on bing maps is a must that the website
>> will not respond to our map new settings without it.
>> Also, we have checked editing the location of one of the historic
>> resources and we received the below error. Any suggestions? Thanks
>>
>>
>>
>> AttributeError at
>> /resources/HERITAGE_RESOURCE.E18/location/f15b33b2-cc0c-4315-aadc-bd4e755698cb
>>
>> 'DatabaseOperations' object has no attribute 'Adapter'
>>
>> Request Method:POSTRequest URL:
>> http://10.2.2.33:8000/resources/HERITAGE_RESOURCE.E18/location/f15b33b2-cc0c-4315-aadc-bd4e755698cbDjango
>> Version:1.6.2Exception Type:AttributeErrorException Value:
>>
>> 'DatabaseOperations' object has no attribute 'Adapter'
>>
>> Exception 
>> Location:/opt/projects/ENV/lib/python2.7/site-packages/django/contrib/gis/db/models/fields.py
>> in get_db_prep_save, line 262Python Executable:
>> /opt/projects/ENV/bin/pythonPython Version:2.7.6Python Path:
>>
>> ['/opt/projects/my_hip_app',
>>  '/opt/projects/ENV/lib/python27.zip',
>>  '/opt/projects/ENV/lib/python2.7',
>>  '/opt/projects/ENV/lib/python2.7/plat-linux2',
>>  '/opt/projects/ENV/lib/python2.7/lib-tk',
>>  '/opt/projects/ENV/lib/python2.7/lib-old',
>>  '/opt/projects/ENV/lib/python2.7/lib-dynload',
>>  '/usr/local/lib/python2.7',
>>  '/usr/local/lib/python2.7/plat-linux2',
>>  '/usr/local/lib/python2.7/lib-tk',
>>  '/opt/projects/ENV/lib/python2.7/site-packages',
>>  '/opt/projects/ENV/lib/python2.7/site-packages/arches']
>>
>> Server time:Tue, 27 Oct 2015 03:06:23 -0500
>>
>>
>>
>> Soumaia Ahmed Al Ayyat, MSc
>> PhD Candidate, Applied Sciences
>> Senior Applications Development Manager
>> University Academic Computing Technology
>> The American University in Cairo
>> Tel: (+2) 2615-3744
>> Save a tree. Don't print this e-mail unless it's really necessary
>>
>> *Great minds discuss ideas; Average minds discuss events; Small minds
>> discuss people. Eleanor Roosevelt*
>>
>> On Mon, Oct 26, 2015 at 7:12 PM, Alexei Peters <[email protected]>
>> wrote:
>>
>>> Hi Soumaia,
>>> I notice that you have postgis 2.1.
>>> If you haven't updated the db settings then that is probably the issue.
>>> By default arches assumes postgis 2.0.
>>>
>>> Update your db settings to reference the proper postgis version.
>>>
>>> DATABASES = {
>>>     'default': {
>>>        .......
>>>         'POSTGIS_TEMPLATE': 'template_postgis2.1',
>>>     }
>>> }
>>>
>>> Hope that helps,
>>> Alexei
>>>
>>> Director of Web Development - Farallon Geographics, Inc. - 971.227.3173
>>>
>>>
>>> On Sun, Oct 25, 2015 at 5:21 AM, Soumaia Al Ayyat <[email protected]>
>>>  wrote:
>>>
>>>> the list of databases available on the server are:
>>>> arches_my_hip_app
>>>> postgres
>>>> template0
>>>> template1
>>>> template_postgis
>>>> template_postgis2.1
>>>>
>>>> We don't have the database template_postgis_20. Shall I check inside
>>>> the template_postgis2.1 database instead?
>>>> Thanks for your help
>>>> Soumaia Ahmed Al Ayyat, MSc
>>>> PhD Candidate, Applied Sciences
>>>> Senior Applications Development Manager
>>>> University Academic Computing Technology
>>>> The American University in Cairo
>>>> Tel: (+2) 2615-3744
>>>> Save a tree. Don't print this e-mail unless it's really necessary
>>>>
>>>> *Great minds discuss ideas; Average minds discuss events; Small minds
>>>> discuss people. Eleanor Roosevelt*
>>>
>>>
>>>
>>> On Thu, Oct 22, 2015 at 9:45 AM, Alexei Peters <[email protected]>
>>> wrote:
>>>
>>>> What database did you run the "SELECT PostGIS_full_version()" command
>>>> from?
>>>>
>>>> You should have a template_postgis_20 database and you should be able
>>>> to successfully run the "SELECT PostGIS_full_version()" command from
>>>> that.
>>>>
>>>> If that throws an error, then you need to run "CREATE EXTENSION
>>>> postgis;" from the "template_postgis_20" database.
>>>>
>>>> Hope that helps
>>>>
>>>>
>>>> Director of Web Development - Farallon Geographics, Inc. - 971.227.3173
>>>>
>>>> On Thu, Oct 22, 2015 at 12:58 AM, Soumaia Al Ayyat <
>>>> [email protected]> wrote:
>>>>
>>>>> We have checked the versions
>>>>>
>>>>> psycopg2-2.6.1
>>>>> psql (8.4.20, server 9.3.9)
>>>>>
>>>>> PostGIS is v. 2.1.8   but when we run SELECT PostGIS_full_version();
>>>>> the following error appears
>>>>> ERROR:  function postgis_full_version() does not exist
>>>>> I checked its version using SELECT  * from pg_available_extensions;
>>>>>
>>>>> Does that indicate something?
>>>>>
>>>>> --
>>>>> -- 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.

Reply via email to