Pythoncom error when calling method

kevin_mcfarlane at kevin_mcfarlane at
Mon Nov 20 10:39:46 CET 2000


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\", 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
Before you buy.

More information about the Python-list mailing list