Re: [udk-dev] python-uno bindings break with OO.o 3.0 and system python

2008-10-07 Thread Tim Retout
On Tue, 2008-10-07 at 15:13 +0200, Stephan Bergmann wrote:
 Also see http://www.openoffice.org/issues/show_bug.cgi?id=90701.

Thanks, that'll save me some time. :)

-- 
Tim Retout [EMAIL PROTECTED]


-
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]



Re: [udk-dev] python-uno bindings break with OO.o 3.0 and system python

2008-10-07 Thread Stephan Bergmann

On 10/07/08 14:49, Tim Retout wrote:

[This is a follow-up to a mail by Rene Engelhard which got caught in the
[EMAIL PROTECTED] moderation queue. See http://bugs.debian.org/501028 ]

The OpenOffice.org program/python script sets URE_BOOTSTRAP which
contains the location of fundamentalrc. In turn, fundamentalrc sets the
location of the offapi.rdb file, which contains information about the
types used by the python uno bindings.

In short, when --with-system-python is used with OO.o 3.0, these
variables don't get set, so we see the types breakage described in the
Debian bug report.

One workaround is to export an appropriate URE_BOOTSTRAP variable before
running python. The alternative is to check for and set this variable in
uno.py, which will cover most use cases transparently - I'm halfway
through writing this patch.


Also see http://www.openoffice.org/issues/show_bug.cgi?id=90701.

-Stephan

-
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]