[Spambayes] HELP please!
Kenny Pitt
kennypitt at hotmail.com
Wed Jan 7 15:22:50 EST 2004
Since the filename is .db, there's about a 99.9% chance that it is a
BerkeleyDB database and not a pickle. Try dropping the "--pickle" option
and see if that helps.
--
Kenny Pitt
_____
From: spambayes-bounces at python.org [mailto:spambayes-bounces at python.org]
On Behalf Of Tegels, Kent
Sent: Wednesday, January 07, 2004 2:14 PM
To: spambayes at python.org
Subject: [Spambayes] HELP please!
I'm still trying to get SpamCounts.py to work. When I issue this
command:
G:\sba>spamcounts.py -d "G:\Documents and
Settings\(*omitted*)\Application
Data\SpamBayes\default_message_database.db" --pickle
I get this error:
Traceback (most recent call last):
File "G:\sba\spamcounts.py", line 138, in ?
sys.exit(main(sys.argv[1:]))
File "G:\sba\spamcounts.py", line 122, in main
db = pickle.load(file(dbname))
File "G:\Python23\lib\pickle.py", line 1390, in load
return Unpickler(file).load()
File "G:\Python23\lib\pickle.py", line 872, in load
dispatch[key](self)
KeyError: '\x00'
-------------- next part --------------
An HTML attachment was scrubbed...
URL: http://mail.python.org/pipermail/spambayes/attachments/20040107/e6883fc8/attachment.html
More information about the Spambayes
mailing list