[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:06:42 UTC 2011


This is a regression introduced in python 2.7.2:
http://bugs.python.org/issue12752

** Bug watch added: Python Roundup #12752
   http://bugs.python.org/issue12752

-- 
You received this bug notification because you are a member of Ubuntu
Foundations Bugs, which is subscribed to update-manager 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