[Spambayes] FYI -- dumbdbm is nuked

Meyer, Tony T.A.Meyer at massey.ac.nz
Sat Aug 9 13:20:05 EDT 2003


> > I am without dumbdbm now, but with the following in my 
> > bayescustomize.ini :
> >   [Storage]
> >   persistent_use_database=False
> >   persistent_use_database:False

Note that these two lines are doing the same thing...

> I just changed the default in Options.py

That shouldn't do anything that changing the config file doesn't do,
unless your config file isn't being read.  If you put an invalid option
("foo: bar", for example) in your config file, do you get a warning
printed when you run pop3proxy?  If not, then spambayes isn't finding
it.

>   X-Spambayes-Exception: exceptions.TypeError(unsubscriptable 
> object) in
>           __getitem__() at C:\Python22\lib\shelve.py line 70: f
>           = StringIO(self.dict[key])

You're not trying to use your dumbdbm file as a pickle are you?  (i.e.
when you swapped to pickles, you did retrain from scratch?)

> I get the following stack trace...
[...]
>   spambayes.dbmstorage.error: No dbm modules available!
[...]
> I thought at first the raise was left in on accident, so I 
> commented it..

If you're getting this message, then you're trying to use a dbm still,
not a pickle.  That error could be handled somewhat more gracefully,
though.

=Tony Meyer



More information about the Spambayes mailing list