[GeoNode-users] Error accesing geonode

David Alda Fernandez de Lezea dalda at hazi.eus
Tue Nov 17 00:27:55 PST 2015


Hi again,

In theory, the local_settigns.py does not have errors as it was working before the change.. Where is referenced from python the file /etc/geonode/local_settings.py??

Agur bero bat,



David Alda Fernández de Lezea
Área de Sistemas de Información Geográfica, Planificación Territorial y Forestal Informazio Geografikoen Sistemak, Lurralde eta Baso Antolaketaren Arloa.
dalda at hazi.eus | www.hazi.eus
T 945 003 240 – M 627 923 170 – F 945 003 290 
Hazi | Granja Modelo de Arkaute s/n | 01192 Arkaute – Araba
 
*********************  LEGE OHARRA   *******************   AVISOLEGAL   *******************   DISCLAIMER   *****************************
Mezu hau pertsonala eta isilpekoa da eta baimenik gabeko erabilera debekatua dago legalki. Jasotzailea ez bazara ezabatu mezua, bidali eta kontserbatu gabe.
Este mensaje es personal y confidencial y su uso no autorizado está prohibido legalmente. Si usted no es el destinatario, proceda a borrarlo, sin reenviarlo ni conservarlo.
This message is personal and confidential, unauthorised use is legally prohibited. If you are not the intended recipient, delete it without resending or backing it.

De: Simone Dalmasso [mailto:simone.dalmasso at gmail.com] 
Enviado el: lunes, 16 de noviembre de 2015 10:47
Para: David Alda Fernandez de Lezea
CC: geonode-users at lists.osgeo.org
Asunto: Re: [GeoNode-users] Error accesing geonode

Ok then the /etc/geonode/local_settings.py file is not read correctly. 

The customization process that you used does not modify at all the geonode installation and to revert to a vanilla geonode it's enough to just point apache to the correct wsgi. So it must be something with the settings. Also a syntax erro in the local_settings could be the cause.

2015-11-16 10:40 GMT+01:00 David Alda Fernandez de Lezea <dalda at hazi.eus>:
I think I'm pointing to the right one:

/etc/apache2/sites-available/geonode

WSGIProcessGroup geonode
    WSGIPassAuthorization On
    WSGIScriptAlias / /var/www/geonode/wsgi/geonode.wsgi

    <Directory "/var/www/geonode/">
       Order allow,deny
        Options Indexes FollowSymLinks
        Allow from all
        IndexOptions FancyIndexing
    </Directory>

Still getting the same error.


Agur bero bat,



David Alda Fernández de Lezea
Área de Sistemas de Información Geográfica, Planificación Territorial y Forestal Informazio Geografikoen Sistemak, Lurralde eta Baso Antolaketaren Arloa.
dalda at hazi.eus | www.hazi.eus
T 945 003 240 – M 627 923 170 – F 945 003 290
Hazi | Granja Modelo de Arkaute s/n | 01192 Arkaute – Araba
 
*********************  LEGE OHARRA   *******************   AVISOLEGAL   *******************   DISCLAIMER   *****************************
Mezu hau pertsonala eta isilpekoa da eta baimenik gabeko erabilera debekatua dago legalki. Jasotzailea ez bazara ezabatu mezua, bidali eta kontserbatu gabe.
Este mensaje es personal y confidencial y su uso no autorizado está prohibido legalmente. Si usted no es el destinatario, proceda a borrarlo, sin reenviarlo ni conservarlo.
This message is personal and confidential, unauthorised use is legally prohibited. If you are not the intended recipient, delete it without resending or backing it.

De: Simone Dalmasso [mailto:simone.dalmasso at gmail.com]
Enviado el: lunes, 16 de noviembre de 2015 10:00
Para: David Alda Fernandez de Lezea
CC: geonode-users at lists.osgeo.org
Asunto: Re: [GeoNode-users] Error accesing geonode

Maybe apache is still pointing to the wrong wsgi file, not the original geonode. Also try to turn on debug in your settings, you will discover if they are actually used and in case yes where the error is.

2015-11-16 9:44 GMT+01:00 David Alda Fernandez de Lezea <dalda at hazi.eus>:
Hi Simone,

I had it working normally before I started modifying all the look and feel part. Indeed, I haven't changed anything to pint to sqllite.

I also have my local_settigns.py customized and it was working fine. How can I point the app to my settings file ?

By the way I forgot to put the link with the instructions I followed: https://geonode.readthedocs.org/en/master/tutorials/admin/customize_admin/setup_admin.html#customize-setup-admin


Agur bero bat,



