[Spambayes] 500 Server error when training from web page

Meyer, Tony T.A.Meyer at massey.ac.nz
Sun Oct 5 22:08:32 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:
[...]
>    File "d:\python23\lib\shelve.py", line 130, in __setitem__
>      self.dict[key] = f.getvalue()
> 
> TypeError: object does not support item assignment

This is a bug with 1.0a6 - after you change any options via the web
interface you need to restart spambayes before you do anything with the
database.  This should fix the problem.  The cause is fixed in cvs, so
will be fixed for the next release.

=Tony Meyer



More information about the Spambayes mailing list