[spambayes-dev] Bug?: assert hamcount <= nham

Skip Montanaro skip at pobox.com
Tue Jul 20 16:23:28 CEST 2004


    Titus> I observed, that the following error happens sometimes when a
    Titus> message is being classified while sb_mboxtrain.py is running:
    ...
    Titus>     assert hamcount <= nham
    Titus> AssertionError

You have a corrupt database.  You need to provide exclusive access to the
database, especially when sb_mboxtrain.py is running.  I suggest you at
least run it so that it operates on a separate database, then mv the new
database it into place when it's finished.

Skip



More information about the spambayes-dev mailing list