LibreOffice 5 Linux / Python Macros = failure (#NAME? error)

1 reply [Last post]
LinuxGuru
Offline
Last seen: 35 weeks 3 days ago
Title:
Joined: 19 Aug 2015
Posts: 4
Hi,

I have OpenSUSE 13.2 ×64, and today I updated LibreOffice to version 5.
Unfortunately, all python Macros stopped working (#NAME? error everywhere).

LibreOffice 5 uses one of these config dirs (depending upon build,
either from LibreOffice.org either from SuSE factory) for storing Macros:
~user/.config/libreoffice/4
or
~user/.config/libreoffice/4-suse

All python Macros are here, and were working with LibreOffice 4.x just
prior upgrade to v5.

Security setting are the same as before, allowing execution of macros.

Tools -> Organize -> macros -> Python Macros – still lists all of them.

Anyone have any idea what went wrong?
Thanks in advance.

LinuxGuru
Offline
Last seen: 35 weeks 3 days ago
Title:
Joined: 19 Aug 2015
Posts: 4
Solved !
Finally I have solved this problem. For whatever reason (I think its a bug or glitch), new LibreOffice 5.x on first start simply overwrites XML config file script.xlb, it need to be re-created manually or from backup.

More details in my blog:
http://www.vacuum-tube.eu/wp/?p=399

Comment viewing options

Select your preferred way to display the comments and click "Save settings" to activate your changes.