[Maintenance] [Django] ERROR (internal IP): Internal Server Error: /packages/core/any/ca-certificates/files/

root at localhost.parabola.nu root at localhost.parabola.nu
Fri May 8 00:41:44 BST 2015


Internal Server Error: /packages/core/any/ca-certificates/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 "/srv/http/www.parabola.nu/web/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/core/any/ca-certificates/files/,
GET:<QueryDict: {}>,
POST:<QueryDict: {}>,
COOKIES:{},
META:{'CONTENT_LENGTH': '',
 'CONTENT_TYPE': '',
 u'CSRF_COOKIE': u'ZgDMbvyAGU9HYeuqxJiZhPtW6E3Ky0R5',
 'DOCUMENT_ROOT': '/srv/http/www.parabola.nu',
 'DOCUMENT_URI': '/packages/core/any/ca-certificates/files/',
 'GATEWAY_INTERFACE': 'CGI/1.1',
 'HTTPS': 'on',
 'HTTP_ACCEPT': 'application/vnd.wap.xhtml+xml,application/xhtml+xml;q=0.9,text/vnd.wap.wml;q=0.8,text/html;q=0.7,*/*;q=0.6',
 'HTTP_ACCEPT_ENCODING': 'gzip,deflate',
 'HTTP_CONNECTION': 'Keep-alive',
 'HTTP_FROM': 'googlebot(at)googlebot.com',
 'HTTP_HOST': 'www.parabola.nu',
 'HTTP_USER_AGENT': 'SAMSUNG-SGH-E250/1.0 Profile/MIDP-2.0 Configuration/CLDC-1.1 UP.Browser/6.2.3.3.c.1.101 (GUI) MMP/2.0 (compatible; Googlebot-Mobile/2.1; +http://www.google.com/bot.html)',
 'PATH_INFO': u'/packages/core/any/ca-certificates/files/',
 'QUERY_STRING': '',
 'REDIRECT_STATUS': '200',
 'REMOTE_ADDR': '127.0.0.1',
 'REMOTE_PORT': '40064',
 'REQUEST_METHOD': 'GET',
 'REQUEST_URI': '/packages/core/any/ca-certificates/files/',
 'SCRIPT_NAME': u'',
 'SERVER_ADDR': '80.87.131.232',
 'SERVER_NAME': 'www.parabola.nu',
 'SERVER_PORT': '443',
 'SERVER_PROTOCOL': 'HTTP/1.1',
 'SERVER_SOFTWARE': 'nginx/1.6.3',
 'wsgi.errors': <flup.server.fcgi_base.TeeOutputStream object at 0x7f8a91a2e0d0>,
 'wsgi.input': <flup.server.fcgi_base.InputStream object at 0x7f8a91b25150>,
 '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