Message-ID: <email address hidden>
Date: Wed, 29 Jun 2005 12:44:08 +1000
From: Brian May <email address hidden>
To: Rene Engelhard <email address hidden>
Cc: <email address hidden>
Subject: Re: Bug#316030: python-uno: appears to be completely broken
On Tue, Jun 28, 2005 at 09:56:37AM +0200, Rene Engelhard wrote:
> Why don't you tag it experimental then?
I didn't think of it until too late, sorry.
> ARGL. Why do you report two bugs in one? Report *one* bug for *one*
> issue. And you of course got the severity wrong anyway. Cleaning up.
Thanks. Sorry.
> > The second problem:
> >
> > >>> import uno
> > Traceback (most recent call last):
> > File "<stdin>", line 1, in ?
> > File "/usr/lib/python2.3/site-packages/uno.py", line 62, in ?
> > import pyuno
> > SystemError: dynamic module not initialized properly
>
> Yes. This is known. But I have nothing no no clue about python...
It would appear to be because:
1. python can't find the shared library, need to set LD_LIBRARY_PATH to
/usr/lib/openoffice2/program. Ideally the library should go somewhere
where python can see it.
2. the default config in /usr/lib/openoffice2/program/pyunorc is wrong,
it needs to be changed to:
Message-ID: <email address hidden>
Date: Wed, 29 Jun 2005 12:44:08 +1000
From: Brian May <email address hidden>
To: Rene Engelhard <email address hidden>
Cc: <email address hidden>
Subject: Re: Bug#316030: python-uno: appears to be completely broken
On Tue, Jun 28, 2005 at 09:56:37AM +0200, Rene Engelhard wrote:
> Why don't you tag it experimental then?
I didn't think of it until too late, sorry.
> ARGL. Why do you report two bugs in one? Report *one* bug for *one*
> issue. And you of course got the severity wrong anyway. Cleaning up.
Thanks. Sorry.
> > The second problem: python2. 3/site- packages/ uno.py" , line 62, in ?
> >
> > >>> import uno
> > Traceback (most recent call last):
> > File "<stdin>", line 1, in ?
> > File "/usr/lib/
> > import pyuno
> > SystemError: dynamic module not initialized properly
>
> Yes. This is known. But I have nothing no no clue about python...
It would appear to be because:
1. python can't find the shared library, need to set LD_LIBRARY_PATH to openoffice2/ program. Ideally the library should go somewhere
/usr/lib/
where python can see it.
2. the default config in /usr/lib/ openoffice2/ program/ pyunorc is wrong,
it needs to be changed to:
--- cut --- PACKAGES= ${$ORIGIN/ bootstraprc: BaseInstallatio n}/share/ uno_packages/ cache PACKAGES= ${$ORIGIN/ bootstraprc: UserInstallatio n}/user/ uno_packages/ cache $ORIGIN/ types.rdb ?$PYUNO_ SHARED_ PACKAGES/ types.rdb USER_PACKAGES/ types.rdb ?$PYUNO_ USER_PACKAGES/ services. rdb SHARED_ PACKAGES/ services. rdb $ORIGIN/ services. rdb
[Bootstrap]
PYUNO_SHARED_
PYUNO_USER_
UNO_TYPES=
?$PYUNO_
UNO_SERVICES=
?$PYUNO_
--- cut ---
According to advice I found at: people. ubuntu. com/~fabbione/ irclogs/ ubuntu- devel-2005- 05-10.html>
<URL:http://
It appears to work now.
--
Brian May <email address hidden>