From: Neil H. <ne...@sc...> - 2001-08-23 01:04:53
|
Kevin Altis: > The addresses sample can now import Outlook contacts. I have no idea what > kinds of errors will occur when 'addresses' is run on a box without the > win32 and COM extensions (*nix), nor do I know what happens when Outlook is > not installed on a machine, so please let me know and I'll add more > try/except blocks. I only have Outlook Express and see: attempting to load Outlook unable to load Outlook loading records... Traceback (most recent call last): File "G:\pyc\PythonCardPrototype\menu.py", line 219, in doMenu item.notifyEventListeners( event ) File "G:\pyc\PythonCardPrototype\event.py", line 266, in notifyEventListeners listener.eventOccurred( event ) File "G:\pyc\PythonCardPrototype\dispatch.py", line 70, in eventOccurred handler.getFunction()( self._scriptable, aEvent.getSource(), aEvent ) File "addresses.py", line 179, in on_fileImportOutlook_command oOutlook.loadRecords() File "G:\pyc\PythonCardPrototype\samples\addresses\outlook.py", line 45, in lo adRecords onMAPI = self.oOutlookApp.GetNamespace("MAPI") AttributeError: MSOutlook instance has no attribute 'oOutlookApp' Neil |