[spambayes-bugs] [ spambayes-Bugs-897895 ] training via SMTP is not
possible
SourceForge.net
noreply at sourceforge.net
Mon Feb 16 22:03:07 EST 2004
Bugs item #897895, was opened at 2004-02-16 22:20
Message generated for change (Comment added) made by anadelonbrin
You can respond by visiting:
https://sourceforge.net/tracker/?func=detail&atid=498103&aid=897895&group_id=61702
Category: pop3proxy
Group: None
>Status: Closed
>Resolution: Duplicate
Priority: 5
Submitted By: Massimo Ferrario (maxferrario)
Assigned to: Nobody/Anonymous (nobody)
Summary: training via SMTP is not possible
Initial Comment:
The training via SMTP is not working anymore in 1.0a9
(it was in my previous 1.0a7 installation).
If I send an email to the SMTP port I get almost always
a "connection closed" error on my MUA (Eudora). Sorry I
cannot tell exactly when this error occurs, I can only
say that I got this problem many times, but a few mails
were accepted!
After I try to train spambayes via SMTP, and get an
error, my emails contain an X-Spambayes-Exception
header
====================
X-Spambayes-Exception: Traceback (most recent call
last):
. File "/usr/bin/sb_server.py", line 451, in onRetr.
evidence=True)
. File "/usr/lib/python2.2/site-
packages/spambayes/classifier.py", line
190, in chi2_spamprob. clues = self._getclues
(wordstream)
. File "/usr/lib/python2.2/site-
packages/spambayes/classifier.py", line
493, in _getclues. tup = self._worddistanceget(word)
. File "/usr/lib/python2.2/site-
packages/spambayes/classifier.py", line
504, in _worddistanceget. record = self._wordinfoget
(word)
. File "/usr/lib/python2.2/site-
packages/spambayes/storage.py", line 261,
in _wordinfoget. r = self.db.get(word)
. File "/usr/lib/python2.2/shelve.py", line 65, in get
. if self.dict.has_key(key):
.error: (-30981, 'Unknown error 4294936315')
====================
and if I stop the POP3 proxy via command line i get
====================
# /etc/rc.d/init.d/spambayes_pop3 stop
Traceback (most recent call last):
File "/usr/bin/sb_server.py", line 451, in onRetr
evidence=True)
File "/usr/lib/python2.2/site-
packages/spambayes/classifier.py", line 190, in
chi2_spamprob
clues = self._getclues(wordstream)
File "/usr/lib/python2.2/site-
packages/spambayes/classifier.py", line 493, in _getclues
tup = self._worddistanceget(word)
File "/usr/lib/python2.2/site-
packages/spambayes/classifier.py", line 504, in
_worddistanceget
record = self._wordinfoget(word)
File "/usr/lib/python2.2/site-
packages/spambayes/storage.py", line 261, in
_wordinfoget
r = self.db.get(word)
File "/usr/lib/python2.2/shelve.py", line 65, in get
if self.dict.has_key(key):
error: (-30981, 'Unknown error 4294936315')
====================
Please note that I am using 1.09a + message.py and
Stats.py from CVS.
My system is a RedHat 9.0 box, python 2.2
PS
I can train spambayes on the same message that gave
the previous error using the web interface at "Train on a
message, mbox file or dbx file"
----------------------------------------------------------------------
>Comment By: Tony Meyer (anadelonbrin)
Date: 2004-02-17 16:03
Message:
Logged In: YES
user_id=552329
Dupe of [ 896366 ] Crashes in the web interface
<https://sourceforge.net/tracker/index.php?
func=detail&aid=896366&group_id=61702&atid=498103>
Whatever's going wrong, it's the same thing in both reports,
so tracking in the original one.
----------------------------------------------------------------------
Comment By: Massimo Ferrario (maxferrario)
Date: 2004-02-16 22:29
Message:
Logged In: YES
user_id=224613
PS - additional infos from bugreport page
I am using SpamBayes POP3 Proxy Version 0.4 (February
2004) (source), with version 2.2.2 (#1, Feb 24 2003,
19:13:11) [GCC 3.2.2 20030222 (Red Hat Linux 3.2.2-4)] of
Python; my operating system is posix. I have trained 84 ham
and 159 spam.
----------------------------------------------------------------------
You can respond by visiting:
https://sourceforge.net/tracker/?func=detail&atid=498103&aid=897895&group_id=61702
More information about the Spambayes-bugs
mailing list