Skip to content

Instantly share code, notes, and snippets.

@groovecoder
Created March 12, 2013 20:04
Show Gist options
  • Save groovecoder/5146496 to your computer and use it in GitHub Desktop.
Save groovecoder/5146496 to your computer and use it in GitHub Desktop.
Traceback (most recent call last):
File "/vagrant/vendor/src/django/django/core/servers/basehttp.py", line 280, in run
self.result = application(self.environ, self.start_response)
File "/vagrant/vendor/src/django/django/core/servers/basehttp.py", line 674, in __call__
return self.application(environ, start_response)
File "/vagrant/vendor/src/django/django/core/handlers/wsgi.py", line 248, in __call__
response = self.get_response(request)
File "/vagrant/vendor/src/django/django/core/handlers/base.py", line 141, in get_response
return self.handle_uncaught_exception(request, resolver, sys.exc_info())
File "/vagrant/vendor/src/django/django/core/handlers/base.py", line 100, in get_response
response = callback(request, *callback_args, **callback_kwargs)
File "/vagrant/vendor/src/django/django/views/decorators/http.py", line 37, in inner
return func(request, *args, **kwargs)
File "/vagrant/apps/wiki/views.py", line 168, in process
return func(request, *args, **kwargs)
File "/vagrant/apps/wiki/views.py", line 202, in _added_header
response = func(request, *args, **kwargs)
File "/vagrant/apps/wiki/views.py", line 1375, in document_revisions
'page': page, 'revs': revs, 'curr_id': curr_id})
File "/vagrant/vendor/src/jingo/jingo/__init__.py", line 78, in render
rendered = render_to_string(request, template, context)
File "/vagrant/vendor/src/jingo/jingo/__init__.py", line 96, in render_to_string
return template.render(**get_context())
File "/usr/local/lib/python2.7/dist-packages/jinja2/environment.py", line 891, in render
return self.environment.handle_exception(exc_info, True)
File "/vagrant/apps/wiki/templates/wiki/document_revisions.html", line 5, in top-level template code
{% set crumbs = [(url('wiki.category', document.category), document.get_category_display()),
File "/vagrant/apps/wiki/templates/wiki/base.html", line 17, in top-level template code
{% set scripts = ('wiki',) %}
File "/vagrant/templates/base.html", line 152, in top-level template code
{% block content %}{% endblock %}
File "/vagrant/apps/wiki/templates/wiki/document_revisions.html", line 104, in block "content"
{{ page|paginator }}
File "/vagrant/apps/sumo/helpers.py", line 32, in paginator
return Paginator(pager).render()
File "/vagrant/apps/sumo/helpers.py", line 86, in __init__
self.page = pager.number
AttributeError: 'NoneType' object has no attribute 'number'
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment