Skip to content

Instantly share code, notes, and snippets.

@barneygale
Created June 11, 2012 06:00
Show Gist options
  • Star 0 You must be signed in to star a gist
  • Fork 0 You must be signed in to fork a gist
  • Save barneygale/2908689 to your computer and use it in GitHub Desktop.
Save barneygale/2908689 to your computer and use it in GitHub Desktop.
127.0.0.1 - - [11/Jun/2012 06:59:53] "GET /survival HTTP/1.1" 500 -
Traceback (most recent call last):
File "/usr/share/pyshared/flask/app.py", line 1518, in __call__
return self.wsgi_app(environ, start_response)
File "/usr/share/pyshared/flask/app.py", line 1506, in wsgi_app
response = self.make_response(self.handle_exception(e))
File "/usr/share/pyshared/flask/app.py", line 1504, in wsgi_app
response = self.full_dispatch_request()
File "/usr/share/pyshared/flask/app.py", line 1264, in full_dispatch_request
rv = self.handle_user_exception(e)
File "/usr/share/pyshared/flask/app.py", line 1262, in full_dispatch_request
rv = self.dispatch_request()
File "/usr/share/pyshared/flask/app.py", line 1248, in dispatch_request
return self.view_functions[rule.endpoint](**req.view_args)
File "/home/barney/nerdnu/nerdnu/views.py", line 43, in server
return render_template('server.html', **options)
File "/usr/share/pyshared/flask/templating.py", line 123, in render_template
context, ctx.app)
File "/usr/share/pyshared/flask/templating.py", line 107, in _render
rv = template.render(context)
File "/usr/share/pyshared/jinja2/environment.py", line 894, in render
return self.environment.handle_exception(exc_info, True)
File "/home/barney/nerdnu/nerdnu/templates/server.html", line 1, in top-level template code
{% extends "layout.html" %}
File "/home/barney/nerdnu/nerdnu/templates/layout.html", line 50, in top-level template code
{% block content %}{{ body }}{% endblock %}
File "/home/barney/nerdnu/nerdnu/templates/server.html", line 65, in block "content"
<li><strong>{{ player['name'] }}: {{ player['hours'] }}h</li>
File "/usr/share/pyshared/jinja2/environment.py", line 353, in getitem
return obj[argument]
UndefinedError: 'player' is undefined
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment