[Maintenance] [Django] ERROR (internal IP): Internal Server Error: /packages/community/armv7h/ntop/files/

root at localhost.parabola.nu root at localhost.parabola.nu
Sat Jun 25 22:08:58 BST 2016


Internal Server Error: /packages/community/armv7h/ntop/files/
Traceback (most recent call last):
  File "/usr/lib/python2.7/site-packages/django/core/handlers/base.py", line 111, in get_response
    response = wrapped_callback(request, *callback_args, **callback_kwargs)
  File "./packages/views/display.py", line 190, in files
    return render(request, template, context)
  File "/usr/lib/python2.7/site-packages/django/shortcuts.py", line 50, in render
    return HttpResponse(loader.render_to_string(*args, **kwargs),
  File "/usr/lib/python2.7/site-packages/django/template/loader.py", line 178, in render_to_string
    return t.render(context_instance)
  File "/usr/lib/python2.7/site-packages/django/template/base.py", line 148, in render
    return self._render(context)
  File "/usr/lib/python2.7/site-packages/django/template/base.py", line 142, in _render
    return self.nodelist.render(context)
  File "/usr/lib/python2.7/site-packages/django/template/base.py", line 844, in render
    bit = self.render_node(node, context)
  File "/usr/lib/python2.7/site-packages/django/template/debug.py", line 80, in render_node
    return node.render(context)
  File "/usr/lib/python2.7/site-packages/django/template/loader_tags.py", line 126, in render
    return compiled_parent._render(context)
  File "/usr/lib/python2.7/site-packages/django/template/base.py", line 142, in _render
    return self.nodelist.render(context)
  File "/usr/lib/python2.7/site-packages/django/template/base.py", line 844, in render
    bit = self.render_node(node, context)
  File "/usr/lib/python2.7/site-packages/django/template/debug.py", line 80, in render_node
    return node.render(context)
  File "/usr/lib/python2.7/site-packages/django/template/loader_tags.py", line 65, in render
    result = block.nodelist.render(context)
  File "/usr/lib/python2.7/site-packages/django/template/base.py", line 844, in render
    bit = self.render_node(node, context)
  File "/usr/lib/python2.7/site-packages/django/template/debug.py", line 80, in render_node
    return node.render(context)
  File "/usr/lib/python2.7/site-packages/django/template/loader_tags.py", line 150, in render
    return template.render(context)
  File "/usr/lib/python2.7/site-packages/django_jinja/base.py", line 90, in render
    return super(Template, self).render(new_context)
  File "/usr/lib/python2.7/site-packages/jinja2/environment.py", line 969, in render
    return self.environment.handle_exception(exc_info, True)
  File "/usr/lib/python2.7/site-packages/jinja2/environment.py", line 742, in handle_exception
    reraise(exc_type, exc_value, tb)
  File "/srv/http/www.parabola.nu/web/templates/packages/files_list.html.jinja", line 1, in top-level template code
    {% if pkg.last_update > pkg.files_last_update %}
TypeError: can't compare datetime.datetime to NoneType

Request repr(): 
<WSGIRequest
path:/packages/community/armv7h/ntop/files/,
GET:<QueryDict: {}>,
POST:<QueryDict: {}>,
COOKIES:{},
META:{'CONTENT_LENGTH': '',
 'CONTENT_TYPE': '',
 u'CSRF_COOKIE': u'PLcUK1zYYkExPBCOXONrXAOQmw6Yy4Nj',
 'DOCUMENT_ROOT': '/srv/http/www.parabola.nu',
 'HTTPS': 'on',
 'HTTP_ACCEPT': 'text/html, text/*, application/x-javascript, application/javascript, application/ecmascript',
 'HTTP_ACCEPT_ENCODING': 'gzip',
 'HTTP_CONNECTION': 'close',
 'HTTP_HOST': 'www.parabola.nu',
 'HTTP_USER_AGENT': 'ltx71 - (http://ltx71.com/)',
 'PATH_INFO': u'/packages/community/armv7h/ntop/files/',
 'QUERY_STRING': '',
 'REMOTE_ADDR': '127.0.0.1',
 'REMOTE_PORT': '60259',
 'REQUEST_METHOD': 'GET',
 'REQUEST_SCHEME': 'https',
 'REQUEST_URI': '/packages/community/armv7h/ntop/files/',
 u'SCRIPT_NAME': u'',
 'SERVER_NAME': 'www.parabola.nu',
 'SERVER_PORT': '443',
 'SERVER_PROTOCOL': 'HTTP/1.1',
 'uwsgi.node': 'proton.parabola.nu',
 'uwsgi.version': '2.0.13',
 'wsgi.errors': <open file 'wsgi_errors', mode 'w' at 0x7f4b8c89fae0>,
 'wsgi.file_wrapper': <built-in function uwsgi_sendfile>,
 'wsgi.input': <uwsgi._Input object at 0x7f4b8c2ef198>,
 'wsgi.multiprocess': True,
 'wsgi.multithread': False,
 'wsgi.run_once': False,
 'wsgi.url_scheme': 'https',
 'wsgi.version': (1, 0)}>


More information about the Maintenance mailing list