[Spambayes] So close but yet...
ktegels at Msn.com
Fri Dec 12 14:54:44 EST 2003
Okay, that got me over the hump and everything is well and good, but
SpamCount.py still has issues.
G:\sba>spamcounts.py -r '.*' -p -d 'G:\Documents and
I picked the default_bayes_database.db because I don't have
db: G:\Documents and Settings\ktegels\Application
Traceback (most recent call last):
File "G:\sba\spamcounts.py", line 136, in ?
File "G:\sba\spamcounts.py", line 123, in main
db = shelve.open(dbname, flag='r')
File "G:\Python23\lib\shelve.py", line 231, in open
return DbfilenameShelf(filename, flag, protocol, writeback, binary)
File "G:\Python23\lib\shelve.py", line 212, in __init__
Shelf.__init__(self, anydbm.open(filename, flag), protocol, writeback,
File "G:\Python23\lib\anydbm.py", line 77, in open
raise error, "need 'c' or 'n' flag to open new db"
anydbm.error: need 'c' or 'n' flag to open new db
Exception exceptions.AttributeError: "DbfilenameShelf instance has no
'writeback'" in ignored
So, obviously, I don't know how to point SpamCount.py at the right database
instead of statistics, right? That's what I thought the -db switch did.
How do I it?
Thanks all for your patience with this somewhat dense Windows User.
From: spambayes-bounces at python.org [mailto:spambayes-bounces at python.org] On
Behalf Of Kenny Pitt
Sent: Friday, December 12, 2003 1:12 PM
To: 'kent tegels'; spambayes at python.org
Subject: RE: [Spambayes] Oh good!
kent tegels wrote:
> Fine, so I uninstall the plug-in and use setup to install the source
> code version.
> Now the toolbar for SpamBayes doesn't seem to work at all, and the
> "remove add-in" approach doesn't work since SB isn't registered any
> more. Worse yet, other posters asking "how do I remove SpamBayes"
> don't seem to getting answers posted back to the list. Yikes.
> So, I'll ask too: How do I completely remove the Add-In so that I can
> install and have a functioning application based on the source code so
> I can run SpamCount on Windows with Outlook.
Two different issues.
How do I completely remove the Add-In? See item 3.14 in the FAQ:
How do I have a functioning application based on the source code? You need
to register the source code version of the plugin as a COM object.
Go to the Outlook2000 directory and run "addin.py --register". Your current
toolbar is dead because there is no COM add-in to respond to it's events.
After you register the source code version, your toolbar should magically
start working again.
Spambayes at python.org
Check the FAQ before asking: http://spambayes.sf.net/faq.html
More information about the Spambayes