This bug was fixed in the package apport - 2.9.2-0ubuntu4

---------------
apport (2.9.2-0ubuntu4) raring; urgency=low

  * data/general-hooks/ubuntu-gnome.py: Add "gnome3-ppa" tag if any dependency
    is from the gnome3 PPA.
  * Merge from trunk:
    - hookutils.attach_conffiles(): Fix IOError crash on inaccessible
      conffiles; mark them as '[inaccessible: <reason>]' instead.
      (LP: #1154536)
    - hookutils.in_session_of_problem(): Fix crash when the current locale is
      invalid. (LP: #1154896)
 -- Martin Pitt <[email protected]>   Mon, 25 Mar 2013 15:34:02 +0100

** Changed in: apport (Ubuntu)
       Status: Fix Committed => Fix Released

-- 
You received this bug notification because you are a member of Desktop
Packages, which is subscribed to apport in Ubuntu.
https://bugs.launchpad.net/bugs/1154896

Title:
  unsupported locale handling

Status in “apport” package in Ubuntu:
  Fix Released

Bug description:
  Crash report can fail if locale configured in system is not recognized
  by python3, see Bug #1154145

  I wonder if the actual failure was because of this traceback:

  Traceback (most recent call last):
    File "/usr/lib/python3/dist-packages/apport/report.py", line 197, in 
_run_hook
      symb['add_info'](report, ui)
    File "/usr/share/apport/general-hooks/generic.py", line 48, in add_info
      if gtk_like and apport.hookutils.in_session_of_problem(report):
    File "/usr/lib/python3/dist-packages/apport/hookutils.py", line 848, in 
in_session_of_problem
      locale.setlocale(locale.LC_TIME, orig_ctime)
    File "/usr/lib/python3.3/locale.py", line 541, in setlocale
      return _setlocale(category, locale)
  locale.Error: unsupported locale setting

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

-- 
Mailing list: https://launchpad.net/~desktop-packages
Post to     : [email protected]
Unsubscribe : https://launchpad.net/~desktop-packages
More help   : https://help.launchpad.net/ListHelp

Reply via email to