software-center crashed with ImportError in getEffectiveLevel()

Bug #503703 reported by George Kontis
256
This bug affects 56 people
Affects Status Importance Assigned to Milestone
software-center (Ubuntu)
New
Undecided
Unassigned

Bug Description

Binary package hint: software-center

software-center crashed with ImportError in getEffectiveLevel() after last updates in 10.4

ProblemType: Crash
Architecture: i386
Date: Wed Jan 6 09:56:46 2010
DistroRelease: Ubuntu 10.04
ExecutablePath: /usr/share/software-center/software-center
InstallationMedia: Ubuntu 10.04 "Lucid Lynx" - Alpha i386 (20091214)
InterpreterPath: /usr/bin/python2.6
Package: software-center 1.1.6
PackageArchitecture: all
ProcCmdline: /usr/bin/python /usr/bin/software-center
ProcEnviron:
 LANG=el_GR.UTF-8
 SHELL=/bin/bash
ProcVersionSignature: Ubuntu 2.6.32-9.13-generic
PythonArgs: ['/usr/bin/software-center']
SourcePackage: software-center
Tags: lucid
Title: software-center crashed with ImportError in getEffectiveLevel()
Uname: Linux 2.6.32-9-generic i686
UserGroups: adm admin cdrom dialout lpadmin plugdev sambashare

Revision history for this message
George Kontis (giormatsis) wrote :
visibility: private → public
Revision history for this message
Geoffrey P. (geoffrey-p) wrote :

This seems linked to some other issues being exhibited in aptitude. So, this crash is almost identical to the crash I experienced earlier today. It all seems to be a problem with the locale.

I'm using EN-UTF-8. I also have localepurge installed with the following output:

sudo dpkg-reconfigure localepurge
perl: warning: Setting locale failed.
perl: warning: Please check that your locale settings:
 LANGUAGE = (unset),
 LC_ALL = (unset),
 LANG = "en_US.UTF-8"
    are supported and installed on your system.
perl: warning: Falling back to the standard locale ("C").
locale: Cannot set LC_CTYPE to default locale: No such file or directory
locale: Cannot set LC_ALL to default locale: No such file or directory
/usr/bin/locale: Cannot set LC_CTYPE to default locale: No such file or directory
/usr/bin/locale: Cannot set LC_ALL to default locale: No such file or directory

Revision history for this message
Geoffrey P. (geoffrey-p) wrote :

I uninstalled localepurge and tried to reset and reinstall the lost locales as per localepurge instructions. The operation was successful, but the problem persists.

I edited /var/lib/locales/supported.d/local (output as var_lib_locales_supported.d_local.txt below) and attempted a dpkg reconfig. This also fails with the following output:

sudo dpkg-reconfigure locales > dpkg.txt
perl: warning: Setting locale failed.
perl: warning: Please check that your locale settings:
 LANGUAGE = (unset),
 LC_ALL = (unset),
 LANG = "en_US.UTF-8"
    are supported and installed on your system.
perl: warning: Falling back to the standard locale ("C").
locale: Cannot set LC_CTYPE to default locale: No such file or directory
locale: Cannot set LC_ALL to default locale: No such file or directory
character map file `UTF-8"' not found: No such file or directory
cannot open locale definition file `LANG="en_US': No such file or directory
character map file `UTF-8"' not found: No such file or directory
cannot open locale definition file `LANGUAGE="en_US': No such file or directory

Revision history for this message
Jorge González (jag2kn) wrote :

jag2kn@mev:~$ sudo dpkg-reconfigure locales
[sudo] password for jag2kn:
perl: warning: Setting locale failed.
perl: warning: Please check that your locale settings:
 LANGUAGE = (unset),
 LC_ALL = (unset),
 LANG = "es_CO.utf8"
    are supported and installed on your system.
perl: warning: Falling back to the standard locale ("C").
locale: Cannot set LC_CTYPE to default locale: No such file or directory
locale: No se puede establecer LC_ALL a la localizaci?n predeterminada: No existe el fichero ? directorio
Generating locales...
  en_AG.UTF-8... up-to-date
  en_AU.UTF-8... up-to-date
  en_BW.UTF-8... up-to-date
  en_CA.UTF-8... up-to-date
....
  es_VE.UTF-8... up-to-date
Generation complete.

Revision history for this message
Apport retracing service (apport) wrote : This bug is a duplicate

Thank you for taking the time to report this crash and helping to make Ubuntu better. This particular crash has already been reported and is a duplicate of bug #503824, so is being marked as such. Please look at the other bug report to see if there is any missing information that you can provide, or to see if there is a workaround for the bug. Additionally, any further discussion regarding the bug should occur in the other report. Please continue to report any other bugs you may find.

tags: removed: need-duplicate-check
Revision history for this message
Jonas Pedersen (jonasped) wrote : Re: [Bug 503703] Re: software-center crashed with ImportError in getEffectiveLevel()

On 12-01-2010 19:33, Apport retracing service wrote:
> *** This bug is a duplicate of bug 503824 ***
> https://bugs.launchpad.net/bugs/503824
>
> Thank you for taking the time to report this crash and helping to make
> Ubuntu better. This particular crash has already been reported and is a
> duplicate of bug #503824, so is being marked as such. Please look at
> the other bug report to see if there is any missing information that you
> can provide, or to see if there is a workaround for the bug.

Please note that bug #503824 is marked as private. If possible please
make it public.

Thanks.

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.