[Spambayes] sb_imapfilter.py AssertionError: hamcount <= nham
tony-bayes at lownds.com
Mon Dec 1 10:52:40 EST 2003
At 5:39 PM -0600 11/30/03, Skip Montanaro wrote:
> Tony> When I classify through sb_imapfilter.py, I am getting an
> Tony> AssertionError. Any ideas?
>That indicates a corrupt database. Do you ever kill sb_imapfilter.py
>without giving it a chance to clean up properly or run two SpamBayes
>applications which might both want to write to the same database (say,
>sb_server.py or sb_filter.py as well as sb_imapfilter.py)?
Nope, I am running everything in sequence. The sequence of commands I
showed zapped the database right before training. I'm guessing that
sp_imapfilter.py and Courier IMAP don't work nicely together (yet).
More information about the Spambayes