OpenLP on Linux crashes on startup when VLC not installed
Affects | Status | Importance | Assigned to | Milestone | |
---|---|---|---|---|---|
OpenLP |
Fix Committed
|
Undecided
|
Tim Bentley |
Bug Description
Similar to bug #966086
**OpenLP Bug Report**
Version: {'build': None, 'version': '2.4.1', 'full': '2.4.1'}
--- Details of the Exception. ---
this occurred as OpenLP was opened
--- Exception Traceback ---
Traceback (most recent call last):
File "/usr/bin/openlp", line 44, in <module>
main()
File "/usr/share/
sys.
File "/usr/share/
Registry(
File "/usr/share/
result = function(*args, **kwargs)
File "/usr/share/
self.
File "/usr/share/
plugin.
File "/usr/share/
self.media_item = self.media_
File "/usr/share/
super(
File "/usr/share/
self.
File "/usr/share/
self.
File "/usr/share/
player.
File "/usr/share/
display.
File "/usr/share/
return libvlc_
File "/usr/share/
ctypes.
File "/usr/share/
raise NameError('no function %r' % (name,))
NameError: no function 'libvlc_new'
--- System information ---
Platform: Linux-4.
Desktop: GNOME
--- Library Versions ---
Python: 3.4.3+
Qt5: 5.4.2
PyQt5: 5.4.2
QtWebkit: 538.1
SQLAlchemy: 1.0.8
SQLAlchemy Migrate: -
BeautifulSoup: 4.3.2
lxml: 3.4.4
Chardet: 2.3.0
PyEnchant: 1.6.6
Mako: 1.0.2
pyICU: -
pyUNO bridge: 5.0
VLC: -
Related branches
- Tomas Groth: Approve
-
Diff: 152 lines (+54/-26)3 files modifiedopenlp/core/ui/media/mediacontroller.py (+3/-23)
openlp/core/ui/media/vlcplayer.py (+10/-1)
tests/functional/openlp_core/api/endpoint/test_controller.py (+41/-2)
Changed in openlp: | |
status: | New → Won't Fix |
Changed in openlp: | |
status: | Confirmed → Invalid |
Changed in openlp: | |
status: | Invalid → Confirmed |
Changed in openlp: | |
assignee: | nobody → Tim Bentley (trb143) |
status: | Confirmed → In Progress |
Changed in openlp: | |
milestone: | none → 2.9.1 |
status: | In Progress → Fix Committed |
This seems to be related to how ubuntu packages VLC... Some parts of VLC seems to be installed (by default?) that makes OpenLP think VLC is installed, when it really isn't.