[Bug 824734] Re: update-manager crashed with TypeError in normalize(): character mapping must return integer, None or unicode
Julian Taylor
824734 at bugs.launchpad.net
Mon Aug 15 12:10:39 UTC 2011
caused by python 2.7.2 regression
** Package changed: update-manager (Ubuntu) => python2.7 (Ubuntu)
** Description changed:
- This happens everytime I check for new updates. The update manager
- window doesn't close when the message appears that it has crashed.
+ locale.normalize does accept unicode strings anymore in python 2.7.2:
- ProblemType: Crash
- DistroRelease: Ubuntu 11.10
- Package: update-manager 1:0.152.11
- ProcVersionSignature: Ubuntu 3.0.0-8.10-generic 3.0.1
- Uname: Linux 3.0.0-8-generic x86_64
- Architecture: amd64
- Date: Thu Aug 11 20:51:32 2011
- ExecutablePath: /usr/bin/update-manager
- InstallationMedia: Ubuntu 11.10 "Oneiric Ocelot" - Alpha amd64 (20110803.1)
- InterpreterPath: /usr/bin/python2.7
- PackageArchitecture: all
- ProcCmdline: /usr/bin/python /usr/bin/update-manager
- ProcEnviron:
- SHELL=/bin/bash
- LANGUAGE=nl_BE:nl
- LANG=nl_BE.UTF-8
- PythonArgs: ['/usr/bin/update-manager']
- SourcePackage: update-manager
- Title: update-manager crashed with TypeError in normalize(): character mapping must return integer, None or unicode
- UpgradeStatus: Upgraded to oneiric on 2011-08-11 (0 days ago)
- UserGroups: adm admin cdrom dialout lpadmin plugdev sambashare
+ python2.7 -c "import locale; locale.normalize(u'en_US')"
+ Traceback (most recent call last):
+ File "<string>", line 1, in <module>
+ File "/usr/lib/python2.7/locale.py", line 358, in normalize
+ fullname = localename.translate(_ascii_lower_map)
+ 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://bugs.python.org/issue12752
** Tags added: python2.7
** Summary changed:
- update-manager crashed with TypeError in normalize(): character mapping must return integer, None or unicode
+ locale.normalize does not accept unicode: TypeError in normalize(): character mapping must return integer, None or unicode
--
You received this bug notification because you are a member of Ubuntu
Foundations Bugs, which is subscribed to python2.7 in Ubuntu.
https://bugs.launchpad.net/bugs/824734
Title:
locale.normalize does not accept unicode: TypeError in normalize():
character mapping must return integer, None or unicode
Status in “python2.7” package in Ubuntu:
Confirmed
Bug description:
locale.normalize does accept unicode strings anymore in python 2.7.2:
python2.7 -c "import locale; locale.normalize(u'en_US')"
Traceback (most recent call last):
File "<string>", line 1, in <module>
File "/usr/lib/python2.7/locale.py", line 358, in normalize
fullname = localename.translate(_ascii_lower_map)
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://bugs.python.org/issue12752
To manage notifications about this bug go to:
https://bugs.launchpad.net/ubuntu/+source/python2.7/+bug/824734/+subscriptions
More information about the foundations-bugs
mailing list