[python-win32] Parameterless propget in Python ActiveScriptincomplete

Mark Hammond mhammond at skippinet.com.au
Sun Oct 29 09:50:53 CET 2006


Could you please open a bug at sourceforge so this doesn't get lost, as I'm
afraid I don't have time right now to look at this...

Thanks,

Mark

> -----Original Message-----
> From: python-win32-bounces at python.org
> [mailto:python-win32-bounces at python.org]On Behalf Of Johan Lindvall
> Sent: Friday, 27 October 2006 8:00 PM
> To: Python-win32 at python.org
> Subject: Re: [python-win32] Parameterless propget in Python
> ActiveScriptincomplete
>
>
> Hi,
>
> I have investigated this issue further.
>
> The problem seems to be that LazyDispatchItem doesn't remap the
> properties as DispatchItem does. If I disable the LazyDispatchItem
> generation in MakeOleRepr and always return a DispatchItem object, the
> script works as expected.
>
> If I leave MakeOleRepr untouched and use the original property name:
>
> obj1.Object2.AttValue("TEST", 123)
>
> then I get another the following error from Python:
>
> TypeError: AttValue() takes at most 2 arguments (3 given).
>
>
> --
> /Johan.
> _______________________________________________
> 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