UnicodeEncodeError when going to summary of repo.

Issue #371 resolved
Jędrzej Nowak created an issue

{{{ Module rhodecode.controllers.summary:179 in index

return render('summary/summary.html') Module pylons.templating:243 in render_mako cache_type=cache_type, cache_expire=cache_expire) Module pylons.templating:218 in cached_template return render_func() Module pylons.templating:240 in render_template return literal(template.render_unicode(globs)) Module mako.template:311 in render_unicode as_unicode=True) Module mako.runtime:660 in _render kwargs_for_callable(callable, data)) Module mako.runtime:692 in render_context _exec_template(inherit, lclcontext, args=args, kwargs=kwargs) Module mako.runtime:713 in _exec_template _render_error(template, context, e) Module mako.runtime:722 in _render_error result = template.error_handler(context, error) Module mako.runtime:711 in _exec_template callable(context, args, kwargs) Module base_root_html:62 in render_body M_writer(escape(next.body())) Module _base_base_html:75 in render_body M_writer(escape(next.main())) Module summary_summary_html:405 in render_main runtime._include_file(context, u'../shortlog/shortlog_data.html', _template_uri) Module mako.runtime:587 in _include_file callable(ctx, kwargs_for_include(callable, context._data, *kwargs)) Module summary__shortlog_shortlog_data_html:75 in render_body M_writer(escape(h.person(cs.author))) Module rhodecode.lib.helpers:382 in person cache=True) Module rhodecode.model.db:342 in get_by_username return q.scalar() Module sqlalchemy.orm.query:2045 in scalar ret = self.one() Module sqlalchemy.orm.query:2014 in one ret = list(self) Module rhodecode.lib.caching_query:79 in iter return self.get_value(createfunc=lambda: Module rhodecode.lib.caching_query:97 in get_value cache, cache_key = _get_cache_parameters(self) Module rhodecode.lib.caching_query:140 in _get_cache_parameters args = [str(x) for x in _params_from_query(query)] UnicodeEncodeError: 'ascii' codec can't encode character u'\u0119' in position 8: ordinal not in range(128) }}}

Comments (1)

  1. Log in to comment