471,119 Members | 1,408 Online
Bytes | Software Development & Data Engineering Community
Post +

Home Posts Topics Members FAQ

Join Bytes to post your question to a community of 471,119 software developers and data experts.

pytone / _bsddb

Hi all,

I've been using the `pytone' tool for playing my mp3's for a while. Great
tool. However, after upgrading Python to version 2.4 it stopped working. The
traceback that I get is this:

-----<snip>-----
Traceback (most recent call last):
File "src/pytone.py", line 104, in ?
songdbid = songdbmanager.addsongdb(songdbname,
+config.database[songdbname])
File "/home/basvg/bin/PyTone-2.2.1/src/services/songdb.py", line 147, in
+addsongdb
import songdbs.local
File "/home/basvg/bin/PyTone-2.2.1/src/services/songdbs/local.py", line
+24, in ?
import bsddb.dbshelve
File "/usr/lib/python2.4/bsddb/__init__.py", line 47, in ?
import _bsddb
ImportError: No module named _bsddb
-----</snip>-----

The mentioned line in __init__.py is:

-----<snip>-----
import _bsddb
-----</snip>-----

I had a look around through /usr/lib/python2.4 but I couldn't find a _bsddb
indeed. Can anyone help me get my favorite py-tool to work again ;-)?

Bas
--
<Ba*********@cs.ru.nl> - GPG Key ID: 2768A493 - http://www.cs.ru.nl/~basvg
Radboud University Nijmegen Institute for Computing and Information Sciences

Jul 18 '05 #1
2 1606
On 2005-03-03, Bas van Gils <re****************@send-spam-to-dev-null.com> wrote:
Hi all,

I've been using the `pytone' tool for playing my mp3's for a while. Great
tool. However, after upgrading Python to version 2.4 it stopped working. The
traceback that I get is this:

[ ... ]

Great, I found it myself. The problem was a version of db that was `too new'.
Apparently Python didn't like this version of db. After downgrading it and
rebuilding Python everything worked as expected. Yay!

Bas
--
<Ba*********@cs.ru.nl> - GPG Key ID: 2768A493 - http://www.cs.ru.nl/~basvg
Radboud University Nijmegen Institute for Computing and Information Sciences

Jul 18 '05 #2
Downgrading???
I think the author of this pytone software should upgrade. I just
upgrade all my python stuff in my FreeBSD box to python 2.4 :(

I had this same problem before too.

Jul 18 '05 #3

This discussion thread is closed

Replies have been disabled for this discussion.

Similar topics

reply views Thread by John D. | last post: by
3 posts views Thread by Mark Hahn | last post: by
reply views Thread by Falko Zurell | last post: by
1 post views Thread by Derek Basch | last post: by
2 posts views Thread by jalil | last post: by
reply views Thread by Richard Taylor | last post: by
1 post views Thread by Miki Tebeka | last post: by

By using Bytes.com and it's services, you agree to our Privacy Policy and Terms of Use.

To disable or enable advertisements and analytics tracking please visit the manage ads & tracking page.