Bug#501028: python-uno: Can't get types when using Python bindings
Package: python-uno
Version: 1:3.0.0~rc3-1
Severity: important
>>> 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.
-- System Information:
Debian Release: lenny/sid
APT prefers unstable
APT policy: (500, 'unstable'), (1, 'experimental')
Architecture: amd64 (x86_64)
Kernel: Linux 2.6.24-1-amd64 (SMP w/2 CPU cores)
Locale: LANG=en_GB.UTF-8, LC_CTYPE=en_GB.UTF-8 (charmap=UTF-8)
Shell: /bin/sh linked to /bin/bash
Versions of packages python-uno depends on:
ii libc6 2.7-13 GNU C Library: Shared libraries
ii libgcc1 1:4.3.2-1 GCC support library
ii libstdc++6 4.3.2-1 The GNU Standard C++ Library v3
ii openoffice.org-core 1:3.0.0~rc3-1 OpenOffice.org office suite archit
ii python 2.5.2-2 An interactive high-level object-o
ii python-central 0.6.8 register and build utility for Pyt
ii python2.5 2.5.2-11.1 An interactive high-level object-o
ii ure 1.4+OOo3.0.0~rc3-1 UNO runtime environment
python-uno recommends no packages.
python-uno suggests no packages.
-- no debconf information
Reply to: