On 9/7/20 9:22 PM, Mauricio Baeza wrote:
On Mon, 2020-09-07 at 21:05 -0500, Jim wrote:
I just did a fresh install of Mint 20 which comes with LO 6.4xx. I
did
Tools-->Macros-->Organize Macros in Cakc but there is no entry for
Python.
A few years ago when I did the same thing with Mint 18 I had the
same
problem. I thought what I did to fix it was, create a Scripts/python
folder in .config/libreoffice/4/user/Scripts/python and be sure that
uno.py and unohelper.py were in the site-packages folder of my
virtual
environment. Also in an effort to get this working I set the
security
level for macros to low.
What else do I need to do to get python macros working?
Thanks, Jim
In Ubuntu 20.04 you need install:
sudo apt install libreoffice-script-provider-python
Perhaps for Mint is necessary too.
https://wiki.documentfoundation.org/Macros/Python_Guide/Introduction
Best regards
That was the missing piece of the puzzle. They show now.
Thanks, Jim
--
To unsubscribe e-mail to: users+unsubscribe@global.libreoffice.org
Problems? https://www.libreoffice.org/get-help/mailing-lists/how-to-unsubscribe/
Posting guidelines + more: https://wiki.documentfoundation.org/Netiquette
List archive: https://listarchives.libreoffice.org/global/users/
Privacy Policy: https://www.documentfoundation.org/privacy
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.