locale.normalize does not accept unicode: TypeError in normalize(): character mapping must return integer, None or unicode
Bug #824734 reported by
RobinJ
This bug affects 26 people
Affects | Status | Importance | Assigned to | Milestone | |
---|---|---|---|---|---|
Python |
Fix Released
|
Unknown
|
|||
python2.7 (Ubuntu) |
Fix Released
|
High
|
Barry Warsaw | ||
Oneiric |
Fix Released
|
High
|
Barry Warsaw |
Bug Description
locale.normalize does accept unicode strings anymore in python 2.7.2:
python2.7 -c "import locale; locale.
Traceback (most recent call last):
File "<string>", line 1, in <module>
File "/usr/lib/
fullname = localename.
TypeError: character mapping must return integer, None or unicode
This breaks various packages, like updatemanager, playonlinux (bug 825421) and aptdaemon (bug 825056)
reported upstream:
http://
visibility: | private → public |
Changed in update-manager (Ubuntu): | |
status: | New → Confirmed |
Changed in python2.7 (Ubuntu): | |
status: | Confirmed → Triaged |
importance: | Undecided → High |
tags: | added: regression-release |
Changed in python2.7 (Ubuntu Oneiric): | |
assignee: | nobody → Canonical Foundations Team (canonical-foundations) |
Changed in python: | |
status: | Unknown → Fix Released |
To post a comment you must log in.
It happened for me when clicking on "Install updates".