<html>
<head>
<style><!--
.hmmessage P
{
margin:0px;
padding:0px
}
body.hmmessage
{
font-size: 12pt;
font-family:Calibri
}
--></style></head>
<body class='hmmessage'><div dir='ltr'>Dear all,<br><br>I installed geonode version<em>2.4.dev20151007120350.<br></em><br>Most of the facilities actually seems to work fine, the main problem I have is on maps.<br>I can create maps regularly, but I got a general 500 internal server error while I save<br>a map. <br>Apache2 error log stated:<br><br>[Thu Oct 08 15:30:38.037330 2015] [core:error] [pid 10101] [client X.X.X.X:50787] End of script output before headers: wsgi.py, referer: http://my_server_name/maps/new<br>[Thu Oct 08 15:30:38.292052 2015] [core:notice] [pid 2697] AH00052: child pid 10004 exit signal Segmentation fault (11)<br><br>Actually both in django admin and geonode list of the map I see the last map <br>I tried to save. However if I try to see the preview from the list of maps I got a page<br>error:<br><h1><font style="font-size: 12pt;" size="3">IndexError at /maps/109</font></h1><font style="font-size: 12pt;" size="3">
  </font><pre class="exception_value"><font style="font-size: 12pt;" size="3">list index out of range<br><br><font style="" face="Calibri,sans-serif">In apache log I have:<br><br>[Thu Oct 08 15:52:20.829988 2015] [:error] [pid 10005] Internal Server Error: /maps/109<br>[Thu Oct 08 15:52:20.830287 2015] [:error] [pid 10005] Traceback (most recent call last):<br>[Thu Oct 08 15:52:20.830456 2015] [:error] [pid 10005]   File "/usr/local/lib/python2.7/dist-packages/django/core/handlers/base.py", line 112, in get_response<br>[Thu Oct 08 15:52:20.830628 2015] [:error] [pid 10005]     response = wrapped_callback(request, *callback_args, **callback_kwargs)<br>[Thu Oct 08 15:52:20.830768 2015] [:error] [pid 10005]   File "/dati/geonode/geonode/maps/views.py", line 112, in map_detail<br>[Thu Oct 08 15:52:20.830927 2015] [:error] [pid 10005]     config = map_obj.viewer_json(request.user)<br>[Thu Oct 08 15:52:20.831154 2015] [:error] [pid 10005]   File "/dati/geonode/geonode/utils.py", line 265, in viewer_json<br>[Thu Oct 08 15:52:20.831349 2015] [:error] [pid 10005]     str(int(keys[-1]) + 1)] = settings.MAP_BASELAYERS[0]['source']<br>[Thu Oct 08 15:52:20.831526 2015] [:error] [pid 10005] IndexError: list index out of range<br><br>Just to complete the description, I have no problem with the list of the layers, I can access each layers and use them on a new map.<br>Eventually, two days ago I installed geonode in ubuntu server 12.04 and I had this problem and others, so somebody in the user list suggested me <br>to update the server OS version. Now I'm at 14.04. Yesterday when I did the dist-upgrade I had two hours of no error!!! Then I don't know (unfortunately) <br>what 's happen and I started again to have the same error.<br><br>any hints on how to overcome this issue?<br><br>best regard<br><br>Eugenio<br><br></font></font></pre><br><em></em>                                         </div></body>
</html>