Attachment 'traceback.html'

Download

UnicodeEncodeError

UnicodeEncodeError: 'ascii' codec can't encode characters in position 6-12: ordinal not in range(128)

Traceback (most recent call last)

  • File "/usr/home/ishayahu/venv-moin-new-python/lib/python2.7/site-packages/flask/app.py", line 1836, in __call__

    return self.wsgi_app(environ, start_response)
  • File "/usr/home/ishayahu/venv-moin-new-python/lib/python2.7/site-packages/flask/app.py", line 1820, in wsgi_app

    response = self.make_response(self.handle_exception(e))
  • File "/usr/home/ishayahu/venv-moin-new-python/lib/python2.7/site-packages/flask/app.py", line 1403, in handle_exception

    reraise(exc_type, exc_value, tb)
  • File "/usr/home/ishayahu/venv-moin-new-python/lib/python2.7/site-packages/flask/app.py", line 1817, in wsgi_app

    response = self.full_dispatch_request()
  • File "/usr/home/ishayahu/venv-moin-new-python/lib/python2.7/site-packages/flask/app.py", line 1477, in full_dispatch_request

    rv = self.handle_user_exception(e)
  • File "/usr/home/ishayahu/venv-moin-new-python/lib/python2.7/site-packages/flask/app.py", line 1381, in handle_user_exception

    reraise(exc_type, exc_value, tb)
  • File "/usr/home/ishayahu/venv-moin-new-python/lib/python2.7/site-packages/flask/app.py", line 1475, in full_dispatch_request

    rv = self.dispatch_request()
  • File "/usr/home/ishayahu/venv-moin-new-python/lib/python2.7/site-packages/flask/app.py", line 1461, in dispatch_request

    return self.view_functions[rule.endpoint](**req.view_args)
  • File "/usr/home/ishayahu/moin-new/MoinMoin/apps/frontend/views.py", line 387, in show_item

    result = item.do_show(rev)
  • File "/usr/home/ishayahu/moin-new/MoinMoin/items/__init__.py", line 792, in do_show

    show_navigation=show_navigation,
  • File "/usr/home/ishayahu/moin-new/MoinMoin/themes/__init__.py", line 52, in render_template

    return render_theme_template(get_current_theme(), template, **context)
  • File "/usr/home/ishayahu/venv-moin-new-python/lib/python2.7/site-packages/flaskext/themes.py", line 448, in render_theme_template

    return render_template(template_name, **context)
  • File "/usr/home/ishayahu/venv-moin-new-python/lib/python2.7/site-packages/flask/templating.py", line 128, in render_template

    context, ctx.app)
  • File "/usr/home/ishayahu/venv-moin-new-python/lib/python2.7/site-packages/flask/templating.py", line 110, in _render

    rv = template.render(context)
  • File "/usr/home/ishayahu/venv-moin-new-python/lib/python2.7/site-packages/jinja2/environment.py", line 969, in render

    return self.environment.handle_exception(exc_info, True)
  • File "/usr/home/ishayahu/venv-moin-new-python/lib/python2.7/site-packages/jinja2/environment.py", line 742, in handle_exception

    reraise(exc_type, exc_value, tb)
  • File "/usr/home/ishayahu/moin-new/MoinMoin/templates/show.html", line 13, in top-level template code

    {% import "itemviews.html" as itemviews with context %}
  • File "/usr/home/ishayahu/venv-moin-new-python/lib/python2.7/site-packages/jinja2/environment.py", line 1013, in make_module

    return TemplateModule(self, self.new_context(vars, shared, locals))
  • File "/usr/home/ishayahu/venv-moin-new-python/lib/python2.7/site-packages/jinja2/environment.py", line 1070, in __init__

    self._body_stream = list(template.root_render_func(context))
  • File "/usr/home/ishayahu/moin-new/MoinMoin/templates/itemviews.html", line 59, in top-level template code

    {%- if user.is_subscribed_to(item) %}
  • File "/usr/home/ishayahu/moin-new/MoinMoin/user.py", line 589, in is_subscribed_to

    for name in meta.get(NAME, []))
  • File "/usr/home/ishayahu/moin-new/MoinMoin/user.py", line 589, in <genexpr>

    for name in meta.get(NAME, []))
UnicodeEncodeError: 'ascii' codec can't encode characters in position 6-12: ordinal not in range(128)
The debugger caught an exception in your WSGI application. You can now look at the traceback which led to the error.

To switch between the interactive traceback and the plaintext one, you can click on the "Traceback" headline. From the text traceback you can also create a paste of it. For code execution mouse-over the frame you want to debug and click on the console icon on the right side.

You can execute arbitrary Python code in the stack frames and there are some extra helpers available for introspection:

  • dump() shows all variables in the frame
  • dump(obj) dumps all that's known about the object

Attached Files

To refer to attachments on a page, use attachment:filename, as shown below in the list of files. Do NOT use the URL of the [get] link, since this is subject to change and can break easily.
  • [get | view] (2013-11-20 09:03:22, 27.4 KB) [[attachment:traceback.html]]
 All files | Selected Files: delete move to page copy to page

You are not allowed to attach a file to this page.