[GeoNode-users] Never ending story [was - RE: I can't pubishing map: internal error server ]

Simone Dalmasso simone.dalmasso at gmail.com
Thu Feb 25 02:52:55 PST 2016


ok, and the pyproj that you have installed?

>>> import pyproj
>>> pyproj.__version__

I have the 1.9.3 and all is fine.
also, are those lines exactly like this in your code?
https://github.com/GeoNode/geonode/blob/master/geonode/base/models.py#L419

2016-02-25 11:44 GMT+01:00 Eugenio Trumpy <frippe12573 at hotmail.com>:

> Yes it happens on all the created maps.
> pyproj>=1.9.3
>
> E.
>
> ------------------------------
> From: simone.dalmasso at gmail.com
> Date: Thu, 25 Feb 2016 11:28:16 +0100
> Subject: Re: [GeoNode-users] Never ending story [was - RE: I can't
> pubishing map: internal error server ]
> To: frippe12573 at hotmail.com
> CC: ivojfs at gmail.com; enzo.ccc at gmail.com; geonode-users at lists.osgeo.org
>
> This is not related to php but to pyproj, is this happening on every map?
> What is the version of pyproj?
>
> 2016-02-25 11:15 GMT+01:00 Eugenio Trumpy <frippe12573 at hotmail.com>:
>
> Hi all,
>
> as in the object of the email, unfortunately I have again problem on
> saving map.
> here below the logo from apache error.log:
>
> [Thu Feb 25 04:10:55.881856 2016] [:error] [pid 16212:tid 139834508769024]
> Internal Server Error: /maps/8/data
> [Thu Feb 25 04:10:55.881932 2016] [:error] [pid 16212:tid 139834508769024]
> Traceback (most recent call last):
> [Thu Feb 25 04:10:55.881939 2016] [:error] [pid 16212:tid
> 139834508769024]   File
> "/usr/local/lib/python2.7/dist-packages/django/core/handlers/base.py", line
> 112, in get_response
> [Thu Feb 25 04:10:55.881943 2016] [:error] [pid 16212:tid
> 139834508769024]     response = wrapped_callback(request, *callback_args,
> **callback_kwargs)
> [Thu Feb 25 04:10:55.881947 2016] [:error] [pid 16212:tid
> 139834508769024]   File "/dati/geonode/geonode/maps/views.py", line 348, in
> map_json
> [Thu Feb 25 04:10:55.881950 2016] [:error] [pid 16212:tid
> 139834508769024]     map_obj.update_from_viewer(request.body)
> [Thu Feb 25 04:10:55.882025 2016] [:error] [pid 16212:tid
> 139834508769024]   File "/dati/geonode/geonode/maps/models.py", line 173,
> in update_from_viewer
> [Thu Feb 25 04:10:55.882032 2016] [:error] [pid 16212:tid
> 139834508769024]     conf['map']['zoom'])
> [Thu Feb 25 04:10:55.882036 2016] [:error] [pid 16212:tid
> 139834508769024]   File "/dati/geonode/geonode/base/models.py", line 428,
> in set_bounds_from_center_and_zoom
> [Thu Feb 25 04:10:55.882040 2016] [:error] [pid 16212:tid
> 139834508769024]     lon, lat = get_lon_lat()
> [Thu Feb 25 04:10:55.882043 2016] [:error] [pid 16212:tid
> 139834508769024]   File "/dati/geonode/geonode/base/models.py", line 420,
> in get_lon_lat
> [Thu Feb 25 04:10:55.882559 2016] [:error] [pid 16212:tid
> 139834508769024]     lon, lat = transform(mercator, wgs84, center_x,
> center_y)
> [Thu Feb 25 04:10:55.882731 2016] [:error] [pid 16212:tid
> 139834508769024]   File
> "/usr/local/lib/python2.7/dist-packages/pyproj/__init__.py", line 504, in
> transform
> [Thu Feb 25 04:10:55.882898 2016] [:error] [pid 16212:tid
> 139834508769024]     _proj._transform(p1,p2,inx,iny,inz,radians)
> [Thu Feb 25 04:10:55.883059 2016] [:error] [pid 16212:tid
> 139834508769024]   File "_proj.pyx", line 361, in _proj._transform
> (_proj.c:3762)
> [Thu Feb 25 04:10:55.883319 2016] [:error] [pid 16212:tid 139834508769024]
> RuntimeError: geocentric transformation missing z or ellps
> [Thu Feb 25 11:10:56.655521 2016] [core:notice] [pid 16206:tid
> 139834940630912] AH00051: child pid 16212 exit signal Segmentation fault
> (11), possible coredump in /tmp/core-dump
>
> I want remember that now I'm using php-fpm module as Enzo suggested.
>
> Any Idea?
>
> E.
>
> ------------------------------
> Date: Wed, 17 Feb 2016 12:37:06 +0000
> Subject: Re: [GeoNode-users] I can't pubishing map: internal error server
> From: ivojfs at gmail.com
> To: enzo.ccc at gmail.com
> CC: frippe12573 at hotmail.com; geonode-users at lists.osgeo.org
>
> Ok, thank you.
>
> 2016-02-17 12:30 GMT+00:00 Enzo Cocca <enzo.ccc at gmail.com>:
>
> yes in geonode.conf
>
> 2016-02-17 13:18 GMT+01:00 Ivo Santos <ivojfs at gmail.com>:
>
> Hi everyone,
>
> It works with my instalation also. Perfect! Thank you!
> The apache configuration Enzo suggested is on geonode.conf? I am asking
> because everything is working on my server (geonode and all the other
> websites).
>
> Best regards,
> Ivo
>
> 2016-02-16 16:30 GMT+00:00 Eugenio Trumpy <frippe12573 at hotmail.com>:
>
> Hi Enzo,
>
> I just tried the solution you proposed. Actually it works! I'm happy for
> that.
> Of course a curiosity still remain: I don't know why in the server setup
> for test
> the module wsgi doesn't crash with module php5.
>
> Thank you again,
>
> best
>
> Eugenio
>
> ------------------------------
> Date: Fri, 12 Feb 2016 18:14:13 +0100
> Subject: Re: [GeoNode-users] I can't pubishing map: internal error server
> From: enzo.ccc at gmail.com
> To: frippe12573 at hotmail.com; geonode-users at lists.osgeo.org
>
>
> maybe the solution is simple:
> try to use libapache-mod-fcgid and php5-fpm and disable mod-php5
>
> but you need install
>
> example in apache configuration:
>
> <Directory /var/www/app/>
>   AddHandler fcgid-script .php
>   FCGIWrapper /usr/bin/php .php
>   Options ExecCGI
> </Directory>
>
>
>   ciao
>
> E
>
> 2016-02-10 16:55 GMT+01:00 Eugenio Trumpy <frippe12573 at hotmail.com>:
>
> Hi all,
>
> just to update all of you, yesterday I restarted the installation from
> scratch. I follow the administrator installation guide,
> of course taking into consideration my system.
> I installed again geonode from git, deleted and re-installed the DBs in my
> already running postgresql-postgis and deploy again geoserver
> obtained after paver server start action.
> This time I also deleted all the packages already downloaded in
> /usr/local/lib/python2.7/site-packages in order to let pip install -e . to
> get
> packages required again.
>
> Everything went well, and almost the functionalities works fine, again
> excluding saving a new map.
> Here below the error I got on apache error.log:
>
>
> Wed Feb 10 09:22:25.197172 2016] [:error] [pid 25962] Internal Server
> Error: /maps/new/data
> [Wed Feb 10 09:22:25.197247 2016] [:error] [pid 25962] Traceback (most
> recent call last):
> [Wed Feb 10 09:22:25.197256 2016] [:error] [pid 25962]   File
> "/usr/local/lib/python2.7/dist-packages/django/core/handlers/base.py", line
> 112, in get_response
> [Wed Feb 10 09:22:25.197261 2016] [:error] [pid 25962]     response =
> wrapped_callback(request, *callback_args, **callback_kwargs)
> [Wed Feb 10 09:22:25.197266 2016] [:error] [pid 25962]   File
> "/dati/geonode/geonode/maps/views.py", line 428, in new_map_json
> [Wed Feb 10 09:22:25.197270 2016] [:error] [pid 25962]
> map_obj.update_from_viewer(body)
> [Wed Feb 10 09:22:25.197274 2016] [:error] [pid 25962]   File
> "/dati/geonode/geonode/maps/models.py", line 173, in update_from_viewer
> [Wed Feb 10 09:22:25.197279 2016] [:error] [pid 25962]
> conf['map']['zoom'])
> [Wed Feb 10 09:22:25.197283 2016] [:error] [pid 25962]   File
> "/dati/geonode/geonode/base/models.py", line 437, in
> set_bounds_from_center_and_zoom
> [Wed Feb 10 09:22:25.197287 2016] [:error] [pid 25962]     lon, lat =
> get_lon_lat()
> [Wed Feb 10 09:22:25.197292 2016] [:error] [pid 25962]   File
> "/dati/geonode/geonode/base/models.py", line 429, in get_lon_lat
> [Wed Feb 10 09:22:25.197296 2016] [:error] [pid 25962]     lon, lat =
> transform(mercator, wgs84, center_x, center_y)
> [Wed Feb 10 09:22:25.197300 2016] [:error] [pid 25962]   File
> "/usr/local/lib/python2.7/dist-packages/pyproj/__init__.py", line 504, in
> transform
> [Wed Feb 10 09:22:25.197305 2016] [:error] [pid 25962]
> _proj._transform(p1,p2,inx,iny,inz,radians)
> [Wed Feb 10 09:22:25.197309 2016] [:error] [pid 25962]   File "_proj.pyx",
> line 361, in _proj._transform (_proj.c:3762)
> [Wed Feb 10 09:22:25.197314 2016] [:error] [pid 25962] RuntimeError:
> geocentric transformation missing z or ellps
> [Wed Feb 10 16:22:26.082801 2016] [core:notice] [pid 25957] AH00051: child
> pid 25962 exit signal Segmentation fault (11), possible coredump in
> /tmp/core-dump
>
> Last line stated that a possible coredump, due to the segmentation fault,
> maybe has been created (actually not).
> In this case a new map is listed, however it is empty, which means that
> the layer I used has not been saved.
> The action create a row in the db (geonode) but almost all field are
> empty. It seems the application doesn't pass values
> in the db. I guess this fault raise the seg fault.
>
> I hope this can help to find a solution or a sort of workaround.
>
> E.
>
> ------------------------------
> Date: Tue, 9 Feb 2016 21:35:18 +0000
> Subject: Re: [GeoNode-users] I can't pubishing map: internal error server
> From: ivojfs at gmail.com
> To: simone.dalmasso at gmail.com; enzo.ccc at gmail.com;
> geonode-users at lists.osgeo.org; ingenieroariel at gmail.com;
> frippe12573 at hotmail.com
>
>
> Hi everyone,
>
> Eugenio is right, it appear's that it could be exactly the same error. I
> haven't found the solution either.
> If there's something I can do to help to find out, please let me know.
>
> Best regards,
> Ivo
>
> 2016-02-09 18:13 GMT+00:00 Enzo Cocca <enzo.ccc at gmail.com>:
>
> Hi,
> I haven't resolved the problem and I can not find the solution.
> Someone have same idea?
>
> E
>
> 2016-02-09 10:39 GMT+01:00 Enzo Cocca <enzo.ccc at gmail.com>:
>
> Hi Simone,
> I have configurated geonode like instruction
> Geonode is installed on ubuntuserver 14.04 with a ip  public adress.
>
> Every thinks work very well but just the publishing map dasn't work.
>
> So today I will review the apache configuration and I will let you know.
>
> If you have any idea about this error, please let me know
>
> Thanks
>
> E
>
> 2016-02-08 21:00 GMT+01:00 <geonode-users-request at lists.osgeo.org>:
>
> Send geonode-users mailing list submissions to
>         geonode-users at lists.osgeo.org
>
> To subscribe or unsubscribe via the World Wide Web, visit
>         http://lists.osgeo.org/mailman/listinfo/geonode-users
> or, via email, send a message with subject or body 'help' to
>         geonode-users-request at lists.osgeo.org
>
> You can reach the person managing the list at
>         geonode-users-owner at lists.osgeo.org
>
> When replying, please edit your Subject line so it is more specific
> than "Re: Contents of geonode-users digest..."
>
>
> Today's Topics:
>
>    1. Re: I can't pubishing map: internal error server (Eugenio Trumpy)
>
>
> ----------------------------------------------------------------------
>
> Message: 1
> Date: Mon, 8 Feb 2016 15:21:00 +0100
> From: Eugenio Trumpy <frippe12573 at hotmail.com>
> To: Simone Dalmasso <simone.dalmasso at gmail.com>, Enzo Cocca
>         <enzo.ccc at gmail.com>, "ivojfs at gmail.com" <ivojfs at gmail.com>
> Cc: "geonode-users at lists.osgeo.org" <geonode-users at lists.osgeo.org>
> Subject: Re: [GeoNode-users] I can't pubishing map: internal error
>         server
> Message-ID: <DUB123-W4169565D16F21E8DBC0876E5D50 at phx.gbl>
> Content-Type: text/plain; charset="iso-8859-1"
>
> Hi Enzo and Simone,
>
> this is more or less what happened to me [1] recently and, if I remember
> well, to Ivo Santos [2] in january.
> I would propose to put together the forces to solve this issue, to find
> out what is produce wsgi mod crash on apache.
>
> Best regards
>
> Eugenio
>
> [1]
> https://lists.osgeo.org/pipermail/geonode-users/2016-January/001281.html
> [2]
> https://lists.osgeo.org/pipermail/geonode-users/2016-January/001366.html
>
> From: simone.dalmasso at gmail.com
> Date: Mon, 8 Feb 2016 14:50:02 +0100
> To: enzo.ccc at gmail.com
> CC: geonode-users at lists.osgeo.org
> Subject: Re: [GeoNode-users] I can't pubishing map: internal error server
>
> Hi,
> how did you install Geonode? What is your platform? You are not the first
> that gets this error and we need as much information as possible to
> understand what configuration is causing it. The error should come from
> apache configuration see
> http://stackoverflow.com/questions/4331310/apache-with-mod-wsgi-segfaults
> 2016-02-08
> <http://stackoverflow.com/questions/4331310/apache-with-mod-wsgi-segfaults2016-02-08>
> 12:33 GMT+01:00 Enzo Cocca <enzo.ccc at gmail.com>:
> Hi,
> I can't publishing map. I have the internal error server. So in apache
> error log I have founf this problem:
>
> [Mon Feb 08 12:30:01.758476 2016] [core:error] [pid 59907] [client
> 90.147.101.142:38620] End of script output before headers: wsgi.py,
> referer: http://myipaddress/maps/new
>
> [Mon Feb 08 12:30:02.353489 2016] [core:notice] [pid 59412] AH00051:
> child pid 59416 exit signal Segmentation fault (11), possible coredump in
> /etc/apache2
>
> How can I resolve it?
>
> Thanks
>
> E
> --
> Enzo Cocca PhDin "Science and Technology for Archaeology and Cultural
> Heritage"
> mail: enzo.ccc at gmail.comcell: +393495087014
>
>
>
> _______________________________________________
>
> geonode-users mailing list
>
> geonode-users at lists.osgeo.org
>
> http://lists.osgeo.org/mailman/listinfo/geonode-users
>
>
>
>
> --
> Simone
>
>
> _______________________________________________
> geonode-users mailing list
> geonode-users at lists.osgeo.org
> http://lists.osgeo.org/mailman/listinfo/geonode-users
> -------------- next part --------------
> An HTML attachment was scrubbed...
> URL: <
> http://lists.osgeo.org/pipermail/geonode-users/attachments/20160208/8eaf4d48/attachment-0001.html
> >
>
> ------------------------------
>
> Subject: Digest Footer
>
> _______________________________________________
> geonode-users mailing list
> geonode-users at lists.osgeo.org
> http://lists.osgeo.org/mailman/listinfo/geonode-users
>
>
> ------------------------------
>
> End of geonode-users Digest, Vol 13, Issue 15
> *********************************************
>
>
>
>
> --
> Enzo Cocca PhD
> in "Science and Technology for Archaeology and Cultural Heritage"
> mail: enzo.ccc at gmail.com
> cell: +393495087014
>
>
>
>
> --
> Enzo Cocca PhD
> in "Science and Technology for Archaeology and Cultural Heritage"
> mail: enzo.ccc at gmail.com
> cell: +393495087014
>
>
> _______________________________________________
> geonode-users mailing list
> geonode-users at lists.osgeo.org
> http://lists.osgeo.org/mailman/listinfo/geonode-users
>
>
>
>
> --
> Ivo Santos
>
>
>
>
> --
> Enzo Cocca PhD
> in "Science and Technology for Archaeology and Cultural Heritage"
> mail: enzo.ccc at gmail.com
> cell: +393495087014
>
>
> _______________________________________________
> geonode-users mailing list
> geonode-users at lists.osgeo.org
> http://lists.osgeo.org/mailman/listinfo/geonode-users
>
>
>
>
> --
> Ivo Santos
>
>
>
>
> --
> Enzo Cocca PhD
> in "Science and Technology for Archaeology and Cultural Heritage"
> mail: enzo.ccc at gmail.com
> cell: +393495087014
>
>
>
>
> --
> Ivo Santos
>
> _______________________________________________
> geonode-users mailing list
> geonode-users at lists.osgeo.org
> http://lists.osgeo.org/mailman/listinfo/geonode-users
>
>
>
>
> --
> Simone
>



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


More information about the geonode-users mailing list