PythonCOM: com_error: (-2147418113, 'Catastrophic failure', None, None)
j vickroy
jvickroy at sec.noaa.gov
Tue Apr 11 11:40:14 EDT 2000
Hello all,
I am attempting to drive the COM interface to RSI-IDL (Interactive Data
Language) from Python as follows:
>>> o = win32com.client.Dispatch("IDLDRAWX2.IDLDrawWidget.2")
>>> o.IdlPath = "c:\\rsi\\idl53\\bin\\bin.x86"
Traceback (innermost last):
File "<interactive input>", line 1, in ?
File "C:\Program Files\Python\win32com\client\dynamic.py", line 413,
in __setattr__
self._oleobj_.Invoke(self._olerepr_.propMap[attr].dispid, 0,
pythoncom.DISPATCH_PROPERTYPUT, 0, value)
com_error: (-2147418113, 'Catastrophic failure', None, None)
>>>
The following variants were also tried with the same result.
o.IdlPath = "c:\rsi\idl53\bin\bin.x86"
o.IdlPath = "c:/rsi/idl53/bin/bin.x86"
I have been working with the vendor (RSI) but they do not have Python
expertise (and neither do I).
I would appreciate any suggestions.
Thanks.
More information about the Python-list
mailing list