-
Type: Bug
-
Resolution: Done
-
Priority: Major
-
None
Internal Server Error: /events/traconx/badges/admin
Traceback (most recent call last):
File "/srv/www/kompassi.tracon.fi/virtualenv/local/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/www/kompassi.tracon.fi/app/badges/helpers.py", line 32, in wrapper
return view_func(request, vars, event, *args, **kwargs)
File "/srv/www/kompassi.tracon.fi/virtualenv/local/lib/python2.7/site-packages/django/views/decorators/http.py", line 41, in inner
return func(request, *args, **kwargs)
File "/srv/www/kompassi.tracon.fi/app/badges/views.py", line 68, in badges_admin_dashboard_view
return render(request, 'badges_admin_dashboard_view.jade', vars)
File "/srv/www/kompassi.tracon.fi/virtualenv/local/lib/python2.7/site-packages/django/shortcuts.py", line 50, in render
return HttpResponse(loader.render_to_string(*args, **kwargs),
File "/srv/www/kompassi.tracon.fi/virtualenv/local/lib/python2.7/site-packages/django/template/loader.py", line 178, in render_to_string
return t.render(context_instance)
File "/srv/www/kompassi.tracon.fi/virtualenv/local/lib/python2.7/site-packages/django/template/base.py", line 148, in render
return self._render(context)
File "/srv/www/kompassi.tracon.fi/virtualenv/local/lib/python2.7/site-packages/django/template/base.py", line 142, in _render
return self.nodelist.render(context)
File "/srv/www/kompassi.tracon.fi/virtualenv/local/lib/python2.7/site-packages/django/template/base.py", line 844, in render
bit = self.render_node(node, context)
File "/srv/www/kompassi.tracon.fi/virtualenv/local/lib/python2.7/site-packages/django/template/base.py", line 858, in render_node
return node.render(context)
File "/srv/www/kompassi.tracon.fi/virtualenv/local/lib/python2.7/site-packages/django/template/loader_tags.py", line 126, in render
return compiled_parent._render(context)
File "/srv/www/kompassi.tracon.fi/virtualenv/local/lib/python2.7/site-packages/django/template/base.py", line 142, in _render
return self.nodelist.render(context)
File "/srv/www/kompassi.tracon.fi/virtualenv/local/lib/python2.7/site-packages/django/template/base.py", line 844, in render
bit = self.render_node(node, context)
File "/srv/www/kompassi.tracon.fi/virtualenv/local/lib/python2.7/site-packages/django/template/base.py", line 858, in render_node
return node.render(context)
File "/srv/www/kompassi.tracon.fi/virtualenv/local/lib/python2.7/site-packages/django/template/loader_tags.py", line 126, in render
return compiled_parent._render(context)
File "/srv/www/kompassi.tracon.fi/virtualenv/local/lib/python2.7/site-packages/django/template/base.py", line 142, in _render
return self.nodelist.render(context)
File "/srv/www/kompassi.tracon.fi/virtualenv/local/lib/python2.7/site-packages/django/template/base.py", line 844, in render
bit = self.render_node(node, context)
File "/srv/www/kompassi.tracon.fi/virtualenv/local/lib/python2.7/site-packages/django/template/base.py", line 858, in render_node
return node.render(context)
File "/srv/www/kompassi.tracon.fi/virtualenv/local/lib/python2.7/site-packages/django/template/loader_tags.py", line 65, in render
result = block.nodelist.render(context)
File "/srv/www/kompassi.tracon.fi/virtualenv/local/lib/python2.7/site-packages/django/template/base.py", line 844, in render
bit = self.render_node(node, context)
File "/srv/www/kompassi.tracon.fi/virtualenv/local/lib/python2.7/site-packages/django/template/base.py", line 858, in render_node
return node.render(context)
File "/srv/www/kompassi.tracon.fi/virtualenv/local/lib/python2.7/site-packages/django/template/loader_tags.py", line 65, in render
result = block.nodelist.render(context)
File "/srv/www/kompassi.tracon.fi/virtualenv/local/lib/python2.7/site-packages/django/template/base.py", line 844, in render
bit = self.render_node(node, context)
File "/srv/www/kompassi.tracon.fi/virtualenv/local/lib/python2.7/site-packages/django/template/base.py", line 858, in render_node
return node.render(context)
File "/srv/www/kompassi.tracon.fi/virtualenv/local/lib/python2.7/site-packages/django/template/defaulttags.py", line 155, in render
values = self.sequence.resolve(context, True)
File "/srv/www/kompassi.tracon.fi/virtualenv/local/lib/python2.7/site-packages/django/template/base.py", line 596, in resolve
obj = self.var.resolve(context)
File "/srv/www/kompassi.tracon.fi/virtualenv/local/lib/python2.7/site-packages/django/template/base.py", line 734, in resolve
value = self._resolve_lookup(context)
File "/srv/www/kompassi.tracon.fi/virtualenv/local/lib/python2.7/site-packages/django/template/base.py", line 788, in _resolve_lookup
current = current()
File "/srv/www/kompassi.tracon.fi/app/badges/models.py", line 105, in get_progress
assert sum(p.width for p in progress) in [100, 0], "Missing percentage"
AssertionError: Missing percentage
- blocks
-
CONDB-244 Tracon X:n badgekala auki
- Done