install fails if locale is wrong

Bug #516266 reported by Robert Collins
6
This bug affects 1 person
Affects Status Importance Assigned to Milestone
software-center (Ubuntu)
Fix Released
High
Unassigned

Bug Description

Binary package hint: software-center

Setting up software-center (1.1.10) ...
ERROR:root:setlocale failed
Traceback (most recent call last):
  File "/usr/sbin/update-software-center", line 74, in <module>
    locale.setlocale(locale.LC_ALL, "")
  File "/usr/lib/python2.6/locale.py", line 513, in setlocale
    return _setlocale(category, locale)
Error: unsupported locale setting

occurs when LANG is set to an invalid value. software-centre probably wants to squash this or report it more gracefully.

Michael Vogt (mvo)
Changed in software-center (Ubuntu):
status: New → In Progress
importance: Undecided → High
status: In Progress → Fix Committed
Revision history for this message
Launchpad Janitor (janitor) wrote :

This bug was fixed in the package software-center - 1.1.11

---------------
software-center (1.1.11) lucid; urgency=low

  [ Michael Vogt ]
  * make action buttons in the appview insensitive while a action
    is in progress
  * added po/th.po:
    - thanks to Sira Nokyoonhtong
  * merge lp:~tomeu/software-center/bug-fixes that makes the
    "No screenshot available" text translatable, thanks to
    Tomeu Vizoso (LP: #443066)
  * softwarecenter/backend/aptd.py:
    - only set meta-data that is actually available (LP: #499392)
  * utils/update-software-center:
    - warn if locale can not be set (LP: #516266)
  * merge branch lp:~juliank/software-center/debian (many thanks)
  * merge lp:~mvo/software-center/spinner, this gives us inline
    progress

  [ Gary Lasker ]
  * softwarecenter/view/viewswitcher.py:
    - add support for using the up/down arrow keys to select
      items in the navigation pane (LP: #517271)
  * softwarecenter/distro/Ubuntu.py,
    po/software-center.pot:
    - fix typo for apps with unknown maintenance status,
      refreshed .pot file (LP: #519090)
 -- Michael Vogt <email address hidden> Tue, 09 Feb 2010 16:45:47 +0100

Changed in software-center (Ubuntu):
status: Fix Committed → Fix Released
To post a comment you must log in.
This report contains Public information  
Everyone can see this information.

Other bug subscribers

Remote bug watches

Bug watches keep track of this bug in other bug trackers.