[spambayes-bugs] [ spambayes-Bugs-868742 ] sb_mboxtrain.py fails on
cygwin
SourceForge.net
noreply at sourceforge.net
Wed Jul 14 12:22:51 CEST 2004
Bugs item #868742, was opened at 2004-01-01 23:27
Message generated for change (Comment added) made by anadelonbrin
You can respond by visiting:
https://sourceforge.net/tracker/?func=detail&atid=498103&aid=868742&group_id=61702
Category: None
Group: None
>Status: Closed
>Resolution: Out of Date
Priority: 5
Submitted By: Miki Tebeka (tebeka)
Assigned to: Nobody/Anonymous (nobody)
Summary: sb_mboxtrain.py fails on cygwin
Initial Comment:
Trying to run sb_mboxtrain.py on cygwin fails.
The cause of the problem is line 165 which has seek(0),
this does not work on cygwin. I've commented this like
and looks like it's working.
A patch would be:
if sys.platform != cygwin:
outf.seek(0)
----------------------------------------------------------------------
>Comment By: Tony Meyer (anadelonbrin)
Date: 2004-07-14 22:22
Message:
Logged In: YES
user_id=552329
Python 2.3.4 on Cygwin does indeed have seek, and both lines
in sb_mboxtrain.py work. sb_mboxtrain.py appears to work,
although I don't use it, so that's only from limited testing.
Closing as out of date.
----------------------------------------------------------------------
You can respond by visiting:
https://sourceforge.net/tracker/?func=detail&atid=498103&aid=868742&group_id=61702
More information about the Spambayes-bugs
mailing list