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

bob bgailer at alum.rpi.edu
Wed Oct 12 17:05:22 CEST 2005


At 05:21 AM 10/12/2005, Alex Jouravlev wrote:
>Hi,
>
>I have a potential bug report. PythonWin fails to invoke a COM Object's
>function. I am a bit puzzled what information should be provided. I am not a
>COM guru
>
>  - I am using PythonWin to write some scripts to an off-the-shelf COM
>enabled system
>  - the system is outside of my control, I cannot get into it with a debugger
>etc.
>  - All examples are provided in VB, PythonWin is not officially supported as
>COM client
>
>Details:
>         OS:WIN XP SP2
>         Python 2.4.2
>         Python 2.4 PythonWin extension build 204
>         Application: Sparx Enterprise Architect
>
> >>> r.ref
><COMObject EA.Repository>
> >>> r.ref.Update()
>Traceback (most recent call last):
>   File "<interactive input>", line 1, in ?
>   File "C:\Python24\Lib\site-packages\win32com\client\dynamic.py", line 489,
>in __getattr__
>     raise AttributeError, "%s.%s" % (self._username_, attr)
>AttributeError: EA.Repository.Update

Case sensitivity may be an issue. Try r.ref.update()

>With all other objects of their interface, the following pattern appears:
>
>         All attributes work as documented
>         No method (from what I can see) works as documented.
>
>(documentation is in VB though)
>
>
>
>Any help would be appreciated.
>
>Regards,
>
>Alex
>
>
>_______________________________________________
>Python-win32 mailing list
>Python-win32 at python.org
>http://mail.python.org/mailman/listinfo/python-win32



More information about the Python-win32 mailing list