1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21 22 23 24 25
| Traceback (most recent call last): File "C:\Users\syd\AppData\Local\Programs\Python\Python35\lib\site-packages\win32com\server\policy.py", line 136, in CreateInstance return retObj._CreateInstance_(clsid, reqIID) File "C:\Users\syd\AppData\Local\Programs\Python\Python35\lib\site-packages\win32com\server\dispatcher.py", line 37, in _CreateInstance_ return self._HandleException_() File "C:\Users\syd\AppData\Local\Programs\Python\Python35\lib\site-packages\win32com\server\dispatcher.py", line 34, in _CreateInstance_ self.policy._CreateInstance_(clsid, reqIID) File "C:\Users\syd\AppData\Local\Programs\Python\Python35\lib\site-packages\win32com\server\policy.py", line 194, in _CreateInstance_ myob = call_func(classSpec) File "C:\Users\syd\AppData\Local\Programs\Python\Python35\lib\site-packages\win32com\server\policy.py", line 728, in call_func return resolve_func(spec)(*args) File "C:\Users\syd\AppData\Local\Programs\Python\Python35\lib\site-packages\win32com\server\policy.py", line 717, in resolve_func module = _import_module(mname) File "C:\Users\syd\AppData\Local\Programs\Python\Python35\lib\site-packages\win32com\server\policy.py", line 736, in _import_module __import__(mname) File "D:\mysites\jupyterReport\wdclient\word_addin.py", line 38, in <module> gencache.EnsureModule('{00020905-0000-0000-C000-000000000046}', 0, 8, 7, bForDemand=True) File "C:\Users\syd\AppData\Local\Programs\Python\Python35\lib\site-packages\win32com\client\gencache.py", line 391, in EnsureModule module = GetModuleForTypelib(typelibCLSID, lcid, major, minor) File "C:\Users\syd\AppData\Local\Programs\Python\Python35\lib\site-packages\win32com\client\gencache.py", line 266, in GetModuleForTypelib AddModuleToCache(typelibCLSID, lcid, major, minor) File "C:\Users\syd\AppData\Local\Programs\Python\Python35\lib\site-packages\win32com\client\gencache.py", line 552, in AddModuleToCache dict = mod.CLSIDToClassMap AttributeError: module 'win32com.gen_py.00020905-0000-0000-C000-000000000046x0x8x7' has no attribute 'CLSIDToClassMap' pythoncom error: CPyFactory::CreateInstance failed to create instance. (80004005)
|