[spambayes-bugs] [ spambayes-Bugs-818494 ] Crashes when training

SourceForge.net noreply at sourceforge.net
Mon Oct 6 19:44:40 EDT 2003


Bugs item #818494, was opened at 2003-10-06 21:07
Message generated for change (Comment added) made by anadelonbrin
You can respond by visiting: 
https://sourceforge.net/tracker/?func=detail&atid=498103&aid=818494&group_id=61702

Category: pop3proxy
Group: None
>Status: Closed
>Resolution: Duplicate
Priority: 5
Submitted By: Kresimir Tonkovic (kresho)
Assigned to: Nobody/Anonymous (nobody)
Summary: Crashes when training

Initial Comment:
Training... Trained on 104 messages. Saving...

500 Server error



Traceback (most recent call last):



  File

"/usr/local/lib/python2.2/site-packages/spambayes/Dibbler.py",

line 453, in found_terminator

    getattr(plugin, name)(**params)



  File

"/usr/local/lib/python2.2/site-packages/spambayes/ProxyUI.py",

line 324, in onReview

    self._doSave()



  File

"/usr/local/lib/python2.2/site-packages/spambayes/UserInterface.py",

line 470, in _doSave

    classifier.store()



  File

"/usr/local/lib/python2.2/site-packages/spambayes/storage.py",

line 229, in store

    self._write_state_key()



  File

"/usr/local/lib/python2.2/site-packages/spambayes/storage.py",

line 233, in _write_state_key

    self.db[self.statekey] = (classifier.PICKLE_VERSION,



  File "/usr/local/lib/python2.2/shelve.py", line 77,

in __setitem__

    self.dict[key] = f.getvalue()



TypeError: object does not support item assignment

----------------------------------------------------------------------

Comment By: Tony Meyer (anadelonbrin)
Date: 2003-10-07 12:44

Message:
Logged In: YES 
user_id=552329

Thanks for your report.  This bug has previously been reported,

and has already been fixed in the source-code (i.e. in CVS) - so 

you can expect to see the fix in the next release.



You may wish to subscribe to the spambayes-announce list to see

when each version is released - details at

http://mail.python.org/mailman/listinfo/spambayes-announce



If you are technically minded, you may like to run from the CVS

version of the source-code, and you should find the fix

immediately - see the main SpamBayes pages for details.

----------------------------------------------------------------------

You can respond by visiting: 
https://sourceforge.net/tracker/?func=detail&atid=498103&aid=818494&group_id=61702



More information about the Spambayes-bugs mailing list