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

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



Hi,

On Mon, Jun 28, 2010 at 02:38:40PM +0200, Rene Engelhard wrote:
> 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

As we saw I saw the above too when using  python 2.5...

> sample macro from inside OOo worked, too.

That works, but probably that doesn't use "python" but just executes
python via libypthon2.6...

> I don't really want to revert to build python-uno only  against the default
> python...

Seems like we actually need to do that if we don't get an idea
about this very soon....

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: