Artix Linux Forum

Artix Linux => Applications & Software => Topic started by: lotuskip on 31 August 2024, 16:38:59

Title: libreoffice is completely borked?
Post by: lotuskip on 31 August 2024, 16:38:59
I was concerned when libreoffice-still jumped from 7.something to 24.2.5, and indeed everything was broken, at least in Writer. Main issues:
- no icons, just ugly text buttons on all toolbars
- cannot open any files: "General Error. General input/output error"

Things that I've tried to no avail:
- rm -r ~/.config/libreoffice
- removing the named pipe under /tmp
- switching to libreoffice-fresh
- and all combinations of the above

Here's the little I get into stderr when running from a terminal (this is printed upon closing):
Code: [Select]
terminate called after throwing an instance of 'com::sun::star::uno::DeploymentException'
Unspecified Application Error

I know this monster takes a long time to build, and sort of expect from past experience that a fix is already compiling. But thought I'd report here anyway since no one else has.
Title: Re: libreoffice is completely borked?
Post by: Ambie on 31 August 2024, 19:08:37
I don't use libreoffice very often. Just installed libreoffice-still and have no such issues. There's icons and it opens files all right. AMD, Openbox, X.Org.
Title: Re: libreoffice is completely borked?
Post by: nous on 31 August 2024, 19:26:05
@lotuskip Open a terminal and unset any QT variables ('set|grep QT' shall show which ones are set). Launch 'loffice --writer' from the same terminal and report.
Title: Re: libreoffice is completely borked?
Post by: lotuskip on 31 August 2024, 19:40:02
Huh...
Same problems persist after once again reinstalling libreoffice-still (24.2.5-2) and clearing the config. I tested Calc, too, with same issues.

What else can I add..?
No DE, just dwm.
Two language packs installed: libreoffice-still-en-gb & libreoffice-still-fi.
No Java runtime.
Using just the default gtk3.
I use seatd and have forcefully removed elogind.

@nous Not using QT; 'set|grep QT' prints nothing.
Title: Re: libreoffice is completely borked?
Post by: lq on 31 August 2024, 20:59:51

lol
Title: Re: libreoffice is completely borked?
Post by: lotuskip on 01 September 2024, 08:27:33
After a reboot, same situation:
Code: [Select]
# loffice --writer
javaldx: Could not find a Java Runtime Environment!
Warning: failed to read path from javaldx
terminate called after throwing an instance of 'com::sun::star::uno::DeploymentException'
Unspecified Application Error
(The first two lines at startup; they aren't printed if I disable Java in options first. The last two lines when closing.)
Here's a screenshot, after trying to open a file:
shot.png
Additionally, Calc doesn't seem to recognize its native file type. When I try to open an .ods file, it tells me I'm "importing text" and shows me a bunch of garbage. Only after okaying that do I get the "General input/output error" dialog.

My system is fully up to date and everything else is working fine.
Title: Re: libreoffice is completely borked?
Post by: Ambie on 01 September 2024, 10:19:04
I'd create new user and try there.
Title: Re: libreoffice is completely borked?
Post by: lotuskip on 01 September 2024, 11:18:24
Just tried. A freshly created new user had the same problems.

Currently, I have three theories (or nuclei of such):
1. The old version somehow left some offending files somewhere other than under /home, such that pacman isn't aware of them. (I have not modified anything libreoffice-related under /etc)
2. The new version has a new hidden dependency that I don't have installed (but everyone else does).
3. In general, I always suspect dbus when there's trouble with software that uses it.
Title: Re: libreoffice is completely borked?
Post by: nous on 01 September 2024, 12:34:49
Perhaps re-installing direct deps may  help:
Code: [Select]
# pacman -Rsc libreoffice-fresh
# pacman -Syy libreoffice-fresh
Title: Re: libreoffice is completely borked?
Post by: lotuskip on 01 September 2024, 13:38:34
Perhaps re-installing direct deps may  help:
Unfortunately, this didn't help either. No change.

I also tried removing the language packs just in case they caused problems, but no change.

It's got to be something present, or missing, on my system which isn't explicitly linked to the libreoffice package.
Title: Re: libreoffice is completely borked?
Post by: Caramon2 on 01 September 2024, 14:53:08
I don't like the new too and still use the LibreOffice-7.4.7.2.full-x86_64.AppImage:

https://www.libreoffice.org/download/appimage/

Under "More Downloads Additional LibreOffice Appimages can be found browsing the LibreOffice AppImage repository."
Title: Re: libreoffice is completely borked?
Post by: lotuskip on 01 September 2024, 15:29:27
Thanks @Caramon2 ! I grabbed LibreOffice-7.6.7.2.full-x86_64.AppImage, and it seems to work nicely (maybe a bit slow).

I'm not marking the topic as solved by any means, but this certainly helps with the practical side of things.
Title: Re: libreoffice is completely borked?
Post by: Shoun2137 on 01 September 2024, 16:21:29
If libreoffice doesnt work, you can try https://github.com/ONLYOFFICE
Title: Re: libreoffice is completely borked?
Post by: lotuskip on 09 September 2024, 10:13:49
I figured it out with some help from a LibreOffice developer!

Devs, please be adviced, that apparently LibreOffice now depends on the argon2 package. As soon as I installed system/argon2, my problems were gone.

Granted, the LO developer couldn't quite explain this. My "bug report" on LibreOffice is here:
https://bugs.documentfoundation.org/show_bug.cgi?id=162845 (https://bugs.documentfoundation.org/show_bug.cgi?id=162845)
Title: Re: libreoffice is completely borked?
Post by: Artist on 09 September 2024, 14:24:32
Thx for the feedback.
argon2 is mentioned is some docs related to libreoffice, though not as dependency.
So this indeed seems useful information.

artist
Title: Re: libreoffice is completely borked?
Post by: TheExplorer on 09 September 2024, 17:49:53
Btw, argon2 is installed as a dependency of cryptsetup. It came already installed within the Artix XFCE installation media, I guess.
Title: Re: libreoffice is completely borked?
Post by: Caramon2 on 22 August 2025, 18:38:00
Thanks @Caramon2 (https://forum.artixlinux.org/index.php?action=profile;u=1042) ! I grabbed LibreOffice-7.6.7.2.full-x86_64.AppImage, and it seems to work nicely (maybe a bit slow).
Yesterday I found this:
Quote
AppImages require FUSE to run. If your system does not have a working FUSE setup, you can still extract the contents of the AppImages using the --appimage-extract option.
https://www.libreoffice.org/download/appimage/

Extracted AppImages starts around twice as fast. (LibreOffice 7.4.7 and GIMP 2.10 from btfrs+zstd:2)
Title: Re: libreoffice is completely borked?
Post by: cds on 23 August 2025, 05:22:32
Perhaps re-installing direct deps may  help:
Code: [Select]
# pacman -Rsc libreoffice-fresh
# pacman -Syy libreoffice-fresh

Amazing how it seems this was ignored