UnicodeEncodeError: 'ascii' codec can't encode characters in position 6-12: ordinal not in range(128)
__call__return self.wsgi_app(environ, start_response)
wsgi_appresponse = self.make_response(self.handle_exception(e))
handle_exceptionreraise(exc_type, exc_value, tb)
wsgi_appresponse = self.full_dispatch_request()
full_dispatch_requestrv = self.handle_user_exception(e)
handle_user_exceptionreraise(exc_type, exc_value, tb)
full_dispatch_requestrv = self.dispatch_request()
dispatch_requestreturn self.view_functions[rule.endpoint](**req.view_args)
show_itemresult = item.do_show(rev)
do_showshow_navigation=show_navigation,
render_templatereturn render_theme_template(get_current_theme(), template, **context)
render_theme_templatereturn render_template(template_name, **context)
render_templatecontext, ctx.app)
_renderrv = template.render(context)
renderreturn self.environment.handle_exception(exc_info, True)
handle_exceptionreraise(exc_type, exc_value, tb)
top-level template code{% import "itemviews.html" as itemviews with context %}
make_modulereturn TemplateModule(self, self.new_context(vars, shared, locals))
__init__self._body_stream = list(template.root_render_func(context))
top-level template code{%- if user.is_subscribed_to(item) %}
is_subscribed_tofor name in meta.get(NAME, []))
<genexpr>for name in meta.get(NAME, []))
UnicodeEncodeError: 'ascii' codec can't encode characters in position 6-12: ordinal not in range(128)
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 framedump(obj) dumps all that's known about the object