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

J Cord 440889 at bugs.launchpad.net
Sat Mar 10 17:02:51 UTC 2012


Acknowledged, yes, back to normal operation here. Thank you, Best Wishes

On Sat, Mar 10, 2012 at 9:31 AM, Jean-Baptiste Lallement <
jean-baptiste at ubuntu.com> wrote:

> No need to file a new bug, this is fixed in
>
> python2.7 (2.7.3~rc1-1ubuntu2) precise; urgency=low
>
>  * Re-enable the db5.1 patch again.  LP: #440889.
>
> --
> You received this bug notification because you are subscribed to a
> duplicate bug report (919507).
> 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:
>  Fix Released
> Status in “python2.7” source package in Precise:
>  Fix Released
>
> 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
>
>  WORKAROUND:
>  Downgrade python2.7, libpython2.7 and python2.7-minimal to a version
> prior to 2.7.2-13ubuntu1
>  You can find the package in your local apt cache in
> /var/cache/apt/archives/
>  Or from launchpad
> https://launchpad.net/ubuntu/precise/+source/python2.7/2.7.2-9ubuntu1 and
> select your architecture in the list of builds on the right of the page.
>
>  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
>

-- 
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:
  Fix Released
Status in “python2.7” source package in Precise:
  Fix Released

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

  WORKAROUND:
  Downgrade python2.7, libpython2.7 and python2.7-minimal to a version prior to 2.7.2-13ubuntu1
  You can find the package in your local apt cache in /var/cache/apt/archives/
  Or from launchpad https://launchpad.net/ubuntu/precise/+source/python2.7/2.7.2-9ubuntu1 and select your architecture in the list of builds on the right of the page.

  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