Skip to main content
Topic solved
This topic has been marked as solved and requires no further attention.
Topic: libreoffice is completely borked? (Read 936 times) previous topic - next topic
0 Members and 1 Guest are viewing this topic.

libreoffice is completely borked?

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.

Re: libreoffice is completely borked?

Reply #1
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.

Re: libreoffice is completely borked?

Reply #2
@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.

Re: libreoffice is completely borked?

Reply #3
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.

Re: libreoffice is completely borked?

Reply #4

lol
"Wer alles kann, macht nichts richtig"

Artix USE="runit openrc slim openbox lxde gtk2 qt4 qt5 qt6 conky
-gtk3 -gtk4 -adwaita{cursors,themes,icons} -gnome3 -kde -plasma -wayland "

Re: libreoffice is completely borked?

Reply #5
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.

Re: libreoffice is completely borked?

Reply #6
I'd create new user and try there.

Re: libreoffice is completely borked?

Reply #7
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.

Re: libreoffice is completely borked?

Reply #8
Perhaps re-installing direct deps may  help:
Code: [Select]
# pacman -Rsc libreoffice-fresh
# pacman -Syy libreoffice-fresh

Re: libreoffice is completely borked?

Reply #9
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.

Re: libreoffice is completely borked?

Reply #10
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."

Re: libreoffice is completely borked?

Reply #11
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.


Re: libreoffice is completely borked?

Reply #13
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

Re: libreoffice is completely borked?

Reply #14
Thx for the feedback.
argon2 is mentioned is some docs related to libreoffice, though not as dependency.
So this indeed seems useful information.

artist