binrush / thousands

Simple flask-based site
http://1000.southural.ru/
5 stars 0 forks source link

Exception in prod #42

Closed binrush closed 8 years ago

binrush commented 8 years ago
2015-12-25 16:02:14,006 - thousands - ERROR - Exception on /climb/new/50 [POST]
Traceback (most recent call last):
  File "/var/lib/openshift/55d5ae9189f5cfa557000085/python/virtenv/lib/python2.7/site-packages/Flask-0.10.1-py2.7.egg/flask/app.py", line 1817, in ws
gi_app
    response = self.full_dispatch_request()
  File "/var/lib/openshift/55d5ae9189f5cfa557000085/python/virtenv/lib/python2.7/site-packages/Flask-0.10.1-py2.7.egg/flask/app.py", line 1477, in fu
ll_dispatch_request
    rv = self.handle_user_exception(e)
  File "/var/lib/openshift/55d5ae9189f5cfa557000085/python/virtenv/lib/python2.7/site-packages/Flask-0.10.1-py2.7.egg/flask/app.py", line 1381, in ha
ndle_user_exception
    reraise(exc_type, exc_value, tb)
  File "/var/lib/openshift/55d5ae9189f5cfa557000085/python/virtenv/lib/python2.7/site-packages/Flask-0.10.1-py2.7.egg/flask/app.py", line 1475, in fu
ll_dispatch_request
    rv = self.dispatch_request()
  File "/var/lib/openshift/55d5ae9189f5cfa557000085/python/virtenv/lib/python2.7/site-packages/Flask-0.10.1-py2.7.egg/flask/app.py", line 1461, in di
spatch_request
    return self.view_functions[rule.endpoint](**req.view_args)
  File "/var/lib/openshift/55d5ae9189f5cfa557000085/python/virtenv/lib/python2.7/site-packages/Flask_Login-0.3.2-py2.7.egg/flask_login.py", line 792,
 in decorated_view
    return func(*args, **kwargs)
  File "/var/lib/openshift/55d5ae9189f5cfa557000085/app-root/runtime/repo/thousands/views.py", line 136, in climb_new
    form=f)
  File "/var/lib/openshift/55d5ae9189f5cfa557000085/python/virtenv/lib/python2.7/site-packages/Flask-0.10.1-py2.7.egg/flask/templating.py", line 128,
 in render_template
    context, ctx.app)
  File "/var/lib/openshift/55d5ae9189f5cfa557000085/python/virtenv/lib/python2.7/site-packages/Flask-0.10.1-py2.7.egg/flask/templating.py", line 110,
 in _render
    rv = template.render(context)
  File "/opt/rh/python27/root/usr/lib/python2.7/site-packages/jinja2/environment.py", line 894, in render
    return self.environment.handle_exception(exc_info, True)
  File "/var/lib/openshift/55d5ae9189f5cfa557000085/app-root/runtime/repo/thousands/templates/climb_edit.html", line 1, in top-level template code
    {% extends "layout.html" %}
  File "/var/lib/openshift/55d5ae9189f5cfa557000085/app-root/runtime/repo/thousands/templates/layout.html", line 65, in top-level template code
    {% block content %}{% endblock %}
  File "/var/lib/openshift/55d5ae9189f5cfa557000085/app-root/runtime/repo/thousands/templates/climb_edit.html", line 10, in block "content"
    <li>{{ form[field_name].label }}: {{ error }}</li>
UnicodeDecodeError: 'ascii' codec can't decode byte 0xd0 in position 0: ordinal not in range(128)