software-center Import errors

Bug #951285 reported by Lucas Benninger
62
This bug affects 14 people
Affects Status Importance Assigned to Milestone
software-center (Ubuntu)
Fix Released
Undecided
Unassigned

Bug Description

The software-center doesnt open. So I tried invoking it through the terminal and I recieved this message:

Traceback (most recent call last):
  File "/usr/bin/software-center", line 140, in <module>
    from softwarecenter.ui.gtk3.app import SoftwareCenterAppGtk3
  File "/usr/share/software-center/softwarecenter/ui/gtk3/app.py", line 83, in <module>
    from softwarecenter.ui.gtk3.panes.installedpane import InstalledPane
  File "/usr/share/software-center/softwarecenter/ui/gtk3/panes/installedpane.py", line 37, in <module>
    from softwarecenter.ui.gtk3.models.appstore2 import (
  File "/usr/share/software-center/softwarecenter/ui/gtk3/models/appstore2.py", line 33, in <module>
    from softwarecenter.backend.reviews import get_review_loader
  File "/usr/share/software-center/softwarecenter/backend/reviews/__init__.py", line 32, in <module>
    from bsddb import db as bdb
  File "/usr/lib/python2.7/bsddb/__init__.py", line 67, in <module>
    import _bsddb
ImportError: No module named _bsddb

lsb_release -rd:
Description: Ubuntu precise (development branch)
Release: 12.04

apt-cache policy software-center:
software-center:
  Installed: 5.1.12
  Candidate: 5.1.12
  Version table:
 *** 5.1.12 0
        500 http://ca.archive.ubuntu.com/ubuntu/ precise/main amd64 Packages
        100 /var/lib/dpkg/status

Revision history for this message
Launchpad Janitor (janitor) wrote :

Status changed to 'Confirmed' because the bug affects multiple users.

Changed in software-center (Ubuntu):
status: New → Confirmed
Revision history for this message
Kiwinote (kiwinote) wrote :

It looks like if you install the latest updates (ie ensure you have python2.7 version 2.7.3~rc1-1ubuntu2 installed), then this should be working again.

Changed in software-center (Ubuntu):
status: Confirmed → Fix Released
Revision history for this message
Lucas Benninger (lucas8060-deactivatedaccount) wrote :

Yes, thank you. The update for python did seem to fix this issue.

To post a comment you must log in.
This report contains Public information  
Everyone can see this information.

Duplicates of this bug

Other bug subscribers

Remote bug watches

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