[Spambayes] Error in classifier.py?

Skip Montanaro skip at pobox.com
Wed Sep 10 17:25:40 EDT 2003


    Martin> The problem occured while I was using 1.0a5.  One idea I have
    Martin> for why it might have gotten corrupted: While running the
    Martin> pop3proxy I halted it by closing the "DOS" box, instead of going
    Martin> into the web interface and choosing "Save and shutdown" first.
    Martin> Could this have caused the problem?

Yup.  Perhaps we can guard against that by wrapping the loop in a 

    try:
        loop_forever()
    except ???:
        save_database()

Any idea what exception gets raised when you kill a DOS box with Python
running?

Skip



More information about the Spambayes mailing list