<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.0 Transitional//EN">
<HTML><HEAD>
<META http-equiv=Content-Type content="text/html; charset=us-ascii">
<META content="MSHTML 6.00.2800.1276" name=GENERATOR></HEAD>
<BODY>
<DIV dir=ltr align=left><SPAN class=752102120-07012004><FONT face=Arial
color=#0000ff size=2>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.</FONT></SPAN></DIV>
<DIV><FONT face=Arial color=#0000ff size=2></FONT> </DIV>
<DIV align=left><FONT face=Arial size=2>-- </FONT></DIV>
<DIV align=left><FONT face="Courier New" size=2>Kenny Pitt</FONT></DIV>
<DIV><FONT face=Arial color=#0000ff size=2></FONT> </DIV><FONT
face="Courier New" size=2></FONT><BR>
<BLOCKQUOTE dir=ltr style="MARGIN-RIGHT: 0px">
<DIV class=OutlookMessageHeader lang=en-us dir=ltr align=left>
<HR tabIndex=-1>
<FONT face=Tahoma size=2><B>From:</B> spambayes-bounces@python.org
[mailto:spambayes-bounces@python.org] <B>On Behalf Of </B>Tegels,
Kent<BR><B>Sent:</B> Wednesday, January 07, 2004 2:14 PM<BR><B>To:</B>
spambayes@python.org<BR><B>Subject:</B> [Spambayes] HELP
please!<BR></FONT><BR></DIV>
<DIV></DIV>
<DIV><SPAN class=530285018-07012004><FONT face=Arial size=2>I'm still trying
to get SpamCounts.py to work. When I issue this command:</FONT></SPAN></DIV>
<DIV><SPAN class=530285018-07012004><FONT face=Arial size=2>
<DIV><SPAN class=530285018-07012004><FONT face="Courier New"
size=2>G:\sba>spamcounts.py -d "G:\Documents and
Settings\(*omitted*)\Application Data\SpamBayes\default_message_database.db"
--pickle</FONT></SPAN></DIV>
<DIV><SPAN class=530285018-07012004><FONT
face="Courier New"></FONT></SPAN> </DIV></FONT></SPAN></DIV>
<DIV><SPAN class=530285018-07012004><FONT face=Arial size=2>I get this
error:</FONT></SPAN></DIV>
<DIV><SPAN class=530285018-07012004><FONT face="Courier New" size=2>Traceback
(most recent call last):<BR> File "G:\sba\spamcounts.py", line 138, in
?<BR> sys.exit(main(sys.argv[1:]))<BR> File
"G:\sba\spamcounts.py", line 122, in main<BR> db =
pickle.load(file(dbname))<BR> File "G:\Python23\lib\pickle.py", line
1390, in load<BR> return Unpickler(file).load()<BR>
File "G:\Python23\lib\pickle.py", line 872, in load<BR>
dispatch[key](self)<BR>KeyError: '\x00'</FONT></SPAN></DIV>
<DIV><FONT face=Arial color=#0000ff
size=2></FONT> </DIV></BLOCKQUOTE></BODY></HTML>