Sorry, I initially provided wrong fragment More bug details:
>>> r.ref <COMObject EA.Repository> >>> r.ref.GetLastError() Traceback (most recent call last): File "<interactive input>", line 1, in ? TypeError: 'unicode' object is not callable >>> r.ref.GetLastError u'' >>> However, GetLastError() is a function according to specs and Makepy.py One more strange thing: MakePy recognised the object as "IRepository" rather then "Repository" System details: OS:WIN XP SP2 Python 2.4.2 Python 2.4 PythonWin extension build 204 Application: Sparx Enterprise Architect Thanks, Alex _______________________________________________ Python-win32 mailing list Python-win32@python.org http://mail.python.org/mailman/listinfo/python-win32