[Spambayes] error in sb_server.py

Amedee Van Gasse amedee at amedee.be
Thu Oct 5 00:00:25 CEST 2006


another *bump*
(sorry)

Op ma, 25-09-2006 te 10:40 +0200, schreef Amedee Van Gasse:
> I have the following bash script for getting the spambayes stats:
> 
> #!/bin/sh
> #
> sb_server.py 1>/dev/null &
> sleep .5
> elinks -source http://localhost:8880 | grep am: | html2text
> pkill sb_server.py 2>&1
> 
> 
> Since a few days, I get the following error:
> 
> amedee at elbereth { ~ }$ ./spamstats
> Traceback (most recent call last):
>   File "/usr/bin/sb_server.py", line 104, in ?
>     import spambayes.message
>   File "/usr/lib/python2.3/site-packages/spambayes/message.py", line 220,
> in ?
>     msginfoDB = MessageInfoPickle(message_info_db_name)
>   File "/usr/lib/python2.3/site-packages/spambayes/message.py", line 148,
> in __init__
>     self.load()
>   File "/usr/lib/python2.3/site-packages/spambayes/message.py", line 160,
> in load
>     self.db = pickle.load(fp)
>   File "/usr/lib/python2.3/pickle.py", line 1390, in load
>     return Unpickler(file).load()
>   File "/usr/lib/python2.3/pickle.py", line 872, in load
>     dispatch[key](self)
> KeyError: '\x00'
> ELinks: Connection refused
> 
> 
> Same error when I just run "sb_server.py".
> 
> 
> What's wrong here?
> 



More information about the SpamBayes mailing list