BASIC error with LibreOffice 7.2.2.2
Brought to you by:
baudinr
Hello and thank you for the so much needed extension!
I have a problem with it, though:
To reproduce:
The window is saying "BASIC runtime error. Property or method not found: Name."
The equation is inserted though, so it seems that the error happens after the rendering.
Hope this may be not too hard to fix.
Thanks again!
Hi, I've been having the exact same issue for a while and it persists through new installations and updates, is there any log file or anything I could attach to help resolve this?
You'll find attached a screenshot of the error, happening just as I click on the TexMath button before writting my LaTeX formula. (the error message is in French, although I think you may find interresting the codeline showed in background in order to debug)
PS: The extension was working perfectly fine before and started doing this a few months ago, I don't recall doing anything before this bug to happen, but it was maybe a LO update.
Also, I am using ArchLinux and LibreOffice Fresh, and the libreoffice-extension-texmath present in the Arch Community Repository.
Thank you in advance!
Last edit: Quentin 2022-01-12
Hi there,
I see this bug report is opened for some time now but I prefer using it rather than doubling it. Please let me know if you prefer me to open a new ticket.
I am using TexMath from time to time and I realize I cannot access any option or do anything except generating equations without having a BASIC runtime error.
Example : open LO, click on TexMath configuration icon -> error
Type: com.sun.star.container.NoSuchElementException Message: /home/buildslave/source/libo-core/basic/source/uno/namecont.cxx:118
And so on. The only thing I found to be working (and it works as nicely as usual) is selecting an expression between $$ or [] and clicking the Pi button.
System : Debian 11
LO version : was 7.0.5.2 (packaged) and is now latest (7.3.2.2 as of today)
TexMath version : was 0.49 and is now 0.49.1 Rolland posted in the other thread about BASIC runtime errors.
Please let me know if you need more info or testing.
Regards,
Plopi
I am having the exact same issue as well.
Sorry, I can't reproduce the bug. To fix it, I need a clear situation where the bug occurs repeatedly.
Hi Roland,
What information do you need? I'd be happy to help.
On my computer, for almost one year now, if I want to generate an equation, I have to type it in LO directly, then select it and press the Pi button. That is working just fine.
But if I click the Pi button without having written anything or any TexMath button in the toolbar (like the one to access configuration), I get a runtime basic error.
This is with TexMath 0.49.1 and LO 7.3.2.2, like my previous post.
Please let me know if you want logs from somewhere.
I tried using a fresh Debian 11 install with TexMaths 0.49 and 0.50 and everything is OK. I see you installed LibreOffice 7.3.2.2 in Debian: did you use some flatpak package?
I installed it from the libreoffice repository (https://download.documentfoundation.org/libreoffice/stable/).
I don't remember why I installed another version in the first place but when reading my post from April 23rd, 2022, I guess I wanted to see if a LO upgrade would solve the issue.
Anyway, I just tried upgrading again (to 7.5.0.3 version) and the issue remains the same.
OK, I suggest you use a fresh LibreOffice profile and reinstall TexMaths.
Hi, I need a document example and the details of your system to have any chance to reproduce this bug.
I have the same error, altho it has evolved some. Using LO 7.5 on KDE Neon 5.27 with texmaths 0.51.1.. Texmaths worked wonderfully for years, then only recently started giving me the error described at the head of this page. Except that, if I enter a formula, say A_\mu, in the text, then click on the pi symbol, the formula is inserted with no problem or complaint. But if I click on any of the TM buttons, I get this:
BASIC runtime error.
An exception occurred
Type: com.sun.star.lang.WrappedTargetRuntimeException
Message:./scripting/source/digprov/digprov.css:589
The line of code is
So it seems to occur whenever LO wants to display something, even its own config.
This is a big problem for me, as I have several documents about quantum physics with lots of formulae in them.
Hi, what system do you use?
Hi Roland,
KDE Neon, based on Kubuntu 22.04 jammy.
THanks for your reply.
On 12/08/2023 10:43, Roland Baudin wrote:
Last edit: John O'Neall 2023-08-13
Thanks.
I was not able to reproduce the bug in a VM with kubuntu 22.04 (KDE 5.24.7) and Libreoffice 7.5 (Version: 7.5.5.2 (X86_64) / LibreOffice Community).
Did you try with a fresh LibreOffice profile?
Good suggestion. I removed the .config/libreoffice and restarted LO and TM works fine now.
'Course, I still have to put back in my dictionaries, fonts and so on...
Thanks a lot.
If you did a backup of your LibreOffice profile, you can first uninstall TexMaths, then remove the directory ~/.config/libreoffice/4/user/TexMaths and install TexMaths again.