[Bug 826050] [NEW] python2.7 bug startup ''playonlinux'' , python2.6 working

segora azzote at hotmail.fr
Sun Aug 14 00:21:51 UTC 2011


Public bug reported:

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

** Affects: aptdaemon (Ubuntu)
     Importance: Undecided
         Status: New

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

Title:
  python2.7 bug startup ''playonlinux'' , python2.6 working

Status in “aptdaemon” package in Ubuntu:
  New

Bug description:
  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

To manage notifications about this bug go to:
https://bugs.launchpad.net/ubuntu/+source/aptdaemon/+bug/826050/+subscriptions




More information about the foundations-bugs mailing list