[Spambayes] 500 Server error when training from web page

Frank Stajano fms27 at cam.ac.uk
Fri Oct 3 07:48:53 EDT 2003


This is with 1.0a6 on Windows 2000, sb_server.py, eudora.

I went to
Spambayes Web Interface: <http://localhost:8880/home>Home > Review
and clicked some radio buttons to classify the unsures as spam. Then I 
clicked on  Train and got the following:

Training... Trained on 111 messages. Saving...


500 Server error


Traceback (most recent call last):

   File "d:\python23\Lib\site-packages\spambayes\Dibbler.py", line 453, in 
found_terminator
     getattr(plugin, name)(**params)

   File "d:\python23\Lib\site-packages\spambayes\ProxyUI.py", line 324, in 
onReview
     self._doSave()

   File "d:\python23\Lib\site-packages\spambayes\UserInterface.py", line 
470, in _doSave
     classifier.store()

   File "d:\python23\Lib\site-packages\spambayes\storage.py", line 229, in 
store
     self._write_state_key()

   File "d:\python23\Lib\site-packages\spambayes\storage.py", line 233, in 
_write_state_key
     self.db[self.statekey] = (classifier.PICKLE_VERSION,

   File "d:\python23\lib\shelve.py", line 130, in __setitem__
     self.dict[key] = f.getvalue()

TypeError: object does not support item assignment




   Frank (filologo disneyano) http://www-lce.eng.cam.ac.uk/~fms27/




More information about the Spambayes mailing list