[spambayes-dev] gdbm error (was Error running pop3proxy.py)
Meyer, Tony
T.A.Meyer at massey.ac.nz
Tue Sep 9 14:54:58 EDT 2003
> >> return gdbm.open(*args)
> >>
> >> error: (11, 'Resource temporarily unavailable')
[Skip]
> I'm not a gdbm user, but that appears to be the case in the
> two tests I tried from the Python interpreter prompt.
> Multiple readers are allowed, but if anybody has the file
> open for write access, nobody else can open it.
Thanks. If I do this:
"""
state.bayes.store()
del state.bayes
"""
where state.bayes is one of the *Classifier objects from storage.py,
will that definitely free it up? Or do I need to add a close() method
to the classifier objects? (which would do nothing for the pickle).
=Tony Meyer
More information about the spambayes-dev
mailing list