[Spambayes] Hammiefilter not run on Win paltform ?

Brandis Jaroslav jaroslav.brandis at softec.sk
Thu Jun 19 10:52:57 EDT 2003


Hello. 

I tried to run hammiefilter in cmd.exe
C:\temp\cvs\spambayes>hammiefilter.py <
"c:\temp\cvs\spambayes.o\spam.txt"
Traceback (most recent call last):
  File "C:\temp\cvs\spambayes\hammiefilter.py", line 186, in ?
    main()
  File "C:\temp\cvs\spambayes\hammiefilter.py", line 180, in main
    msg = mboxutils.get_message(sys.stdin)
  File "C:\temp\cvs\spambayes\spambayes\mboxutils.py", line 114, in
get_message
    obj = obj.read()
IOError: [Errno 9] Bad file descriptor

Spam.txt is renamed file exported from outlookXP with export command
from spambayes\outlook2000 dir.

But when I run training with hammiefilter -d test.db -s c:\temp\spam
hammie is training  and building db. 

Whats wrong ? 


Thanks for advice




More information about the Spambayes mailing list