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@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
*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@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@python.org http://mail.python.org/mailman/listinfo/spambayes Check the FAQ before asking: http://spambayes.sf.net/faq.html
--
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@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?
Hi Amedee,
KeyError: '\x00'
This has come up before, and Tony gave this advice: http://mail.python.org/pipermail/spambayes/2005-February/016259.html Is that any help? -- Richie Hindle richie@entrian.com
participants (2)
-
Amedee Van Gasse -
Richie Hindle