[GeoNode-users] import SHP

Eugenio Trumpy frippe12573 at hotmail.com
Tue Oct 6 02:59:12 PDT 2015

Following-up the previous email, and just to help to understand the current situation,
geonode is installed in my data dir, I set a dedicated virtual host in apache2 which use the 
configuration of the previous email. I have now only one geoserver (taken from geonode installation) running
on the principle container of my tomcat6.
I tried to upload a shp having the same problem of yesterday, the error on the geonode site is related to 'Category',
whilst apache2 error.log stated:

[Tue Oct 06 11:49:41 2015] [error] [client x.x.x.x] File does not exist: /dati/geonode/geonode/static_root/proj4js, referer: http://my_server_name/layers/
[Tue Oct 06 11:49:42 2015] [error] [client x.x.x.x] File does not exist: /dati/geonode/geonode/static_root/proj4js, referer: http://my_server_name/layers/
[Tue Oct 06 04:50:03 2015] [error] 'category'
[Tue Oct 06 04:50:03 2015] [error] Traceback (most recent call last):
[Tue Oct 06 04:50:03 2015] [error]   File "/dati/geonode/geonode/layers/views.py", line 155, in layer_upload
[Tue Oct 06 04:50:03 2015] [error]     topic_id = form.cleaned_data["category"]
[Tue Oct 06 04:50:03 2015] [error] KeyError: 'category'

proj4js actually is missing.
any hints on that?

Then I tested the shp upload directly from geoserver, and then I used the updatelayers command, everthings is fine, I got even the thumbnail.
Documents are uploaded correctly. I can download and I got the thumbnail (actually the one undefined, but it is correct I guess).

I see the list of the maps, and I have no errors on creating maps, however on saving I still have the same issues, error 500. In apache error log I have:

Premature end of script headers: wsgi.py, referer: http://my_server_name/maps/new
[Tue Oct 06 11:45:43 2015] [notice] child pid 2833 exit signal Segmentation fault (11)

What does it mean?



> From: pcorti at gmail.com
> Date: Tue, 6 Oct 2015 09:17:10 +0200
> Subject: Re: [GeoNode-users] import SHP
> To: frippe12573 at hotmail.com
> CC: geonode-users at lists.osgeo.org
> On Mon, Oct 5, 2015 at 4:24 PM, Eugenio Trumpy <frippe12573 at hotmail.com> wrote:
> > Hi Paolo,
> >
> > what do you mean with 'webserver is using correct settins file',
> > how can I check it out?
> >
> > E.
> >
> I mean to make sure that Apache/nginx/xyz is reading the same GeoNode
> configuration file you are reading using the python shell.
> Apparently it is parsing an empty MAP_BASELAYERS list.
> best
> p
> -- 
> Paolo Corti
> Geospatial software developer
> web: http://www.paolocorti.net
> twitter: @capooti
> skype: capooti
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.osgeo.org/pipermail/geonode-users/attachments/20151006/10697090/attachment.html>

More information about the geonode-users mailing list