unicode error on versions rss

VERIFIED FIXED in 5.11.6

Status

addons.mozilla.org Graveyard
Public Pages
VERIFIED FIXED
7 years ago
2 years ago

People

(Reporter: jbalogh, Assigned: jbalogh)

Tracking

Details

(Whiteboard: [z], URL)

(Assignee)

Description

7 years ago
Traceback (most recent call last):

 File "/data/amo_python/www/prod/zamboni/vendor/src/django/django/core/handlers/base.py", line 100, in get_response
   response = callback(request, *callback_args, **callback_kwargs)

 File "/data/amo_python/www/prod/zamboni/vendor/src/django/django/contrib/syndication/views.py", line 34, in __call__
   feedgen = self.get_feed(obj, request)

 File "/data/amo_python/www/prod/zamboni/vendor/src/django/django/contrib/syndication/views.py", line 138, in get_feed
   title = self.__get_dynamic_attr('item_title', item)

 File "/data/amo_python/www/prod/zamboni/vendor/src/django/django/contrib/syndication/views.py", line 67, in __get_dynamic_attr
   return attr(obj)

 File "/data/amo_python/www/prod/zamboni/apps/versions/feeds.py", line 55, in item_title
   created=datetime(version.created))

UnicodeEncodeError: 'ascii' codec can't encode character u'\u5e74' in position 5: ordinal not in range(128)
(Assignee)

Comment 1

7 years ago
http://github.com/jbalogh/zamboni/commit/13fc4a70d5f7dc
Status: NEW → RESOLVED
Last Resolved: 7 years ago
Resolution: --- → FIXED
Verified FIXED on https://addons.mozilla.org/zh-CN/firefox/addon/743/versions/format:rss.
Status: RESOLVED → VERIFIED
Product: addons.mozilla.org → addons.mozilla.org Graveyard
You need to log in before you can comment on or make changes to this bug.