[Spambayes] Key error

Rich Cook wealthychef at yahoo.com
Tue Feb 15 07:21:54 CET 2005


Hi, thanks,
There were no recent crashes.
What would be the name of the existing file to remove?
I tried moving .hammiedb from my $HOME directory and that did not fix 
the problem.

On Feb 14, 2005, at 7:59 PM, Tony Meyer wrote:

>> I'm getting the following error when I run sb_server.py.
> [...]
>> Here's the error:
>> rcook at Richs-Computer (Downloads): sb_server.py
>> Traceback (most recent call last):
> [...]
>>    File
>> "/sw/src/root-python23-2.3.4-2/sw/lib/python2.3/pickle.py", line
>> 872, in load
>>      dispatch[key](self)
>> KeyError: '\x00'
>
> SpamBayes is unable to load the messageinfo database pickle.  Either 
> the
> pickle is bad (which is rare - but something like a crash during 
> training
> could cause it) or it's trying to open something that isn't a pickle 
> as a
> pickle (e.g. the persistent_storage_name points to a bsddb db, but
> persistent_use_database is set to pickle).
>
> Either of these sound right?  If the former, then just delete the
> messageinfo pickle.  If the later, then either the name or the 
> use_database
> option needs to be changed (or, again, remove the existing file).
>
> =Tony.Meyer
>
> -- 
> Please always include the list (spambayes at python.org) in your replies
> (reply-all), and please don't send me personal mail about SpamBayes.
> http://www.massey.ac.nz/~tameyer/writing/reply_all.html explains this.
>
--
Rich "wealthychef" Cook
925-784-3077
--
"Opportunity is missed by most people because it is dressed in overalls 
and looks like work."  -- C.F. Edison



More information about the Spambayes mailing list