[Spambayes] Error during outlook plugin startup

Piers Haken piersh at friskit.com
Mon Mar 3 13:01:55 EST 2003


Okay, I worked around this problem by deleting my pickles and starting
from scratch (it didn't need to do the migration) but I believe this is
still a problem. I'm using python2.2.2 and win32all-152.

Piers.

> -----Original Message-----
> From: Piers Haken 
> Sent: Monday, March 03, 2003 9:42 AM
> To: Spambayes
> Subject: [Spambayes] Error during outlook plugin startup
> 
> 
> I just updated from CVS and I'm now getting the following 
> error on startup. Can anyone tell me what's up?
> 
> Piers.
> 
> Outlook Spam Addin module loading
> SpamAddin - Connecting to Outlook
> Traceback (most recent call last):
>   File "C:\Python22\lib\site-packages\win32com\universal.py", 
> line 150, in dispatch
>     retVal = ob._InvokeEx_(meth.dispid, 0, 
> pythoncom.DISPATCH_METHOD, args, None, None)
>   File 
> "C:\Python22\lib\site-packages\win32com\server\policy.py", 
> line 322, in _InvokeEx_
>     return self._invokeex_(dispid, lcid, wFlags, args, kwargs,
> serviceProvider)
>   File 
> "C:\Python22\lib\site-packages\win32com\server\policy.py", 
> line 562, in _invokeex_
>     return DesignatedWrapPolicy._invokeex_( self, dispid, 
> lcid, wFlags, args, kwArgs, serviceProvider)
>   File 
> "C:\Python22\lib\site-packages\win32com\server\policy.py", 
> line 510, in _invokeex_
>     return apply(func, args)
>   File "C:\Python22\spam\spambayes\Outlook2000\addin.py", 
> line 615, in OnConnection
>     self.manager = manager.GetManager(application)
>   File "C:\Python22\spam\spambayes\Outlook2000\manager.py", 
> line 472, in GetManager
>     _mgr = BayesManager(outlook=outlook, verbose=verbose)
>   File "C:\Python22\spam\spambayes\Outlook2000\manager.py", 
> line 142, in __init__
>     self.MigrateDataDirectory()
>   File "C:\Python22\spam\spambayes\Outlook2000\manager.py", 
> line 200, in MigrateDataDirectory
>     self._MigrateFile("default_bayes_database.pck")
>   File "C:\Python22\spam\spambayes\Outlook2000\manager.py", 
> line 211, in _MigrateFile
>     shutil.move(src, dest)
> exceptions.AttributeError: 'module' object has no attribute 'move'
> 
> _______________________________________________
> Spambayes mailing list
> Spambayes at python.org http://mail.python.org/mailman/listinfo/spambayes
> 



More information about the Spambayes mailing list