[GeoNode-users] import SHP
Eugenio Trumpy
frippe12573 at hotmail.com
Mon Oct 5 02:47:13 PDT 2015
Dear Paolo,
follow-up your suggestion I started again from scratch.
I followed the guide at:
http://docs.geonode.org/en/latest/tutorials/admin/install/custom_install.html#custom-install
I did all what is indicated, however I modify the command suggested:
python manage.py syncdb --noinput --all
removing --all, in such way I got no errors.
Another difference is on the webserver host config, since the root directories are not in the normal /var/www,
but they are in /dati, so I set up the alias for geonode.
Eventually, as you suggested, I stopped my main geoerver (and temporarily renamed) so I can use the geoserver provided
by geonode in the main tomcat container.
Geonode respond to the call from the web browser, I see the portal, it seems to work fine in term of users, login,
page links, but trying to upload a shape file I have malfunctioning, the shp file has not been uploaded
and no errors were stated in the apache2 error log, and even in the geoserver.
Geoserver answers correctly, I see the home page (no error in its log file, only INFO and pair of WARN).
No error on create map function, the webgis interface doesn't report error, however if I seve the map I got
500 internal server error, and apache refers:
[Mon Oct 05 11:34:13 2015] [error] [client x.x.x.x] Premature end of script headers: wsgi.py, referer: http://my_server_name/maps/new
[Mon Oct 05 11:34:13 2015] [notice] child pid 23331 exit signal Segmentation fault (11).
As happen last week the map are stored so far, I see that one in the map list, and clicking on the thumbnail (which does not appear)
I have the same lines in apache2 error log and the same error page:
[Mon Oct 05 04:36:20 2015] [error] Internal Server Error: /maps/4
[Mon Oct 05 04:36:20 2015] [error] Traceback (most recent call last):
[Mon Oct 05 04:36:20 2015] [error] File "/usr/local/lib/python2.7/dist-packages/django/core/handlers/base.py", line 112, in get_response
[Mon Oct 05 04:36:20 2015] [error] response = wrapped_callback(request, *callback_args, **callback_kwargs)
[Mon Oct 05 04:36:20 2015] [error] File "/dati/geonode/geonode/maps/views.py", line 112, in map_detail
[Mon Oct 05 04:36:20 2015] [error] config = map_obj.viewer_json(request.user)
[Mon Oct 05 04:36:20 2015] [error] File "/dati/geonode/geonode/utils.py", line 266, in viewer_json
[Mon Oct 05 04:36:20 2015] [error] str(int(keys[-1]) + 1)] = settings.MAP_BASELAYERS[0]['source']
[Mon Oct 05 04:36:20 2015] [error] IndexError: list index out of range
Document can be upoloaded and accessed by geonode, only the thumbnail, seems to be not available.
Eventually some errors occur unfortunately, I wonder if some of them depend on the permits on the directories (e.g. the thumbnails not visible),
others on the paths (e.g. the links to maps) and others on geoserver authentication problems (even if the log does not reported it).
Simone suggested me to work with the debugging tools, but I'm not so skilled on them and I never used them, however if I need and if somebody give me
the hints I would try.
Thank you again for you patience,
best
Eugenio
> From: pcorti at gmail.com
> Date: Fri, 2 Oct 2015 14:17:21 +0200
> Subject: Re: [GeoNode-users] import SHP
> To: frippe12573 at hotmail.com
> CC: geonode-users at lists.osgeo.org
>
> On Fri, Oct 2, 2015 at 1:25 PM, Eugenio Trumpy <frippe12573 at hotmail.com> wrote:
> > Hi Paolo,
> >
> > unfortunately I still have problem on import shp file.
> > As I said before the /uploaded is owned by www-data (even same group),
> > also geonode installation has the same credential (www-data:www-data 755).
> > Geonode directory is inside my data dir, owned by me (eugenio:eugenio 755).
> > The user eugenio belongs to www-data group.
> > Is that config right?
> >
> > I think my problem could be related even to geoserver (the one I set
> > dedicated to geonode),
> > as by geonode I can see the new layer, but I cannot visualize it on the map.
> >
> > Can you give me some hints?
> >
>
> Hi Eugenio
> I think that unluckily your configuration is messed up.
> Could you try to reinstall GeoNode, and only after it is working add
> on top of it the other GeoServer?
> cheers
> 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/20151005/5e1e49bd/attachment.html>
More information about the geonode-users
mailing list