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


Hi Alexis,

On 2019-12-25 3:23, Alexis de Lattre wrote:
I developed a LibreOffice Extension that contains a Python macro (and 
the required Python libs):

https://github.com/akretion/factur-x-libreoffice-extension  file 
"factur-x_macro.oxt" (source code in "extension/" subdir)

But, when I add this extension to LibreOffice on a PC without Java 
installed, I get this error message:

<< LibreOffice requires a Java runtime environment (JRE) to perform this 
task. However, use of a JRE has been disabled. Do you want to enable the 
use of a JRE now?  >>

If I answer "No", the extension will still work fine (because the 
extension doesn't need Java at all, it only contains a Python macro). So 
this message is wrong.

Could I change something in my macro to avoid this message ? My 
extension targets users without IT background and they could be scared 
by that wrong message.

Thanks in advance for your help,


You can't change anything in the extension to avoid this. This is 
tdf#120363 [1], and is fixed in LibreOffice 6.2.

There are other cases when similar warnings appear; see e.g. [2] which 
is about warning in script organizer dialog, fixed in 6.3.1. If you come 
across such problems in current releases, please file a bug and CC me. 
Thanks.

[1] https://bugs.documentfoundation.org/show_bug.cgi?id=120363
[2] https://bugs.documentfoundation.org/show_bug.cgi?id=126643

-- 
Best regards,
Mike Kaganski

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.