[python-win32] Some troubles with COMObject of the ClearCase Automation Library 4.1

Niki Spahiev niki@vintech.bg
Thu, 11 Apr 2002 14:19:24 +0300


amapy@snafu.de wrote:
> Hi all,
> 
> I've written a little script using the ClearCase Automation Library 4.1
> 
> When I'm trying to get the HistoryRecords of one element this error message
> appears:
> ------------------
> 
>>>>hist = Elem.HistoryRecords(0)
>>>
> Traceback (most recent call last):
>   File "C:\win32app\Python21\lib\site-packages\win32com\client\dynamic.py", line 279, in _make_method_
>     codeObject = compile(methodCode, "<COMObject %s>" % self._username_,"exec")

Try using static dispatch.

HTH
Niki Spahiev