Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!
Bug 30495 - net-p2p/pysoulseek-1.2.4 bails out with "ImportError: no module named bsddb"
Summary: net-p2p/pysoulseek-1.2.4 bails out with "ImportError: no module named bsddb"
Status: RESOLVED INVALID
Alias: None
Product: Gentoo Linux
Classification: Unclassified
Component: Current packages (show other bugs)
Hardware: x86 Linux
: High normal (vote)
Assignee: Gentoo Linux bug wranglers
URL: http://www.sensi.org/~ak/pyslsk/
Whiteboard:
Keywords:
Depends on:
Blocks:
 
Reported: 2003-10-06 10:59 UTC by Christopher Eineke
Modified: 2003-10-06 11:09 UTC (History)
0 users

See Also:
Package list:
Runtime testing required: ---


Attachments

Note You need to log in before you can comment on or make changes to this bug.
Description Christopher Eineke 2003-10-06 10:59:33 UTC
Since version 1.2.4 pysoulseek won't start up anymore because the interpreter can't find the module ``bsddb''. I tried to emerge ``bsddb3'' (Python bindings for BerkeleyDB), but that didn't fix the problem either.

Here is a traceback log:
Traceback (most recent call last):
  File "/usr/bin/pyslsk", line 88, in ?
    app = frame.MainApp(config)
  File "/usr/lib/python2.2/site-packages/pysoulseek/wxgui/frame.py", line 530, in __init__
    wxApp.__init__(self)
  File "/usr/lib/python2.2/site-packages/wxPython/wx.py", line 1939, in __init__
    _wxStart(self.OnInit)
  File "/usr/lib/python2.2/site-packages/pysoulseek/wxgui/frame.py", line 534, in OnInit
    self.frame = MainFrame(None,-1,'PySoulSeek %s' % utils.version, self.config, self) 
  File "/usr/lib/python2.2/site-packages/pysoulseek/wxgui/frame.py", line 78, in __init__
    self.np = NetworkEventProcessor(self,self.callback,self.logMessage,self.SetStatusText, configfile)
  File "/usr/lib/python2.2/site-packages/pysoulseek/pysoulseek.py", line 58, in __init__
    self.config.readConfig()
  File "/usr/lib/python2.2/site-packages/pysoulseek/config.py", line 76, in readConfig
    sharedfiles = shelve.open(self.filename+".files.db",'n')
  File "/usr/lib/python2.2/shelve.py", line 158, in open
    return DbfilenameShelf(filename, flag)
  File "/usr/lib/python2.2/shelve.py", line 148, in __init__
    Shelf.__init__(self, anydbm.open(filename, flag))
  File "/usr/lib/python2.2/anydbm.py", line 85, in open
    mod = __import__(result)
  File "/usr/lib/python2.2/dbhash.py", line 5, in ?
    import bsddb
ImportError: No module named bsddb

I hope somebody can help me out with that :)
Comment 1 Christopher Eineke 2003-10-06 11:09:36 UTC
Forget it, deleting pyslsk user-data files fixed the problem. Sorry for any
inconvinience... :/