openlp-core team mailing list archive
-
openlp-core team
-
Mailing list archive
-
Message #27233
[Bug 1489143] Re: Starting OpenLP on Linux without VLC causes traceback
** Changed in: openlp
Status: Confirmed => In Progress
--
You received this bug notification because you are a member of OpenLP
Core, which is subscribed to OpenLP.
https://bugs.launchpad.net/bugs/1489143
Title:
Starting OpenLP on Linux without VLC causes traceback
Status in OpenLP:
In Progress
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/tgc/projects/OpenLP/code/trunk/openlp/core/ui/media/vendor/vlc.py", line 106, in find_lib
dll = ctypes.CDLL(p)
File "/usr/lib/python3.4/ctypes/__init__.py", line 351, in __init__
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/tgc/projects/OpenLP/code/trunk/openlp/__init__.py", line 26, in <module>
from openlp import core, plugins
File "/home/tgc/projects/OpenLP/code/trunk/openlp/core/__init__.py", line 46, in <module>
from openlp.core.ui.exceptionform import ExceptionForm
File "/home/tgc/projects/OpenLP/code/trunk/openlp/core/ui/exceptionform.py", line 76, in <module>
from openlp.core.ui.media.vlcplayer import VERSION
File "/home/tgc/projects/OpenLP/code/trunk/openlp/core/ui/media/vlcplayer.py", line 106, in <module>
if get_vlc() and is_linux() and 'nose' not in sys.argv[0]:
File "/home/tgc/projects/OpenLP/code/trunk/openlp/core/ui/media/vlcplayer.py", line 74, in get_vlc
from openlp.core.ui.media.vendor import vlc
File "/home/tgc/projects/OpenLP/code/trunk/openlp/core/ui/media/vendor/vlc.py", line 167, in <module>
dll, plugin_path = find_lib()
File "/home/tgc/projects/OpenLP/code/trunk/openlp/core/ui/media/vendor/vlc.py", line 108, in find_lib
dll = ctypes.CDLL('libvlc.so.5')
File "/usr/lib/python3.4/ctypes/__init__.py", line 351, in __init__
self._handle = _dlopen(self._name, mode)
OSError: libvlc.so.5: cannot open shared object file: No such file or directory
To manage notifications about this bug go to:
https://bugs.launchpad.net/openlp/+bug/1489143/+subscriptions
References