[Bug 823780] Re: update-manager crashed with TypeError in normalize(): character mapping must return integer, None or unicode

sebastian-s 823780 at bugs.launchpad.net
Wed Aug 10 10:09:01 UTC 2011


I´ve had the same crash when using update-manager from the top right
menu as when started from the cl

I still think this might be a dupe of bug 822913

$ update-manager 
Traceback (most recent call last):
  File "/usr/lib/python2.7/dist-packages/defer/__init__.py", line 472, in _inline_callbacks
    result = gen.throw(result.type, result.value, result.traceback)
  File "/usr/lib/python2.7/dist-packages/UpdateManager/backend/InstallBackendAptdaemon.py", line 33, in update
    trans = yield self.client.update_cache(defer=True)
dbus.exceptions.DBusException: org.freedesktop.DBus.Python.TypeError: Traceback (most recent call last):
  File "/usr/lib/python2.7/dist-packages/defer/__init__.py", line 474, in _inline_callbacks
    result = gen.send(result)
  File "/usr/lib/python2.7/dist-packages/aptdaemon/core.py", line 1055, in _set_property
    self._set_locale(value)
  File "/usr/lib/python2.7/dist-packages/aptdaemon/core.py", line 726, in _set_locale
    (lang, encoding) = locale._parse_localename(locale_str)
  File "/usr/lib/python2.7/locale.py", line 421, in _parse_localename
    code = normalize(localename)
  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

$ update-manager -d
Traceback (most recent call last):
  File "/usr/lib/python2.7/dist-packages/defer/__init__.py", line 472, in _inline_callbacks
    result = gen.throw(result.type, result.value, result.traceback)
  File "/usr/lib/python2.7/dist-packages/UpdateManager/backend/InstallBackendAptdaemon.py", line 33, in update
    trans = yield self.client.update_cache(defer=True)
dbus.exceptions.DBusException: org.freedesktop.DBus.Python.TypeError: Traceback (most recent call last):
  File "/usr/lib/python2.7/dist-packages/defer/__init__.py", line 474, in _inline_callbacks
    result = gen.send(result)
  File "/usr/lib/python2.7/dist-packages/aptdaemon/core.py", line 1055, in _set_property
    self._set_locale(value)
  File "/usr/lib/python2.7/dist-packages/aptdaemon/core.py", line 726, in _set_locale
    (lang, encoding) = locale._parse_localename(locale_str)
  File "/usr/lib/python2.7/locale.py", line 421, in _parse_localename
    code = normalize(localename)
  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

-- 
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/823780

Title:
  update-manager crashed with TypeError in normalize(): character
  mapping must return integer, None or unicode

Status in “update-manager” package in Ubuntu:
  Confirmed

Bug description:
  Trying to run "update-manager -d" and clicking on the "Check" button.

  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
  NonfreeKernelModules: wl
  Architecture: amd64
  Date: Wed Aug 10 18:21:04 2011
  ExecutablePath: /usr/bin/update-manager
  InstallationMedia: Ubuntu 11.04 "Natty Narwhal" - Beta amd64 (20110413)
  InterpreterPath: /usr/bin/python2.7
  PackageArchitecture: all
  ProcCmdline: /usr/bin/python /usr/bin/update-manager -d
  ProcEnviron:
   PATH=(custom, no user)
   LC_MESSAGES=en_AU.UTF-8
   LANG=en_AU.UTF-8
   LANGUAGE=en_AU:en_GB:en
   SHELL=/bin/bash
  PythonArgs: ['/usr/bin/update-manager', '-d']
  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-08 (1 days ago)
  UserGroups:

To manage notifications about this bug go to:
https://bugs.launchpad.net/ubuntu/+source/update-manager/+bug/823780/+subscriptions




More information about the foundations-bugs mailing list