LinuxQuestions.org
Review your favorite Linux distribution.
Home Forums Tutorials Articles Register
Go Back   LinuxQuestions.org > Forums > Linux Forums > Linux - Distributions > Slackware
User Name
Password
Slackware This Forum is for the discussion of Slackware Linux.

Notices


Reply
  Search this Thread
Old 04-22-2022, 04:36 PM   #1
camorri
LQ 5k Club
 
Registered: Nov 2002
Location: Somewhere inside 9.9 million sq. km. Canada
Distribution: Slackware 15.0, current, slackware-arm-currnet
Posts: 6,217

Rep: Reputation: 849Reputation: 849Reputation: 849Reputation: 849Reputation: 849Reputation: 849Reputation: 849
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.
 
Old 04-22-2022, 05:33 PM   #2
0XBF
Member
 
Registered: Nov 2018
Distribution: Slackware
Posts: 766

Rep: Reputation: 867Reputation: 867Reputation: 867Reputation: 867Reputation: 867Reputation: 867Reputation: 867
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.

Last edited by 0XBF; 04-22-2022 at 05:35 PM.
 
1 members found this post helpful.
Old 04-22-2022, 06:19 PM   #3
camorri
LQ 5k Club
 
Registered: Nov 2002
Location: Somewhere inside 9.9 million sq. km. Canada
Distribution: Slackware 15.0, current, slackware-arm-currnet
Posts: 6,217

Original Poster
Rep: Reputation: 849Reputation: 849Reputation: 849Reputation: 849Reputation: 849Reputation: 849Reputation: 849
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.
 
Old 04-23-2022, 01:33 AM   #4
ozanbaba
Member
 
Registered: May 2003
Location: İzmir
Distribution: Slackware64 15.0 Multilib
Posts: 778

Rep: Reputation: 135Reputation: 135
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.
 
1 members found this post helpful.
  


Reply

Tags
error, libreoffice



Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is Off
HTML code is Off



Similar Threads
Thread Thread Starter Forum Replies Last Post
Command line execution error: unexpected EOF while looking for matching `"' bash: -c: line 25: syntax error: unexpected end of file maheshreddy690 Linux - Newbie 1 12-25-2018 01:13 PM
[SOLVED] LibreOffice Base and PostgreSQL driver - unexpected dependency ljb643 Slackware 7 06-01-2016 07:30 PM
How to install only Writer from Libreoffice package"libreoffice-4.0.3-i486-1alien.txz just.srad Slackware 10 05-30-2013 02:37 PM
Parse error: parse error, unexpected '/' - can anyone see the error in this code? v@ny@ Programming 8 04-03-2010 04:07 PM
how to create sftp user only in red hat 4 not ftp user ..only sftp user princeu28 Linux - Newbie 1 10-14-2008 08:10 AM

LinuxQuestions.org > Forums > Linux Forums > Linux - Distributions > Slackware

All times are GMT -5. The time now is 01:10 AM.

Main Menu
Advertisement
My LQ
Write for LQ
LinuxQuestions.org is looking for people interested in writing Editorials, Articles, Reviews, and more. If you'd like to contribute content, let us know.
Main Menu
Syndicate
RSS1  Latest Threads
RSS1  LQ News
Twitter: @linuxquestions
Open Source Consulting | Domain Registration