[Spambayes] fcntl not available on Windows

papaDoc papaDoc at videotron.ca
Fri Jan 2 11:37:54 EST 2004


Hi,

> > I'm trying to get the command line stuff to work in Windows.  When I
> > try to run sb_mboxtrain.py it fails when it imports fcntl.  Looking
> > through my Python lib directory fcntl.py doesn't exist although
> > FCNTL.py does. According to the Python docs, fcntl is Unix only.

> That's right.  sb_mboxtrain can't work on native Windows as it's currently
> written.  I think someone has already wormed around this, but (sorry!) don't
> remember the details.

I'm the one who wrote the patch. You can find it at:
http://sourceforge.net/tracker/index.php?func=detail&aid=857937&group_id=61702&atid=498105


You might need portalocker.py, if you don't have it yet just ask me. I will send it to you.


Remi






More information about the Spambayes mailing list