Starting OpenLP on Linux without VLC causes traceback
Affects | Status | Importance | Assigned to | Milestone | |
---|---|---|---|---|---|
OpenLP |
Fix Released
|
Critical
|
Tomas Groth |
Bug Description
Found in 2.1.6 on Linux.
Starting OpenLP on Linux without VLC installed causes a traceback and OpenLP doesn't start.
The traceback:
$ ./openlp.py -ld
Traceback (most recent call last):
File "/home/
dll = ctypes.CDLL(p)
File "/usr/lib/
self._handle = _dlopen(self._name, mode)
OSError: libvlc.so.5: cannot open shared object file: No such file or directory
During handling of the above exception, another exception occurred:
Traceback (most recent call last):
File "./openlp.py", line 27, in <module>
from openlp.core.common import is_win, is_macosx
File "/home/
from openlp import core, plugins
File "/home/
from openlp.
File "/home/
from openlp.
File "/home/
if get_vlc() and is_linux() and 'nose' not in sys.argv[0]:
File "/home/
from openlp.
File "/home/
dll, plugin_path = find_lib()
File "/home/
dll = ctypes.
File "/usr/lib/
self._handle = _dlopen(self._name, mode)
OSError: libvlc.so.5: cannot open shared object file: No such file or directory
Related branches
- Tim Bentley: Approve
- Raoul Snyman: Approve
-
Diff: 434 lines (+311/-16)9 files modifiedopenlp/core/ui/media/vlcplayer.py (+2/-4)
openlp/plugins/bibles/forms/bibleimportform.py (+9/-7)
openlp/plugins/bibles/lib/mediaitem.py (+2/-1)
openlp/plugins/songs/lib/importers/openoffice.py (+1/-1)
openlp/plugins/songs/lib/importers/songpro.py (+3/-3)
tests/functional/openlp_plugins/songs/test_songproimport.py (+47/-0)
tests/interfaces/openlp_plugins/bibles/forms/test_bibleimportform.py (+78/-0)
tests/resources/songprosongs/Amazing Grace.json (+34/-0)
tests/resources/songprosongs/amazing-grace.txt (+135/-0)
Changed in openlp: | |
status: | Confirmed → In Progress |
Changed in openlp: | |
status: | In Progress → Fix Committed |
milestone: | none → 2.1.6 |
Changed in openlp: | |
status: | Fix Committed → Fix Released |