[traceback] UnicodeEncodeError: 'ascii' codec can't encode character u'\xe1' in position 19: ordinal not in range(128)

VERIFIED FIXED in 2012-12-20

Status

VERIFIED FIXED
6 years ago
6 years ago

People

(Reporter: krupa.mozbugs, Assigned: robhudson)

Tracking

2012-12-20
Points:
---

Details

(URL)

(Reporter)

Description

6 years ago
steps to reproduce:
1. Load https://marketplace-dev.allizom.org/reviewers/apps/queue
2. Search for "Michaelis Guia Prático da Nova Ortografia"

traceback details:
Stacktrace (most recent call last):

  File "django/core/handlers/base.py", line 111, in get_response
    response = callback(request, *callback_args, **callback_kwargs)
  File "amo/decorators.py", line 33, in wrapper
    return func(request, *args, **kw)
  File "amo/decorators.py", line 65, in wrapper
    return f(request, *args, **kw)
  File "mkt/reviewers/views.py", line 339, in queue_apps
    return _queue(request, apps, 'pending', search_form)
  File "mkt/reviewers/views.py", line 286, in _queue
    'adv_searching': adv_searching,
  File "jingo/__init__.py", line 80, in render
    rendered = render_to_string(request, template, context)
  File "jingo/__init__.py", line 98, in render_to_string
    return template.render(**get_context())
  File "jinja2/environment.py", line 891, in render
    return self.environment.handle_exception(exc_info, True)
  File "/data/www/addons-dev.allizom.org/zamboni/mkt/reviewers/templates/reviewers/queue.html", line 1, in top-level template code
    {% extends 'reviewers/base.html' %}
  File "/data/www/addons-dev.allizom.org/zamboni/mkt/reviewers/templates/reviewers/base.html", line 1, in top-level template code
    {% extends 'developers/skeleton_impala.html' %}
  File "/data/www/addons-dev.allizom.org/zamboni/mkt/developers/templates/developers/skeleton_impala.html", line 167, in top-level template code
    {% block main_content %}
  File "/data/www/addons-dev.allizom.org/zamboni/mkt/developers/templates/developers/skeleton_impala.html", line 170, in block "main_content"
    {% block content %}{% endblock %}
  File "/data/www/addons-dev.allizom.org/zamboni/mkt/reviewers/templates/reviewers/queue.html", line 123, in block "content"
    <th>{{ sort_link(_('App'), 'name')|safe }}</th>
  File "mkt/reviewers/helpers.py", line 144, in sort_link
    sort, order)
  File "mkt/reviewers/utils.py", line 439, in create_sort_link
    return u'<a href="?%s"%s>%s</a>' % (urllib.urlencode(get_params),
  File "python2.6/urllib.py", line 1281, in urlencode
    v = quote_plus(str(v))

First Seen: 	Dec. 6, 2012
Assignee: nobody → robhudson.mozbugs
Target Milestone: --- → 2012-12-20
(Assignee)

Comment 1

6 years ago
https://github.com/mozilla/zamboni/commit/2026681
Status: NEW → RESOLVED
Last Resolved: 6 years ago
Resolution: --- → FIXED
You need to log in before you can comment on or make changes to this bug.