Date: prev next · Thread: first prev next last
2019 Archives by date, by thread · List index


On Wed, 19 Jun 2019 08:07:15 +0200
Stephan Bergmann <sbergman@redhat.com> wrote:

This worked, thanks. However, the project requires using whichever
LibreOffice installation is available. 

The python interpreter needs to know about LO's UNO files, and a

Which are these UNO files?

system python3 presumably doesn't know about your locally-built LO's
files. The easiest thing should be to configure LO with something
like --enable-python=internal and then run `instdir/program/python 
myscript.py` from your locally-built LO.

In this script that I found online they set PYTHONPATH and so on, is
this what you're talking about? Because that still doesn't work:

http://paste.debian.net/1088549/

Context


Privacy Policy | Impressum (Legal Info) | Copyright information: Unless otherwise specified, all text and images on this website are licensed under the Creative Commons Attribution-Share Alike 3.0 License. This does not include the source code of LibreOffice, which is licensed under the Mozilla Public License (MPLv2). "LibreOffice" and "The Document Foundation" are registered trademarks of their corresponding registered owners or are in actual use as trademarks in one or more countries. Their respective logos and icons are also subject to international copyright laws. Use thereof is explained in our trademark policy.