David Alda Fernández de Lezea
Área de Sistemas de Información Geográfica, Planificación Territorial y Forestal Informazio Geografikoen Sistemak, Lurralde eta Baso Antolaketaren Arloa.
dalda at hazi.eus | www.hazi.eus
T 945 003 240 – M 627 923 170 – F 945 003 290
Hazi | Granja Modelo de Arkaute s/n | 01192 Arkaute – Araba
 
*********************  LEGE OHARRA   *******************   AVISOLEGAL   *******************   DISCLAIMER   *****************************
Mezu hau pertsonala eta isilpekoa da eta baimenik gabeko erabilera debekatua dago legalki. Jasotzailea ez bazara ezabatu mezua, bidali eta kontserbatu gabe.
Este mensaje es personal y confidencial y su uso no autorizado está prohibido legalmente. Si usted no es el destinatario, proceda a borrarlo, sin reenviarlo ni conservarlo.
This message is personal and confidential, unauthorised use is legally prohibited. If you are not the intended recipient, delete it without resending or backing it.

De: Simone Dalmasso [mailto:simone.dalmasso at gmail.com]
Enviado el: lunes, 16 de noviembre de 2015 9:37
Para: David Alda Fernandez de Lezea
CC: geonode-users at lists.osgeo.org
Asunto: Re: [GeoNode-users] Error accesing geonode

Hi David, 

it seems that your settings file is not configured with the correct database. Is trying to access a file so it's likely that is configured to use sqllite. 

Regards

2015-11-16 9:25 GMT+01:00 David Alda Fernandez de Lezea <dalda at hazi.eus>:
Hi list,

I've been trying to customize the look and feel of my geonode following the instructions in  . After configuring several options and not achieving to get anything working y decide to rollback, but now while accessing my geonode app y get the following error:

OperationalError at /
unable to open database file
Request Method: GET
Request URL:    http://192.168.1.190/
Django Version: 1.6.10
Exception Type: OperationalError
Exception Value:
unable to open database file
Exception Location:     /usr/local/lib/python2.7/dist-packages/django/db/backends/sqlite3/base.py in get_new_connection, line 347
Python Executable:      /usr/bin/python
Python Version: 2.7.3
Python Path:
['/usr/lib/python2.7',
 '/usr/lib/python2.7/plat-linux2',
 '/usr/lib/python2.7/lib-tk',
 '/usr/lib/python2.7/lib-old',
 '/usr/lib/python2.7/lib-dynload',
 '/usr/local/lib/python2.7/dist-packages',
 '/usr/lib/python2.7/dist-packages',
 '/usr/lib/python2.7/dist-packages/PIL',
 '/usr/lib/python2.7/dist-packages/gst-0.10',
 '/usr/lib/python2.7/dist-packages/gtk-2.0',
 '/usr/lib/pymodules/python2.7',
 '/usr/lib/python2.7/dist-packages/ubuntu-sso-client',
 '/usr/lib/python2.7/dist-packages/ubuntuone-client',
 '/usr/lib/python2.7/dist-packages/ubuntuone-control-panel',
 '/usr/lib/python2.7/dist-packages/ubuntuone-couch',
 '/usr/lib/python2.7/dist-packages/ubuntuone-installer',
 '/usr/lib/python2.7/dist-packages/ubuntuone-storage-protocol',
 '/var/www']
Server time:    Mon, 16 Nov 2015 02:16:42 -0600

......

I can access GeoServer though.

Any ideas? Thanks in advance.

Regards,

Agur bero bat,


David Alda Fernández de Lezea
Área de Sistemas de Información Geográfica, Planificación Territorial y Forestal Informazio Geografikoen Sistemak, Lurralde eta Baso Antolaketaren Arloa.
dalda at hazi.eus | www.hazi.eus
T 945 003 240 - M 627 923 170 - F 945 003 290
Hazi | Granja Modelo de Arkaute s/n | 01192 Arkaute - Araba
 
*********************  LEGE OHARRA   *******************   AVISOLEGAL   *******************   DISCLAIMER   *****************************
Mezu hau pertsonala eta isilpekoa da eta baimenik gabeko erabilera debekatua dago legalki. Jasotzailea ez bazara ezabatu mezua, bidali eta kontserbatu gabe.
Este mensaje es personal y confidencial y su uso no autorizado está prohibido legalmente. Si usted no es el destinatario, proceda a borrarlo, sin reenviarlo ni conservarlo.
This message is personal and confidential, unauthorised use is legally prohibited. If you are not the intended recipient, delete it without resending or backing it.

_______________________________________________
geonode-users mailing list
geonode-users at lists.osgeo.org
http://lists.osgeo.org/mailman/listinfo/geonode-users




--
Simone 




--
Simone 




-- 
Simone 


More information about the geonode-users mailing list