[Spambayes] spam error...

Skip Montanaro skip at pobox.com
Thu Sep 25 11:08:58 EDT 2003


Maybe it's time for 1.0a7.  Many people seem to be running into this
particular problem.

    >> * If you execute
    >> 
    >> import whichdb, os
    >> from spambayes import Options
    >> dbfile = os.path.expanduser(Options.options["Storage",
    >> "persistent_storage_file"])
    >> print whichdb.whichdb(dbfile)

    nils> I'm new to python and had to fight with newlines first, but it
    nils> says 'None'

Hmmm...  That means it can't tell what the type of the database file is.
That's odd.

    nils> did I forgot to install something?

I don't think so.

    >> * The last time you power cycled your computer did you shut down
    >> sb_server cleanly (that is, select "Save and shutdown" from your web
    >> browser)? 

    nils> surely not, I can't! why? here:

    nils> 500 Server error
    nils> Traceback (most recent call last):
    ...
    nils>   File "/usr/lib/python2.2/shelve.py", line 77, in __setitem__
    nils>     self.dict[key] = f.getvalue()

    nils> TypeError: object does not support item assignment

This is a bug I think Tony Meyer fixed in the past few days - since 1.0a6
was released.  If you can check out from CVS, I'd recommend it.  I took a
look but couldn't figure out what changes fixed what bugs.  Tony's in New
Zealand.  I don't expect him to be back at the computer for eight hours or
so unless he's a night owl.

    nils> beyond this, I still have my config problems, that sb_server.py
    nils> doesn't start the pop3 proxies automatically and that I have to
    nils> reconfigure them first...

I'm not sure what this problem would be, though it's quite possible that
since you have trouble saving your configuration, it never learns your
settings. 

Skip






More information about the Spambayes mailing list