<html>
  <head>
    <meta http-equiv="content-type" content="text/html; charset=UTF-8">
  </head>
  <body>
Hi!<br /><br />I receive a Internal Server Error exception while trying to browse documents by their id.<br />    http://<hostname>/admin/documents/document/{id}<br /><br />I use GeoNode 2.4 (latest) on Ubuntu (apt-get install)<br /><div dir="ltr" style="zoom: 1"><span id="result_box" class="short_text" lang="en"><span class="hps"><br />Below</span> <span class="hps">the error message</span> <span class="hps">returned by</span> <span class="hps">Apache:<br /></span></span><span id="result_box" class="short_text" lang="en"><span class="hps">--<br />Internal Server Error: /admin/documents/document/60/<br /></span></span><span id="result_box" class="short_text" lang="en"><span class="hps">Traceback (most recent call last):<br /></span></span><span id="result_box" class="short_text" lang="en"><span class="hps">File "/usr/lib/python2.7/dist-packages/django/core/handlers/base.py", line 137, in get_response<br /></span></span><span id="result_box" class="short_text" lang="en"><span class="hps"><span id="result_box" class="short_text" lang="en"><span class="hps">  </span></span>response = response.render()<br /></span></span><span id="result_box" class="short_text" lang="en"><span class="hps"><span id="result_box" class="short_text" lang="en"><span class="hps"><span id="result_box" class="short_text" lang="en"><span class="hps">(...)</span></span></span></span><br /></span></span><span id="result_box" class="short_text" lang="en"><span class="hps">File "/usr/lib/python2.7/dist-packages/django/forms/forms.py", line 425, in __str__<br /></span></span><span id="result_box" class="short_text" lang="en"><span class="hps">  return self.as_widget()<br /></span></span><span id="result_box" class="short_text" lang="en"><span class="hps">File "/usr/lib/python2.7/dist-packages/django/forms/forms.py", line 475, in as_widget<br /></span></span><span id="result_box" class="short_text" lang="en"><span class="hps">  return widget.render(name, self.value(), attrs=attrs)<br /></span></span><span id="result_box" class="short_text" lang="en"><span class="hps">File "/usr/lib/python2.7/dist-packages/autocomplete_light/widgets.py", line 161, in render<br /></span></span><span id="result_box" class="short_text" lang="en"><span class="hps">    autocomplete = self.autocomplete(values=value)<br /></span></span><span id="result_box" class="short_text" lang="en"><span class="hps">TypeError: 'NoneType' object is not callable<br /></span></span><span id="result_box" class="short_text" lang="en"><span class="hps">[:error] mod_wsgi (pid=10024): Exception occurred processing WSGI script '/var/www/geonode/wsgi/geonode.wsgi'.<br /></span></span><span id="result_box" class="short_text" lang="en"><span class="hps">[:error] Traceback (most recent call last):<br /></span></span><span id="result_box" class="short_text" lang="en"><span class="hps">[:error] File "/usr/lib/python2.7/dist-packages/django/core/handlers/wsgi.py", line 206, in __call__<br />(...)<br />[:error] request = context["request"]<br />[:error] File "/usr/lib/python2.7/dist-packages/django/template/context.py", line 56, in __getitem__<br />[:error]    raise KeyError(key)<br />[:error] KeyError: 'request'<br /></span></span>--<br /><br />m431m<br /><br /><br /></div><br />  </body>
</html>