Path to python macros in LO 4.2.6.3

I upgraded my notebook to Ubuntu 14.04 as a test bed before upgrading my desktop. I copied over some spreadsheets from my desktop LO 3.xxx system. Python did not appear in the organize macros menu item. Some goolgling told me I had to install a python script handler. I did that and Python showed up in the organize macros menu item, but the individual macros did not show up under the MyMacros.

On my desktop LO 3.xxx version I have my Python macros stored in:
/.config/libreoffice/3/user/Scripts/python and they show up in MyMacros.

So on LO 4.2.6.3 I put them in:

/.config/libreoffice/4/user/Scripts/python, but they don't show up in MyMacros.

I must have a path problem but don't know how to correct it.

Does anyone have python macros working in LO 4.2?

Thanks, Jim

Hi :slight_smile:
Something like
Tools - Options - Paths
is probably too obvious but it's often the obvious things that get missed
so it's worth getting that out of the way before looking for something more
complicated.

Regards from
Tom :slight_smile:

Hi :slight_smile:
Something like
Tools - Options - Paths
is probably too obvious but it's often the obvious things that get missed
so it's worth getting that out of the way before looking for something more
complicated.

Regards from
Tom :slight_smile:

That's what I thought also, but looking on the working version it is not there. Must get it some place internally.

Regards, Jim

Hi :slight_smile:
Something like
Tools - Options - Paths
is probably too obvious but it's often the obvious things that get missed
so it's worth getting that out of the way before looking for something
more
complicated.

Regards from
Tom :slight_smile:

That's what I thought also, but looking on the working version it is not
there. Must get it some place internally.

Regards, Jim

Turns out to be an error on my part. Despite what I wrote about the directory structure, I actually had the folder named Python not python. Now it works.

Regards, Jim

Hi :slight_smile:
Phew!! Nicely found! Congrats on finding and fixing that.

I wonder where the Paths option has gone then? It's probably mentioned in
the release notes and documentation somewhere. Is there an "Advanced"
section or option? I guess i'll check it out later.
Good luck and regards from
Tom :slight_smile:

Hi :slight_smile:
Phew!! Nicely found! Congrats on finding and fixing that.

I wonder where the Paths option has gone then? It's probably mentioned in
the release notes and documentation somewhere. Is there an "Advanced"
section or option? I guess i'll check it out later.
Good luck and regards from
Tom :slight_smile:

I don't it ever was an option. I have 3.5xx on my desktop and it is not there either. I think it strictly an internal setting.

Regards, Jim

Actually there seems to be an important hint in the Paths section of
Tools > Options > LibreOffice > Paths.
You could see this also by looking at the sub folders within the "user"
folder. This folder's sub folders divide the configuation into
individual parts: autocorr, autotext, backup, etc. Specifically, one
folder is named uno_packages. So, would it make sense to have a Python
folder as a sub folder of "user" if you are using python? After all
python properties don't seem to fit in any of the other sub folders. The
seemingly only question would be whether to capitalize this sub folder
or not. This is just an educated guess.

Dan

I knew where it went under vers 3.xxx. I thought I set it up under 4.xx the same way and wondered why it did not work. The problem was I mistakenly named it Python not python. Once I fixed that it worked.

Regards, Jim