Openlp Crashes at start after fresh Install because of lacking libreoffice-java-common

Bug #1792803 reported by Joe Auge
6
This bug affects 1 person
Affects Status Importance Assigned to Milestone
OpenLP
Won't Fix
Undecided
Unassigned

Bug Description

On a quasi fresh 18.04.1 Ubuntu Installation I installed OpenLP via apt.

When I started it, it crashed, with error report. Now I restarted with -l debug and got the following output in the terminal:

javaldx: Could not find a Java Runtime Environment!
Please ensure that a JVM and the package libreoffice-java-common
is installed.
If it is already installed then try removing ~/.libreoffice/3/user/config/javasettings_Linux_*.xml
Warning: failed to read path from javaldx
After installing openjdk1-jre and libreoffice-java-common OpenLP still crashes. So i am not 100% sure if it is Java related. Here is the openlp.log (with -l debug) after having installed java

https://pastebin.com/BUdMkq7a

Revision history for this message
Joe Auge (joeauge) wrote :

… and when I close the bug report and try to restart openLP, I gat a "openlp is already running" although taskmanager can't find such process.

Revision history for this message
Joe Auge (joeauge) wrote :

With "close the bug report" I didn't mean this report here, but the Ubuntu Error message with the option to send an Email with the traceback,

Revision history for this message
Raoul Snyman (raoul-snyman) wrote :

The Java messages have nothing to do with OpenLP's exception/error.

It looks like there's an issue with loading one of the settings. If you open your settings file (~/.config/OpenLP/OpenLP.conf), is there a "media files" entry in the "[media]" section?

Revision history for this message
Joe Auge (joeauge) wrote :

Yes, there is:
[media]
media%20files="[{\"__Path__\": [\"optical:5:48512:-1:1347768:1480767:In die Fresse:\", \"dev\", \"sr0\"]}]"
players="vlc,system,webkit"
status=1

Now I deleted
~/.config/OpenLP/
and
~/.local/share/openlp

and… tadaaaaaa! OpenLP starts again. So the bug is probably that openlp does backup and replace ~/.local/share/openlp if it was made with another version, but does NOT so with ~/.config/OpenLP/openlp.conf

It messed with the openlp.conf from the developers version 2.9 i had used ealier.

So: If there is a way to fix this downgrade-problem, it would be useful as nearer as the release of 3.0 comes, since the more people will be going to try the Alfa or Beta and go back to their stable productive version (as I did because of the broken bible importing feature in 2.9 and the casual crashes).

One possibility of fixing it:
If in the section
[core]
application%20version=2.n.n
is newer than the actual stable, backup also the config as openlp.conf.2.n.n.date-of-today
and make a new one.

Another possibility: Save the config of 2.9 in a new folder by default. E.g. ~/.config/OpenLP3/
That could make possible switching from stable to dev. Downside: We would stick with it, even after stable release.

Revision history for this message
Raoul Snyman (raoul-snyman) wrote :

We don't support downgrading.

Changed in openlp:
status: New → Won't Fix
To post a comment you must log in.
This report contains Public information  
Everyone can see this information.

Other bug subscribers

Remote bug watches

Bug watches keep track of this bug in other bug trackers.