The training database corrupted today, so I have started training a new
database.
Now, sometimes training occurs with no errors; other time I get the
message below.
What does it mean and what can I do to fix it?
Spambayes 1.1b1 and python 2.7.2 on Debian Wheezy.
*500 Server error*
*Traceback (most recent call last):
File "/usr/lib/python2.7/dist-packages/spambayes/Dibbler.py", line 477, in
found_terminator
getattr(plugin, name)(**params)
File "/usr/lib/python2.7/dist-packages/spambayes/ProxyUI.py", line 287, in
onReview
stats_as_ham, old_class=old_class)
File "/usr/lib/python2.7/dist-packages/spambayes/Stats.py", line 127, in
RecordTraining
self.messageinfo_db.set_persistent_statistics(self.totals)
File "/usr/lib/python2.7/dist-packages/spambayes/message.py", line 135, in
set_persistent_statistics
self.db[STATS_STORAGE_KEY] = stats
File "/usr/lib/python2.7/shelve.py", line 133, in __setitem__
self.dict[key] = f.getvalue()
File "/usr/lib/python2.7/shelve.py", line 79, in closed
raise ValueError('invalid operation on closed shelf')
ValueError: invalid operation on closed shelf
*
Thanks,
Dale
_______________________________________________
SpamBayes@python.org
http://mail.python.org/mailman/listinfo/spambayes
Info/Unsubscribe: http://mail.python.org/mailman/listinfo/spambayes
Check the FAQ before asking: http://spambayes.sf.net/faq.html