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

Bug#501028: python-uno bindings break with OO.o 3.0 and system python



[This is a follow-up to a mail by Rene Engelhard which got caught in the
dev@udk 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.

-- 
Tim Retout <tim@retout.co.uk>




Reply to: