Bug 143312 - Several macro libraries broken after LibreOffice last update
Summary: Several macro libraries broken after LibreOffice last update
Status: RESOLVED WORKSFORME
Alias: None
Product: LibreOffice
Classification: Unclassified
Component: BASIC (show other bugs)
Version:
(earliest affected)
7.1.4.2 release
Hardware: All Linux (All)
: medium normal
Assignee: Not Assigned
URL:
Whiteboard:
Keywords:
Depends on:
Blocks:
 
Reported: 2021-07-12 11:45 UTC by Silvain Dupertuis
Modified: 2021-07-16 12:47 UTC (History)
1 user (show)

See Also:
Crash report or crash signature:


Attachments

Note You need to log in before you can comment on or make changes to this bug.
Description Silvain Dupertuis 2021-07-12 11:45:14 UTC
Description:
Since the last update, several of the macros within «Mes macros et boîtes de dialogue» are broken and stop on this line
======================================
oLibContainer.LoadLibrary(LibName)
with this commen :
Erreur d'exécution BASIC.
Une exception s'est produite :
Type: com.sun.star.container.NoSuchElementException
Message: /build/libreoffice-GJ2htc/libreoffice-7.1.4-rc2/basic/source/-
uno/namecont.cxx:117.
==============================================
Here are the details of my present version
Information de version
Version:
7.1.4.2 / LibreOffice Community
Environnement: Threads CPU:8; OS: Linux 5.4
Interface utilisateur: UI Render: par défaut; VEL: gtk3
Locale:
fr-CH (fr_FR.UTF-8); Langue IHM:fr-FR
Divers
Ubuntu package version:
1:7.1.4_rc2-Oubuntu0.20.04.1-101
==============================================
This is quite annoying and I use intensively some add-on which no longer work. I hope you can help.

Affected add-ons include : Pagination. OooLilypond, HistoryMaster, TexMaths

Steps to Reproduce:
1.Install extension (altsearch, compose characters...)
2.Launch extension

Actual Results:
Macro stops on error

Expected Results:
Macro should work


Reproducible: Always


User Profile Reset: No



Additional Info:
I tried to remove and reinstall some extensions, with no seccess
Comment 1 Silvain Dupertuis 2021-07-15 13:01:23 UTC
Problem solved by recreating fresh config folder.
No idea of the cause of the problem.

Then I had to reinstall the extensions,
and repeat some personnalisations
- macro security on «moyen» (in French) so as my Base macros can function
- my default font for complex scripts
I still have to re-register my databases!
- I cannot find them in my old config folder, and I do have several calc files using them...

Not too difficult, but it take some time...
Comment 2 Robert Großkopf 2021-07-16 12:47:53 UTC
(In reply to Silvain Dupertuis from comment #1)
> Problem solved by recreating fresh config folder.
> No idea of the cause of the problem.
> 
> Then I had to reinstall the extensions,
> and repeat some personnalisations
> - macro security on «moyen» (in French) so as my Base macros can function
> - my default font for complex scripts
> I still have to re-register my databases!
> - I cannot find them in my old config folder, and I do have several calc
> files using them...
> 
> Not too difficult, but it take some time...

When reading this we could close the bug as WORKSFORME.

Hint for the databases: I have tested it with a Calc-file and Writer. When trying to get a field from the Calc-file with Writer there has been created a database in the folder, which is linked to
 Tools → Options → LibreOffice → Paths → My Documents

If you don't thin this bug could be close feel free to reopen.