<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'>Hi,<br><br>in a fresh geonode installation, from git (version <em>2.4.dev20151216081626) </em>on ubuntu 14.04,<br>once I upload without error a shp file I see it on the layers list. By click on the layer uploaded <br>I got the page error, which start as:<br><br><div id="summary">
<h1>IndexError at /layers/geonode:reg2001_s_wgs84utm33_1</h1>
<pre class="exception_value">list index out of range</pre>
<table class="meta">
<tbody><tr>
<th>Request Method:</th>
<td>GET</td>
</tr>
<tr>
<th>Request URL:</th>
<td>http://my_name_server/layers/geonode:reg2001_s_wgs84utm33_1</td>
</tr>
<tr>
<th>Django Version:</th>
<td>1.6.11</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/layers/models.py in absolute_url, line 68</td>
</tr>
<tr>
<th>Python Executable:</th>
<td>/usr/bin/python</td>
</tr>
<tr>
<th>Python Version:</th>
<td>2.7.6</td>
</tr>
<tr>
<th>Python Path:</th>
<td><pre>['/dati/geonode/.venvs/geonode/lib/python2.7/site-packages',
'/dati/geonode',
'/usr/lib/python2.7',
'/usr/lib/python2.7/plat-x86_64-linux-gnu',
'/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/PILcompat',
'/home/eugenio']</pre></td>
</tr>
<tr>
<th>Server time:</th>
<td>Wed, 16 Dec 2015 11:14:34 -0600</td>
</tr>
</tbody></table>
</div>
<h2>Error during template rendering</h2>
In template <code>/dati/geonode/geonode/layers/templates/layers/layer_detail.html</code>, error at line <strong>322</strong><BR><br><br>the line 322 is:<br><br><a href="{{ GEOSERVER_BASE_URL }}<span class="specific">{{ style.absolute_url }}</span>" >{{ style.sld_title }}</a><br><br>in apache error.log I got:<br><br>[Wed Dec 16 11:14:34.197809 2015] [:error] [pid 25667] Internal Server Error: /layers/geonode:reg2001_s_wgs84utm33_1<br>[Wed Dec 16 11:14:34.197933 2015] [:error] [pid 25667] Traceback (most recent call last):<br>[Wed Dec 16 11:14:34.197939 2015] [:error] [pid 25667] File "/usr/local/lib/python2.7/dist-packages/django/core/handlers/base.py", line 112, in get_response<br>[Wed Dec 16 11:14:34.197943 2015] [:error] [pid 25667] response = wrapped_callback(request, *callback_args, **callback_kwargs)<br>[Wed Dec 16 11:14:34.197946 2015] [:error] [pid 25667] File "/dati/geonode/geonode/layers/views.py", line 294, in layer_detail<br>[Wed Dec 16 11:14:34.197949 2015] [:error] [pid 25667] return render_to_response(template, RequestContext(request, context_dict))<br>[Wed Dec 16 11:14:34.197952 2015] [:error] [pid 25667] File "/usr/local/lib/python2.7/dist-packages/django/shortcuts/__init__.py", line 29, in render_to_response<br>[Wed Dec 16 11:14:34.197956 2015] [:error] [pid 25667] return HttpResponse(loader.render_to_string(*args, **kwargs), **httpresponse_kwargs)<br>[Wed Dec 16 11:14:34.197959 2015] [:error] [pid 25667] File "/usr/local/lib/python2.7/dist-packages/django/template/loader.py", line 164, in render_to_string<br>[Wed Dec 16 11:14:34.197962 2015] [:error] [pid 25667] return t.render(Context(dictionary))<br>[Wed Dec 16 11:14:34.197964 2015] [:error] [pid 25667] File "/usr/local/lib/python2.7/dist-packages/django/template/base.py", line 140, in render<br>[Wed Dec 16 11:14:34.197967 2015] [:error] [pid 25667] return self._render(context)<br>[Wed Dec 16 11:14:34.197970 2015] [:error] [pid 25667] File "/usr/local/lib/python2.7/dist-packages/django/template/base.py", line 134, in _render<br>[Wed Dec 16 11:14:34.197973 2015] [:error] [pid 25667] return self.nodelist.render(context)<br>[Wed Dec 16 11:14:34.198001 2015] [:error] [pid 25667] File "/usr/local/lib/python2.7/dist-packages/django/template/base.py", line 840, in render<br>[Wed Dec 16 11:14:34.198007 2015] [:error] [pid 25667] bit = self.render_node(node, context)<br>[Wed Dec 16 11:14:34.198010 2015] [:error] [pid 25667] File "/usr/local/lib/python2.7/dist-packages/django/template/debug.py", line 78, in render_node<br>[Wed Dec 16 11:14:34.198013 2015] [:error] [pid 25667] return node.render(context)<br>[Wed Dec 16 11:14:34.198015 2015] [:error] [pid 25667] File "/usr/local/lib/python2.7/dist-packages/django/template/loader_tags.py", line 123, in render<br>[Wed Dec 16 11:14:34.198018 2015] [:error] [pid 25667] return compiled_parent._render(context)<br>[Wed Dec 16 11:14:34.198021 2015] [:error] [pid 25667] File "/usr/local/lib/python2.7/dist-packages/django/template/base.py", line 134, in _render<br>[Wed Dec 16 11:14:34.198024 2015] [:error] [pid 25667] return self.nodelist.render(context)<br>[Wed Dec 16 11:14:34.198027 2015] [:error] [pid 25667] File "/usr/local/lib/python2.7/dist-packages/django/template/base.py", line 840, in render<br>[Wed Dec 16 11:14:34.198029 2015] [:error] [pid 25667] bit = self.render_node(node, context)<br>[Wed Dec 16 11:14:34.198032 2015] [:error] [pid 25667] File "/usr/local/lib/python2.7/dist-packages/django/template/debug.py", line 78, in render_node<br>[Wed Dec 16 11:14:34.198035 2015] [:error] [pid 25667] return node.render(context)<br>[Wed Dec 16 11:14:34.198037 2015] [:error] [pid 25667] File "/usr/local/lib/python2.7/dist-packages/django/template/loader_tags.py", line 123, in render<br>[Wed Dec 16 11:14:34.198040 2015] [:error] [pid 25667] return compiled_parent._render(context)<br>[Wed Dec 16 11:14:34.198048 2015] [:error] [pid 25667] File "/usr/local/lib/python2.7/dist-packages/django/template/base.py", line 134, in _render<br>[Wed Dec 16 11:14:34.198051 2015] [:error] [pid 25667] return self.nodelist.render(context)<br>[Wed Dec 16 11:14:34.198054 2015] [:error] [pid 25667] File "/usr/local/lib/python2.7/dist-packages/django/template/base.py", line 840, in render<br>[Wed Dec 16 11:14:34.198057 2015] [:error] [pid 25667] bit = self.render_node(node, context)<br>[Wed Dec 16 11:14:34.198059 2015] [:error] [pid 25667] File "/usr/local/lib/python2.7/dist-packages/django/template/debug.py", line 78, in render_node<br>[Wed Dec 16 11:14:34.198062 2015] [:error] [pid 25667] return node.render(context)<br>[Wed Dec 16 11:14:34.198065 2015] [:error] [pid 25667] File "/usr/local/lib/python2.7/dist-packages/django/template/loader_tags.py", line 123, in render<br>[Wed Dec 16 11:14:34.198097 2015] [:error] [pid 25667] return compiled_parent._render(context)<br>[Wed Dec 16 11:14:34.198159 2015] [:error] [pid 25667] File "/usr/local/lib/python2.7/dist-packages/django/template/base.py", line 134, in _render<br>[Wed Dec 16 11:14:34.198170 2015] [:error] [pid 25667] return self.nodelist.render(context)<br>[Wed Dec 16 11:14:34.198213 2015] [:error] [pid 25667] File "/usr/local/lib/python2.7/dist-packages/django/template/base.py", line 840, in render<br>[Wed Dec 16 11:14:34.198231 2015] [:error] [pid 25667] bit = self.render_node(node, context)<br>[Wed Dec 16 11:14:34.198250 2015] [:error] [pid 25667] File "/usr/local/lib/python2.7/dist-packages/django/template/debug.py", line 78, in render_node<br>[Wed Dec 16 11:14:34.198263 2015] [:error] [pid 25667] return node.render(context)<br>[Wed Dec 16 11:14:34.198276 2015] [:error] [pid 25667] File "/usr/local/lib/python2.7/dist-packages/django/template/loader_tags.py", line 62, in render<br>[Wed Dec 16 11:14:34.198289 2015] [:error] [pid 25667] result = block.nodelist.render(context)<br>[Wed Dec 16 11:14:34.198315 2015] [:error] [pid 25667] File "/usr/local/lib/python2.7/dist-packages/django/template/base.py", line 840, in render<br>[Wed Dec 16 11:14:34.198330 2015] [:error] [pid 25667] bit = self.render_node(node, context)<br>[Wed Dec 16 11:14:34.198342 2015] [:error] [pid 25667] File "/usr/local/lib/python2.7/dist-packages/django/template/debug.py", line 78, in render_node<br>[Wed Dec 16 11:14:34.198414 2015] [:error] [pid 25667] return node.render(context)<br>[Wed Dec 16 11:14:34.198429 2015] [:error] [pid 25667] File "/usr/local/lib/python2.7/dist-packages/django/template/loader_tags.py", line 62, in render<br>[Wed Dec 16 11:14:34.198442 2015] [:error] [pid 25667] result = block.nodelist.render(context)<br>[Wed Dec 16 11:14:34.198455 2015] [:error] [pid 25667] File "/usr/local/lib/python2.7/dist-packages/django/template/base.py", line 840, in render<br>[Wed Dec 16 11:14:34.198467 2015] [:error] [pid 25667] bit = self.render_node(node, context)<br>[Wed Dec 16 11:14:34.198480 2015] [:error] [pid 25667] File "/usr/local/lib/python2.7/dist-packages/django/template/debug.py", line 78, in render_node<br>[Wed Dec 16 11:14:34.198493 2015] [:error] [pid 25667] return node.render(context)<br>[Wed Dec 16 11:14:34.198506 2015] [:error] [pid 25667] File "/usr/local/lib/python2.7/dist-packages/django/template/defaulttags.py", line 305, in render<br>[Wed Dec 16 11:14:34.198518 2015] [:error] [pid 25667] return nodelist.render(context)<br>[Wed Dec 16 11:14:34.198531 2015] [:error] [pid 25667] File "/usr/local/lib/python2.7/dist-packages/django/template/base.py", line 840, in render<br>[Wed Dec 16 11:14:34.198544 2015] [:error] [pid 25667] bit = self.render_node(node, context)<br>[Wed Dec 16 11:14:34.198556 2015] [:error] [pid 25667] File "/usr/local/lib/python2.7/dist-packages/django/template/debug.py", line 78, in render_node<br>[Wed Dec 16 11:14:34.198569 2015] [:error] [pid 25667] return node.render(context)<br>[Wed Dec 16 11:14:34.198582 2015] [:error] [pid 25667] File "/usr/local/lib/python2.7/dist-packages/django/template/defaulttags.py", line 196, in render<br>[Wed Dec 16 11:14:34.198594 2015] [:error] [pid 25667] nodelist.append(node.render(context))<br>[Wed Dec 16 11:14:34.198607 2015] [:error] [pid 25667] File "/usr/local/lib/python2.7/dist-packages/django/template/debug.py", line 88, in render<br>[Wed Dec 16 11:14:34.198620 2015] [:error] [pid 25667] output = self.filter_expression.resolve(context)<br>[Wed Dec 16 11:14:34.198632 2015] [:error] [pid 25667] File "/usr/local/lib/python2.7/dist-packages/django/template/base.py", line 585, in resolve<br>[Wed Dec 16 11:14:34.198645 2015] [:error] [pid 25667] obj = self.var.resolve(context)<br>[Wed Dec 16 11:14:34.198658 2015] [:error] [pid 25667] File "/usr/local/lib/python2.7/dist-packages/django/template/base.py", line 735, in resolve<br>[Wed Dec 16 11:14:34.198671 2015] [:error] [pid 25667] value = self._resolve_lookup(context)<br>[Wed Dec 16 11:14:34.198683 2015] [:error] [pid 25667] File "/usr/local/lib/python2.7/dist-packages/django/template/base.py", line 789, in _resolve_lookup<br>[Wed Dec 16 11:14:34.198696 2015] [:error] [pid 25667] current = current()<br>[Wed Dec 16 11:14:34.198709 2015] [:error] [pid 25667] File "/dati/geonode/geonode/layers/models.py", line 68, in absolute_url<br>[Wed Dec 16 11:14:34.198721 2015] [:error] [pid 25667] return self.sld_url.split('geoserver/', 1)[1]<br>[Wed Dec 16 11:14:34.198734 2015] [:error] [pid 25667] IndexError: list index out of range<br><br><br>what does it means? Did I configure something wrong? or is a known issue?<br><br>best regards<br><br>Eugenio<em><br></em> </div></body>
</html>