Pythoncom error when calling method
kevin_mcfarlane at my-deja.com
kevin_mcfarlane at my-deja.com
Mon Nov 20 04:39:46 EST 2000
Hi,
Python 2.0 on Windows 95 OSR2
I am having trouble calling an ActiveX method of the form:
sequence = sequenceFile.GetSequence(0)
It produces the following error:
File "c:\python20\win32com\client\dynamic.py", line 429, in __getattr__
raise pythoncom.com_error, details
com_error: (-2147352567, 'Exception occurred.', (0, 'TSAPI', 'Expected
1 positional (non-named) parameters; found 0.', None, 0, -17808), None)
I have checked that the object, sequenceFile exists at this point.
(Other properties work).
Also, the above code works fine in JScript. Any ideas?
Sent via Deja.com http://www.deja.com/
Before you buy.
More information about the Python-list
mailing list