[Spambayes] Key error
Rich Cook
wealthychef at yahoo.com
Mon Feb 14 19:03:41 CET 2005
Hi,
I'm getting the following error when I run sb_server.py. I know Apple
tends to put their own python in a funny place, but I seem to be
picking up the same python regardless. here is some sys info (it's Mac
OS X 10.3.7)
rcook at Richs-Computer (Downloads): uname -a
Darwin Richs-Computer.local 7.7.0 Darwin Kernel Version 7.7.0: Sun Nov
7 16:06:51 PST 2004; root:xnu/xnu-517.9.5.obj~1/RELEASE_PPC Power
Macintosh powerpc
Here's how I installed spambayes:
rcook at Richs-Computer (spambayes-1.0.3): sudo python setup.py install
Here's where python lives:
rcook at Richs-Computer (spambayes-1.0.3): type python
python is hashed (/sw/bin/python)
Here's the error:
rcook at Richs-Computer (Downloads): sb_server.py
Traceback (most recent call last):
File "/sw/bin/sb_server.py", line 104, in ?
import spambayes.message
File "/sw/lib/python2.3/site-packages/spambayes/message.py", line
220, in ?
msginfoDB = MessageInfoPickle(message_info_db_name)
File "/sw/lib/python2.3/site-packages/spambayes/message.py", line
148, in __init__
self.load()
File "/sw/lib/python2.3/site-packages/spambayes/message.py", line
160, in load
self.db = pickle.load(fp)
File "/sw/src/root-python23-2.3.4-2/sw/lib/python2.3/pickle.py", line
1390, in load
return Unpickler(file).load()
File "/sw/src/root-python23-2.3.4-2/sw/lib/python2.3/pickle.py", line
872, in load
dispatch[key](self)
KeyError: '\x00'
Any help? Thanks.
--
Rich "wealthychef" Cook
925-784-3077
--
Every time you download music, God kills a kitten.
More information about the Spambayes
mailing list