Public bug reported:

After upgrading from Intrepid to Jaunty apport no longer seems to work. 
Although the taskbar icon appears after a crash and a notification is show, 
when clicking it it displays a blank window and crashes immediately.
Trying to run apport cli from the console results in:
# apport-cli 
Traceback (most recent call last):
  File "/usr/bin/apport-cli", line 294, in <module>
    if not app.run_argv():
  File "/usr/lib/python2.6/dist-packages/apport/ui.py", line 337, in run_argv
    return self.run_crashes()
  File "/usr/lib/python2.6/dist-packages/apport/ui.py", line 114, in run_crashes
    self.run_crash(f)
  File "/usr/lib/python2.6/dist-packages/apport/ui.py", line 188, in run_crash
    response = self.ui_present_crash(desktop_entry)
  File "/usr/bin/apport-cli", line 136, in ui_present_crash
    heading = _('%s closed unexpectedly on %s at %s.') % (name, date.date(), 
date.time())
UnicodeDecodeError: 'ascii' codec can't decode byte 0xc5 in position 22: 
ordinal not in range(128)

When running # LANG=C apport-cli it displays correctly.
My locale setting are:
LANG=pl_PL.UTF-8
LC_CTYPE="pl_PL.UTF-8"
LC_NUMERIC="pl_PL.UTF-8"
LC_TIME="pl_PL.UTF-8"
LC_COLLATE="pl_PL.UTF-8"
LC_MONETARY="pl_PL.UTF-8"
LC_MESSAGES="pl_PL.UTF-8"
LC_PAPER="pl_PL.UTF-8"
LC_NAME="pl_PL.UTF-8"
LC_ADDRESS="pl_PL.UTF-8"
LC_TELEPHONE="pl_PL.UTF-8"
LC_MEASUREMENT="pl_PL.UTF-8"
LC_IDENTIFICATION="pl_PL.UTF-8"
LC_ALL=

** Affects: apport
     Importance: Undecided
         Status: New

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

** Also affects: apport (Ubuntu)
   Importance: Undecided
       Status: New

-- 
apport-cli fails with non C locale
https://bugs.launchpad.net/bugs/339075
You received this bug notification because you are a member of Ubuntu
Bugs, which is subscribed to Ubuntu.

-- 
ubuntu-bugs mailing list
ubuntu-bugs@lists.ubuntu.com
https://lists.ubuntu.com/mailman/listinfo/ubuntu-bugs

Reply via email to