Unicode error in search suggestions

VERIFIED FIXED in 6.3.3

Status

addons.mozilla.org Graveyard
Search
VERIFIED FIXED
7 years ago
2 years ago

People

(Reporter: cvan, Assigned: cvan)

Tracking

Details

(URL)

(Assignee)

Description

7 years ago
Traceback (most recent call last):

 File "/data/www/addons.mozilla.org/zamboni/vendor/src/django/django/core/handlers/base.py", line 111, in get_response
   response = callback(request, *callback_args, **callback_kwargs)

 File "/data/www/addons.mozilla.org/zamboni/apps/amo/decorators.py", line 77, in wrapper
   response = f(*args, **kw)

 File "/data/www/addons.mozilla.org/zamboni/apps/search/views.py", line 400, in ajax_search_suggestions
   results += suggestions(request).items

 File "/data/www/addons.mozilla.org/zamboni/apps/search/views.py", line 284, in __init__
   self.items = self.build_list()

 File "/data/www/addons.mozilla.org/zamboni/apps/search/views.py", line 306, in build_list
   for item in self.queryset()[:self.limit]:

 File "/data/www/addons.mozilla.org/zamboni/apps/search/views.py", line 293, in queryset
   qs = Addon.objects.filter(id=int(q),

ValueError: invalid literal for int() with base 10: '\xb2\xb2\xb2\xb2\xb2\xb2\xb2\xb2\xb2\xb2\xb2\xb2\xb2'
(Assignee)

Comment 1

7 years ago
https://github.com/mozilla/zamboni/commit/40bd7d2
Status: NEW → RESOLVED
Last Resolved: 7 years ago
Resolution: --- → FIXED
Product: addons.mozilla.org → addons.mozilla.org Graveyard
You need to log in before you can comment on or make changes to this bug.