[Spambayes] error in sb_server.py

Amedee Van Gasse amedee at amedee.be
Fri Sep 29 12:51:15 CEST 2006


*bump*
Any suggestions?


On Mon, September 25, 2006 10:40, Amedee Van Gasse said:
> 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?
>
> --
> Amedee
>
> _______________________________________________
> SpamBayes at python.org
> http://mail.python.org/mailman/listinfo/spambayes
> Check the FAQ before asking: http://spambayes.sf.net/faq.html
>
>


-- 




More information about the SpamBayes mailing list