<div dir="ltr">That is fine,<div><br></div><div>actually the place originating the error could be here <a href="https://github.com/GeoNode/geonode/blob/master/geonode/settings.py#L904">https://github.com/GeoNode/geonode/blob/master/geonode/settings.py#L904</a>, you can dig a bit there to see what's going wrong.</div></div><div class="gmail_extra"><br><div class="gmail_quote">2015-09-29 10:35 GMT+02:00 Eugenio Trumpy <span dir="ltr"><<a href="mailto:frippe12573@hotmail.com" target="_blank">frippe12573@hotmail.com</a>></span>:<br><blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex">
<div><div dir="ltr">settings.py has 0755 premisses, the user and group belonging to is www-data<br><br>Is that correct?<br><br>E. <br><br><div><hr>From: <a href="mailto:simone.dalmasso@gmail.com" target="_blank">simone.dalmasso@gmail.com</a><br>Date: Tue, 29 Sep 2015 10:20:26 +0200<br>Subject: Re: error on saving maps<br>To: <a href="mailto:frippe12573@hotmail.com" target="_blank">frippe12573@hotmail.com</a><br>CC: <a href="mailto:geonode-users@lists.osgeo.org" target="_blank">geonode-users@lists.osgeo.org</a><br><br><div dir="ltr">The error is that GeoNode can't read this list <a href="https://github.com/GeoNode/geonode/blob/master/geonode/settings.py#L605" target="_blank">https://github.com/GeoNode/geonode/blob/master/geonode/settings.py#L605</a>, properly.<div>It may depend of an incorrect settings import.</div></div><div><br><div>2015-09-29 10:17 GMT+02:00 Eugenio Trumpy <span dir="ltr"><<a href="mailto:frippe12573@hotmail.com" target="_blank">frippe12573@hotmail.com</a>></span>:<br><blockquote style="border-left:1px #ccc solid;padding-left:1ex">
<div><div dir="ltr">Hi Simone,<br><br>actually I didn't modify such file and/or MAP_BASELAYER.<br>What do you mean, saying settings are not imported correctly?<br><br>E.<br><br><div><hr>From: <a href="mailto:simone.dalmasso@gmail.com" target="_blank">simone.dalmasso@gmail.com</a><br>Date: Tue, 29 Sep 2015 10:10:15 +0200<br>Subject: Re: error on saving maps<br>To: <a href="mailto:frippe12573@hotmail.com" target="_blank">frippe12573@hotmail.com</a><br>CC: <a href="mailto:geonode-users@lists.osgeo.org" target="_blank">geonode-users@lists.osgeo.org</a><br><br><div dir="ltr">Eugenio, perhaps you modified the MAP_BASELAYERS from the settings?<div><a href="https://github.com/GeoNode/geonode/blob/master/geonode/utils.py#L266" target="_blank">https://github.com/GeoNode/geonode/blob/master/geonode/utils.py#L266</a> or the settings are not imported correctly</div></div><div><br><div>2015-09-29 10:00 GMT+02:00 Eugenio Trumpy <span dir="ltr"><<a href="mailto:frippe12573@hotmail.com" target="_blank">frippe12573@hotmail.com</a>></span>:<br><blockquote style="border-left:1px #ccc solid;padding-left:1ex">
<div><div dir="ltr">Dear all,<br><br>I just solved my problems on geoserver version provided by geonode.<br>Now a new problem appears on saving maps.<br>I have no errors on creating a map, when I save a new map I got an error,<br><br><span>The server returned an error: 500 Internal Server Error<br><br>so my apache2 error log havs:<br><br></span>[Tue Sep 29 09:47:45 2015] [error] [client x.x.x.x] Premature end of script headers: wsgi.py, referer: <a href="http://my_server_name/maps/new" target="_blank">http://my_server_name/maps/new</a><br>[Tue Sep 29 09:47:45 2015] [notice] child pid 15764 exit signal Segmentation fault (11)<br><br>Actually on maps page of geonode I see the new map, without title and thumbnail.<br>If I click to view such map a page error appears:<br><br><h1>IndexError at /maps/89</h1>
<pre>list index out of range</pre>
<table><tbody><tr>
<th>Request Method:</th>
<td>GET</td>
</tr>
<tr>
<th>Request URL:</th>
<td><a href="http://my_server_name/maps/89" target="_blank">http://my_server_name/maps/89</a></td>
</tr>
<tr>
<th>Django Version:</th>
<td>1.6.10</td>
</tr>
<tr>
<th>Exception Type:</th>
<td>IndexError</td>
</tr>
<tr>
<th>Exception Value:</th>
<td><pre>list index out of range</pre></td>
</tr>
<tr>
<th>Exception Location:</th>
<td>/dati/geonode/geonode/utils.py in viewer_json, line 266</td>
</tr>
<tr>
<th>Python Executable:</th>
<td>/usr/bin/python</td>
</tr>
<tr>
<th>Python Version:</th>
<td>2.7.3</td>
</tr>
<tr>
<th>Python Path:</th>
<td><pre>['/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']</pre></td>
</tr>
<tr>
<th>Server time:</th>
<td>Tue, 29 Sep 2015 09:59:48 +0200</td></tr></tbody></table><br><br>Any hints on this issue?<br><br>Regards<span><font color="#888888"><br><br>Eugenio<br><br><span><font color="#888888"> </font></span></font></span></div></div><span><font color="#888888">
</font></span></blockquote></div><span><font color="#888888"><br><br clear="all"><span class="HOEnZb"><font color="#888888"><div><br></div>-- <br><div>Simone </div>
</font></span></font></span></div></div><span class="HOEnZb"><font color="#888888"> </font></span></div></div><span class="HOEnZb"><font color="#888888">
</font></span></blockquote></div><span class="HOEnZb"><font color="#888888"><br><br clear="all"><div><br></div>-- <br><div>Simone </div>
</font></span></div></div> </div></div>
</blockquote></div><br><br clear="all"><div><br></div>-- <br><div class="gmail_signature">Simone </div>
</div>