Comment 6 for bug 822913

Revision history for this message
Stephen Cradock (s-cradock) wrote :

The update-manager accepts the "Check" button command, but fails to update its display after the check is finished. Running u-m from a terminal gives the following console messages:

~$ 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