Comment 15 for bug 440889

Revision history for this message
J Cord (j7cord) wrote : Re: [Bug 440889] Re: software-center crashed with ImportError in /usr/lib/python2.7/bsddb/__init__.py: No module named _bsddb

The update fixed it for me as well. Thanks to all

On Sun, Jan 22, 2012 at 1:34 AM, Marco <email address hidden> wrote:

> Ok, it's solved. Thanks.
>
> Il giorno 22/gen/2012 09:25, "Anders Ekberg" <email address hidden>
> ha
> scritto:
> >
> > That solved it for me.
> >
> > /Anders
> >
> > 2012-01-21 23:25, Launchpad Bug Tracker skrev:
> > > This bug was fixed in the package python2.7 - 2.7.2-13ubuntu3
> > >
> > > ---------------
> > > python2.7 (2.7.2-13ubuntu3) precise; urgency=low
> > >
> > > * Really apply the db5.1 patch. LP: #440889 (why is such an old and
> > > unrelated issue number used?).
> > > -- Matthias Klose<email address hidden> Sat, 21 Jan 2012 23:09:45
> +0100
> > >
> > > ** Changed in: python2.7 (Ubuntu Precise)
> > > Status: Triaged => Fix Released
> > >
> >
> > --
> > You received this bug notification because you are subscribed to a
> > duplicate bug report (919637).
> > 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 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
>