Setting this to Confirmed, as I can reproduce using the steps described above, 
but set the Priority to Low, as this should not be a common issue on the 
distributions software-center currently works on, as lsb-release should exist 
by default (I thinkg the use rmight  have some more serious trouble than 
software-center doesn't start if it does not exist)
---
Ubuntu Bug Squad volunteer triager
http://wiki.ubuntu.com/BugSquad

** Changed in: software-center (Ubuntu)
       Status: New => Confirmed

** Changed in: software-center (Ubuntu)
   Importance: Undecided => Low

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

Title:
  Crashes on launch if /etc/lsb-release is missing

Status in “software-center” package in Ubuntu:
  Confirmed

Bug description:
  software-center trunk r3054, Ubuntu 12.04

  1. sudo mv /etc/lsb-release /etc/lsb-release.backup
  2. software-center
  3. sudo mv /etc/lsb-release /etc/lsb-release.backup # IMPORTANT to restore 
your system

  What happens:
  2. ------------
  ERROR:root:DebFileApplication import
  Traceback (most recent call last):
    File 
"/home/mpt/hacking/software-center/trunk/softwarecenter/db/__init__.py", line 
4, in <module>
      from debfile import DebFileApplication, DebFileOpenError
    File 
"/home/mpt/hacking/software-center/trunk/softwarecenter/db/debfile.py", line 
25, in <module>
      from softwarecenter.db.application import Application, AppDetails
    File 
"/home/mpt/hacking/software-center/trunk/softwarecenter/db/application.py", 
line 27, in <module>
      import softwarecenter.distro
    File 
"/home/mpt/hacking/software-center/trunk/softwarecenter/distro/__init__.py", 
line 194, in <module>
      distro_instance = _get_distro()
    File 
"/home/mpt/hacking/software-center/trunk/softwarecenter/distro/__init__.py", 
line 171, in _get_distro
      distro_class = getattr(module, distro_id)
  AttributeError: 'module' object has no attribute 'debian'
  INFO:softwarecenter:Using data (UI, xapian) from current dir
  2012-07-02 11:46:49,094 - softwarecenter - INFO - Using data (UI, xapian) 
from current dir
  Traceback (most recent call last):
    File "./software-center", line 144, in <module>
      from softwarecenter.ui.gtk3.app import SoftwareCenterAppGtk3
    File 
"/home/mpt/hacking/software-center/trunk/softwarecenter/ui/gtk3/app.py", line 
51, in <module>
      from softwarecenter.db.application import Application
    File 
"/home/mpt/hacking/software-center/trunk/softwarecenter/db/application.py", 
line 27, in <module>
      import softwarecenter.distro
    File 
"/home/mpt/hacking/software-center/trunk/softwarecenter/distro/__init__.py", 
line 194, in <module>
      distro_instance = _get_distro()
    File 
"/home/mpt/hacking/software-center/trunk/softwarecenter/distro/__init__.py", 
line 171, in _get_distro
      distro_class = getattr(module, distro_id)
  AttributeError: 'module' object has no attribute 'debian'
  ------------

  Fixing this bug may also fix bug 982370.

To manage notifications about this bug go to:
https://bugs.launchpad.net/ubuntu/+source/software-center/+bug/1020038/+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