[Date Prev][Date Next] [Thread Prev][Thread Next] [Date Index] [Thread Index]

Bug#587402: RuntimeError: pyuno.getClass: expecting one string argument



On Mon, Jun 28, 2010 at 12:25:11PM +0200, Mara Drăgan wrote:
> When I run the following code I get an exception:
> 
> % python
> Python 2.5.5 (r255:77872, Apr 21 2010, 08:44:16) 
> [GCC 4.4.3] on linux2
> Type "help", "copyright", "credits" or "license" for more information.
> >>> import uno
> >>> from com.sun.star.beans import PropertyValue
> Traceback (most recent call last):
>   File "<stdin>", line 1, in <module>
>   File "/usr/lib/python2.5/site-packages/uno.py", line 274, in _uno_import
>     RuntimeException = pyuno.getClass( "com.sun.star.uno.RuntimeException"
> 	)
> RuntimeError: pyuno.getClass: expecting one string argument

Actually I tried that, but just "import uno". And running the
sample macro from inside OOo worked, too.

So I wonder why it doesn't work for you...

Please try later when "python" will point to python 2.6...

> This problem started when python-uno was upgraded from 1:3.2.0-9 to 1:3.2.1-3.

Which means you got the version which was built against 2.6 as default
python (which should migrate today to testing).
I don't really want to revert to build python-uno only  against the default
python...
 
Grüße/Regards,

René
-- 
 .''`.  René Engelhard -- Debian GNU/Linux Developer
 : :' : http://www.debian.org | http://people.debian.org/~rene/
 `. `'  rene@debian.org | GnuPG-Key ID: D03E3E70
   `-   Fingerprint: E12D EA46 7506 70CF A960 801D 0AA0 4571 D03E 3E70



Reply to: