... I only have
Outlook 2000 so I am most keen to know if works for other versions.
Fails on Outlook 2002, see below. Thanks for adding this feature!
An unexpected exception has occurred.
Please see the help for details on what to do.
Traceback (most recent call last):
File "C:\Program Files\BitPim\bitpim\gui.py", line 364, in __call__
return self.func(*self.args, **self.kwargs)
File "C:\Program Files\BitPim\bitpim\importexport.py", line 694, in
OnFileImportOutlookContacts
dlg=ImportOutlookDialog(parent, -1, "Import Outlook Contacts",
native.outlook)
File "C:\Program Files\BitPim\bitpim\importexport.py", line 612, in
__init__
ImportDialog.__init__(self, parent, id, title)
File "C:\Program Files\BitPim\bitpim\importexport.py", line 127, in
__init__
self.getcontrols(vbs)
File "C:\Program Files\BitPim\bitpim\importexport.py", line 635, in
getcontrols
self.folder=self.outlook.getfolderfromid(id, True)
File "C:\Program Files\BitPim\bitpim\native\outlook\outlook.py", line
229, in getfolderfromid
onMAPI = getmapinamespace()
File "C:\Program Files\BitPim\bitpim\native\outlook\outlook.py", line
270, in getmapinamespace
_mapinamespaceobject=getoutlookapp().GetNamespace("MAPI")
File "C:\Program Files\BitPim\bitpim\native\outlook\outlook.py", line
262, in getoutlookapp
win32com.client.gencache.EnsureDispatch("Outlook.Application.9")
File "C:\Python23\lib\site-packages\win32com\client\gencache.py", line
516, in EnsureDispatch
disp = win32com.client.Dispatch(prog_id)
File "C:\Python23\lib\site-packages\win32com\client\__init__.py", line
95, in Dispatch
dispatch, userName =
dynamic._GetGoodDispatchAndUserName(dispatch,userName,clsctx)
File "C:\Python23\lib\site-packages\win32com\client\dynamic.py", line
84, in _GetGoodDispatchAndUserName
return (_GetGoodDispatch(IDispatch, clsctx), userName)
File "C:\Python23\lib\site-packages\win32com\client\dynamic.py", line
72, in _GetGoodDispatch
IDispatch = pythoncom.CoCreateInstance(IDispatch, None, clsctx,
pythoncom.IID_IDispatch)
com_error: (-2147221005, 'Invalid class string', None, None)
Variables by last 8 frames, innermost last
Frame getcontrols in C:\Program Files\BitPim\bitpim\importexport.py at
line 635
vbs = <wxPython.sizers.wxBoxSizer instance; proxy of C++
wxBoxSizer instance at _a7d7f
self = <importexport.ImportOutlookDialog instance; proxy of
C++ wxDialog instance at _1
id = ''
hbs = <wxPython.sizers.wxBoxSizer instance; proxy of C++
wxBoxSizer instance at _1694e
Frame getfolderfromid in C:\Program
Files\BitPim\bitpim\native\outlook\outlook.py at line 229
default = True
id = ''
Frame getmapinamespace in C:\Program
Files\BitPim\bitpim\native\outlook\outlook.py at line 270
Frame getoutlookapp in C:\Program
Files\BitPim\bitpim\native\outlook\outlook.py at line 262
Frame EnsureDispatch in
C:\Python23\lib\site-packages\win32com\client\gencache.py at line 516
bForDemand = 1
prog_id = 'Outlook.Application.9'
Frame Dispatch in
C:\Python23\lib\site-packages\win32com\client\__init__.py at line 95
userName = None
typeinfo = None
clsctx = 21
dispatch = 'Outlook.Application.9'
resultCLSID = None
UnicodeToString = False
Frame _GetGoodDispatchAndUserName in
C:\Python23\lib\site-packages\win32com\client\dynamic.py at line 84
userName = 'Outlook.Application.9'
IDispatch = 'Outlook.Application.9'
clsctx = 21
Frame _GetGoodDispatch in
C:\Python23\lib\site-packages\win32com\client\dynamic.py at line 72
IDispatch = 'Outlook.Application.9'
clsctx = 21