[Spambayes] RE: More install stuff from python newbie

Gabriel Mino gmino at pcsltd.com
Sat Feb 8 11:59:49 EST 2003


Ok folks here's what I've done thus far:

Uninstalled/reinstalled: M$ Office XP/2002, Python-2.2.2.exe,
win32all-150.exe, email-2.4.3.tar.gz, bsddb3-4.1.3.win32-py2.2.exe &
spambayes via CVS (today 12/02/2003). Run D:\Python22\email-2.4.3\ setup.py
build/install, D:\Python22\Lib\site-packages\win32com\client\ makepy.py for
both Office 10 + Outlook 10 objects, D:\spambayes\setup.py build/install,
D:\spambayes\Outlook2000\addin.py and got:

D:\Python22\lib\site-packages\win32com\universal.py:15: UserWarning:
win32com.universal argument passing support is incomplete - only types
covered in win32com.servers.test_pycomtest are supported warnings.warn(msg)
Redirecting output to win32trace remote collector

Am now getting the following after starting up Oulook:

Outlook Spam Addin module loading
Registered: SpamBayes.OutlookAddin 

Outlook Spam Addin module loading
SpamAddin - Connecting to Outlook
Created new configuration file
'D:\spambayes\Outlook2000\default_configuration.pck'
Loaded bayes database from
'D:\spambayes\Outlook2000\default_bayes_database.pck'
Either bayes database or message database is missing - creating new
Traceback (most recent call last):
  File "D:\Python22\lib\site-packages\win32com\universal.py", line 150, in
dispatch
    retVal = ob._InvokeEx_(meth.dispid, 0, pythoncom.DISPATCH_METHOD, args,
None, None)
  File "D:\Python22\lib\site-packages\win32com\server\policy.py", line 322,
in _InvokeEx_
    return self._invokeex_(dispid, lcid, wFlags, args, kwargs,
serviceProvider)
  File "D:\Python22\lib\site-packages\win32com\server\policy.py", line 562,
in _invokeex_
    return DesignatedWrapPolicy._invokeex_( self, dispid, lcid, wFlags,
args, kwArgs, serviceProvider)
  File "D:\Python22\lib\site-packages\win32com\server\policy.py", line 510,
in _invokeex_
    return apply(func, args)
  File "D:\spambayes\Outlook2000\addin.py", line 615, in OnConnection
    self.manager = manager.GetManager(application)
  File "D:\spambayes\Outlook2000\manager.py", line 419, in GetManager
    _mgr = BayesManager(outlook=outlook, verbose=verbose)
  File "D:\spambayes\Outlook2000\manager.py", line 158, in __init__
    self.LoadBayes()
  File "D:\spambayes\Outlook2000\manager.py", line 265, in LoadBayes
    self.InitNewBayes()
  File "D:\spambayes\Outlook2000\manager.py", line 314, in InitNewBayes
    self.bayes = self.db_manager.new_bayes()
  File "D:\spambayes\Outlook2000\manager.py", line 87, in new_bayes
    os.unlink(self.bayes_filename)
exceptions.OSError: [Errno 2] No such file or directory:
'D:\\spambayes\\Outlook2000\\default_bayes_database.pck'

TIA gang!!!

gabriel









More information about the Spambayes mailing list