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

Luca 822913 at bugs.launchpad.net
Thu Aug 11 07:36:09 UTC 2011


Traceback (most recent call last):
  File "/usr/share/playonlinux/python/mainwindow.py", line 470, in <module>
    lng.Lang()
  File "/usr/share/playonlinux/python/lib/lng.py", line 19, in __init__
    mytranslation = gettext.translation(domain, localedir, [mylocale.GetCanonicalName()], fallback = True)
  File "/usr/lib/python2.7/gettext.py", line 480, in translation
    mofiles = find(domain, localedir, languages, all=1)
  File "/usr/lib/python2.7/gettext.py", line 437, in find
    for nelang in _expand_lang(lang):
  File "/usr/lib/python2.7/gettext.py", line 132, in _expand_lang
    locale = normalize(locale)
  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

luca at luca-HP-Pavilion-dv5-Notebook-PC:~$ Traceback (most recent call last):
  File "/usr/share/playonlinux/python/message_one.py", line 32, in <module>
    lib.lng.Lang()
  File "/usr/share/playonlinux/python/lib/lng.py", line 19, in __init__
    mytranslation = gettext.translation(domain, localedir, [mylocale.GetCanonicalName()], fallback = True)
  File "/usr/lib/python2.7/gettext.py", line 480, in translation
    mofiles = find(domain, localedir, languages, all=1)
  File "/usr/lib/python2.7/gettext.py", line 437, in find
    for nelang in _expand_lang(lang):
  File "/usr/lib/python2.7/gettext.py", line 132, in _expand_lang
    locale = normalize(locale)
  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 aptdaemon in Ubuntu.
https://bugs.launchpad.net/bugs/822913

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

Status in PlayOnLinux:
  New
Status in “aptdaemon” package in Ubuntu:
  Confirmed

Bug description:
  Hello
  Running an upgrade, at the end when no updates was founded, this popup appear.
  In terminal everythings works.
  Thanks
  Fabio

  ProblemType: Crash
  DistroRelease: Ubuntu 11.10
  Package: update-manager 1:0.152.10
  ProcVersionSignature: Ubuntu 3.0.0-8.10-generic 3.0.1
  Uname: Linux 3.0.0-8-generic x86_64
  Architecture: amd64
  Date: Mon Aug  8 22:03:11 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:
   LANG=it_IT.UTF-8
   SHELL=/bin/bash
  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: No upgrade log present (probably fresh install)
  UserGroups: adm admin cdrom dialout lpadmin plugdev sambashare

To manage notifications about this bug go to:
https://bugs.launchpad.net/playonlinux/+bug/822913/+subscriptions




More information about the foundations-bugs mailing list