[spambayes-bugs] [ spambayes-Bugs-798469 ] mboxtrain crashes on
maildir
SourceForge.net
noreply at sourceforge.net
Mon Sep 1 04:34:26 EDT 2003
Bugs item #798469, was opened at 2003-09-01 22:33
Message generated for change (Comment added) made by anadelonbrin
You can respond by visiting:
https://sourceforge.net/tracker/?func=detail&atid=498103&aid=798469&group_id=61702
Category: None
Group: None
>Status: Closed
>Resolution: Fixed
Priority: 5
Submitted By: Oliver Mihatsch (omihatsch)
Assigned to: Nobody/Anonymous (nobody)
Summary: mboxtrain crashes on maildir
Initial Comment:
Using spambayes-1.0a4 I get the following error
when calling mboxtrain.py on a maildir.
Training spam
(/home/oliver/Mail/.spambayes.directory/spam):
Reading as Maildir
1062401463.20854.X279:2,S Traceback (most
recent call last):
File
"/home/oliver/software/python/bin/mboxtrain.py", line
294, in ?
main()
File
"/home/oliver/software/python/bin/mboxtrain.py", line
286, in main
train(h, s, True, force, trainnew)
File
"/home/oliver/software/python/bin/mboxtrain.py", line
216, in train
maildir_train(h, os.path.join(path, "cur"),
is_spam, force)
File
"/home/oliver/software/python/bin/mboxtrain.py", line
113, in maildir_train
f = file(tfn, "wb")
IOError: [Errno 2] No such file or directory:
'/home/oliver/Mail/.spambayes.directory/spam/cur/tmp/1062410184.6790_1.zaire'
I could fix the problem by changing "tmp" for
"../tmp" in line 101 of mboxtrain.ph
----------------------------------------------------------------------
Comment By: Tony Meyer (anadelonbrin)
Date: 2003-09-01 22:34
Message:
Logged In: YES
user_id=552329
Thanks for your report. This bug has previously been reported,
and has already been fixed in the source-code - so you can expect
to see the fix in the next binary release.
You may wish to subscribe to the spambayes-announce list to see
when each version is released - details at
http://mail.python.org/mailman-21/listinfo/spambayes-announce
If you are technically minded, you may like to run from the CVS
version of the source-code, and you should find the fix
immediately - see the main SpamBayes pages for details.
----------------------------------------------------------------------
You can respond by visiting:
https://sourceforge.net/tracker/?func=detail&atid=498103&aid=798469&group_id=61702
More information about the Spambayes-bugs
mailing list