[GeoNode-users] error on saving maps

Simone Dalmasso simone.dalmasso at gmail.com
Tue Sep 29 01:20:26 PDT 2015


The error is that GeoNode can't read this list
https://github.com/GeoNode/geonode/blob/master/geonode/settings.py#L605,
properly.
It may depend of an incorrect settings import.

2015-09-29 10:17 GMT+02:00 Eugenio Trumpy <frippe12573 at hotmail.com>:

> Hi Simone,
>
> actually I didn't modify such file and/or MAP_BASELAYER.
> What do you mean, saying settings are not imported correctly?
>
> E.
>
> ------------------------------
> From: simone.dalmasso at gmail.com
> Date: Tue, 29 Sep 2015 10:10:15 +0200
> Subject: Re: error on saving maps
> To: frippe12573 at hotmail.com
> CC: geonode-users at lists.osgeo.org
>
> Eugenio, perhaps you modified the MAP_BASELAYERS from the settings?
> https://github.com/GeoNode/geonode/blob/master/geonode/utils.py#L266 or
> the settings are not imported correctly
>
> 2015-09-29 10:00 GMT+02:00 Eugenio Trumpy <frippe12573 at hotmail.com>:
>
> Dear all,
>
> I just solved my problems on geoserver version provided by geonode.
> Now a new problem appears on saving maps.
> I have no errors on creating a map, when I save a new map I got an error,
>
> The server returned an error: 500 Internal Server Error
>
> so my apache2 error log havs:
>
> [Tue Sep 29 09:47:45 2015] [error] [client x.x.x.x] Premature end of
> script headers: wsgi.py, referer: http://my_server_name/maps/new
> [Tue Sep 29 09:47:45 2015] [notice] child pid 15764 exit signal
> Segmentation fault (11)
>
> Actually on maps page of geonode I see the new map, without title and
> thumbnail.
> If I click to view such map a page error appears:
>
> IndexError at /maps/89
>
> list index out of range
>
> Request Method: GET Request URL: http://my_server_name/maps/89 Django
> Version: 1.6.10 Exception Type: IndexError Exception Value:
>
> list index out of range
>
> Exception Location: /dati/geonode/geonode/utils.py in viewer_json, line
> 266 Python Executable: /usr/bin/python Python Version: 2.7.3 Python Path:
>
> ['/dati/.venvs/geonode/lib/python2.7/site-packages',
>  '/usr/local/lib/python2.7/dist-packages/virtualenv-1.8.4-py2.7.egg',
>  '/usr/local/lib/python2.7/dist-packages/pip-1.2.1-py2.7.egg',
>  '/dati/geonode',
>  '/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/pymodules/python2.7',
>  '/var/www']
>
> Server time: Tue, 29 Sep 2015 09:59:48 +0200
>
> Any hints on this issue?
>
> Regards
>
> Eugenio
>
>
>
>
> --
> Simone
>



-- 
Simone
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.osgeo.org/pipermail/geonode-users/attachments/20150929/8e5133b3/attachment-0001.html>


More information about the geonode-users mailing list