LinuxQuestions.org

LinuxQuestions.org (/questions/)
-   Slackware (https://www.linuxquestions.org/questions/slackware-14/)
-   -   libreoffice 'Unexpected application error' on one user only (https://www.linuxquestions.org/questions/slackware-14/libreoffice-unexpected-application-error-on-one-user-only-4175711134/)

camorri 04-22-2022 04:36 PM

libreoffice 'Unexpected application error' on one user only
 
I have alienbob's Libreoffice package installed on Slackware 15 64 bit. On my user I can launch LO without problems.

On my wifes user when I launch LO, I get an "Unexpected application error".
On the failing user I see the pop up indicating the application is starting, the progress bar goes half way, and the thing disappears.

I have tried launching it from a terminal, that is when I see the "Unexpected application error" message show up.

I have compared the groups for both users, and added some groups to the wifes user, and now they are the same.

Here are the packages I have installed.
Code:

ls -l /var/lib/pkgtools/packages | grep libreoffice
-rw-r--r-- 1 root root 1.2M Apr 22 11:27 libreoffice-7.3.2-x86_64-1alien
-rw-r--r-- 1 root root 8.4K Apr 22 11:28 libreoffice-dict-en-7.3.2-x86_64-1alien
-rw-r--r-- 1 root root 1.6K Apr 22 11:28 libreoffice-dict-uk-7.3.2-x86_64-1alien

The groups.

Code:

groups
users disk lp wheel floppy dialout audio video cdrom games input plugdev power netdev scanner

I did look in /var/log/messages and saw nothing useful.

This is on my laptop that we both use. On my desktop I have the same setup, and all is well.

Is there any logging I can do to get more useful failure information?

Your thoughts on what else I can check are appreciated.

0XBF 04-22-2022 05:33 PM

I have slackware64 15.0 up to date with alienBOBs libreoffice installed on both my desktop machine, and my laptop. Libreoffice runs fine on the desktop, but crashes on the laptop with the "Unspecified Application Error" error, as you describe.

This post here had a suggestion that fixed it: https://www.linuxquestions.org/quest...ml#post6196826

On the laptop I edited /etc/profile.d/libreoffice.sh so that the environment variable is always set:
Code:

cat /etc/profile.d/libreoffice.sh
#!/bin/sh

# To force the use of a certain VCL UI interface, use one of these envvars.
#export SAL_USE_VCLPLUGIN=gen
#export SAL_USE_VCLPLUGIN=gtk3
#export SAL_USE_VCLPLUGIN=gtk3_kde5
#export SAL_USE_VCLPLUGIN=kf5
#export SAL_USE_VCLPLUGIN=qt5

export MESA_LOADER_DRIVER_OVERRIDE=i965

There wasn't much explanation for the bug there and I didnt look much further after fixing it. Maybe someone can explain but I HTH.

camorri 04-22-2022 06:19 PM

OXBF a huge THANK_YOU! That has fixed it.

I spent an afternoon trying to fix this thing, it made no sense. I had a look at this forum, but did not find the thread you have pointed out. I did have to boot the system after editing the libreoffice.sh file, and only then di it work.

ozanbaba 04-23-2022 01:33 AM

I put it in libreoffice wrapper script /usr/lib64/libreoffice/program/soffice. I didnt want it set system wide for just one program's fix.


All times are GMT -5. The time now is 09:20 PM.