Bug#501028: python-uno: Can't get types when using Python bindings
tag 501028 + confirmed
# I fear it's grave, it breaks python-uno usage in most cases, doesn't it?
severity 501028 grave
thanks
Hi,
Daniel Watkins wrote:
> >>> import uno
> >>> uno.getClass('com.sun.star.awt.WindowDescriptor')
> Traceback (most recent call last):
> File "<stdin>", line 1, in <module>
> File "/usr/lib/python2.5/site-packages/uno.py", line 74, in getClass
> return pyuno.getClass(typeName)
> uno.RuntimeException: pyuno.getClass: uno exception com.sun.star.awt.WindowDescriptor is unknown
>
> http://api.openoffice.org/docs/common/ref/com/sun/star/awt/WindowAttribute.html
> disagrees.
>
> I'm happy to do some debugging on this, but don't really know where to start.
I don't have either, I guess I'll have to ask around...
Regards,
Rene
Reply to: