Can't review applications with utf-8 names
Affects | Status | Importance | Assigned to | Milestone | |
---|---|---|---|---|---|
Ratings and Reviews server |
New
|
Undecided
|
Unassigned | ||
software-center (Ubuntu) |
Invalid
|
Undecided
|
Unassigned |
Bug Description
Binary package hint: software-center
Trying to game the system and review my own app deja-dup, the UI said it couldn't submit the review, and I got the following traceback on the console:
2011-01-27 23:07:47,896 - root - INFO - _review_
ERROR:root:
Traceback (most recent call last):
File "/usr/share/
res = self.rnrclient.
File "/usr/lib/
return func(*args, **kwargs)
File "/usr/lib/
response, body = func(*args, **kwargs)
File "/usr/share/
content_
File "/usr/lib/
return self._request(path, method='POST', body=body, headers=headers)
File "/usr/lib/
response, body))
APIError: 500: {'status': '500', 'via': '1.1 reviews.
-----
Piston/0.2.2 (Django 1.1.1) crash report:
Traceback (most recent call last):
File "/usr/lib/
invalidate_
File "/usr/lib/
package_
UnicodeEncodeError: 'ascii' codec can't encode character u'\xe9' in position 1: ordinal not in range(128)
ProblemType: Bug
DistroRelease: Ubuntu 11.04
Package: software-center 3.1.12
ProcVersionSign
Uname: Linux 2.6.37-12-generic x86_64
Architecture: amd64
Date: Thu Jan 27 23:09:00 2011
PackageArchitec
ProcEnviron:
LANGUAGE=en_US:en
PATH=(custom, user)
LANG=en_GB.utf8
LC_MESSAGES=
SHELL=/bin/bash
SourcePackage: software-center
I don't believe this is specifically related to UTF8 names. This error came up (and subsequently went away) a few times while I was testing changes to the submit review app and I believe it is more likely to be an issue with the review web server.