[python-win32] Possible bug: what information to provide

Alex Jouravlev alexj at businessabstraction.com
Wed Oct 12 22:25:24 CEST 2005


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




More information about the Python-win32 mailing list