[Bug 440889] Re: software-center crashed with ImportError in /usr/lib/python2.7/bsddb/__init__.py: No module named _bsddb

Kiwinote kiwinote at gmail.com
Sat Jan 21 21:44:38 UTC 2012


Hi Dave - you're right in noting that the original bug report was
describing a different issue. For some reason apport marked all the
919xxx bugs as duplicates of this one. In order not to confuse all the
new subscribers by unmarking their new bugs as duplicates and then
marking them as duplicates of something else, I decided to modify this
report to reflect all its duplicates. Although not an ideal situation, I
figured that this would cause the least disruption - the original bug no
longer occurs in software-center. Hope this clarifies things a bit!

As for the current issue, an initial look would seem to imply that it
was caused by a recent python update?

-- 
You received this bug notification because you are a member of Ubuntu
Foundations Bugs, which is subscribed to python2.7 in Ubuntu.
https://bugs.launchpad.net/bugs/440889

Title:
  software-center crashed with ImportError in
  /usr/lib/python2.7/bsddb/__init__.py: No module named _bsddb

Status in “python2.7” package in Ubuntu:
  Triaged
Status in “python2.7” source package in Precise:
  Triaged

Bug description:
  TEST CASE:
  python -c 'import bsddb'

  RESULT
  Traceback (most recent call last):
    File "<string>", line 1, in <module>
    File "/usr/lib/python2.7/bsddb/__init__.py", line 67, in <module>
      import _bsddb
  ImportError: No module named _bsddb

  
  Symptons: software-center doesn't start

  Traceback (most recent call last):
    File "/usr/bin/software-center", line 131, in <module>
      from softwarecenter.ui.gtk3.app import SoftwareCenterAppGtk3
    File "/usr/share/software-center/softwarecenter/ui/gtk3/app.py", line 82, in <module>
      from softwarecenter.ui.gtk3.panes.installedpane import InstalledPane
    File "/usr/share/software-center/softwarecenter/ui/gtk3/panes/installedpane.py", line 36, 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

  (this wasn't the original bug - but since apport decided to use this
  as the master bug I've updated the description)

To manage notifications about this bug go to:
https://bugs.launchpad.net/ubuntu/+source/python2.7/+bug/440889/+subscriptions




More information about the foundations-bugs mailing list