openlp-core team mailing list archive
-
openlp-core team
-
Mailing list archive
-
Message #16837
[Bug 963894] Re: openlp not starting on Mac if vlc not available
Yes, the issue is AFAIK in core/ui/media/vlcplayer.py, it reads here at
the beginning:
except OSError, e:
if sys.platform.startswith('win'):
if not isinstance(e, WindowsError) and e.winerror != 126:
raise
else:
raise
I expect that adding an else with
elif sys.platform == "darwin":
pass
could maybe already help. Who could that patch? I am happy to test in
the next daily build, but I currently don't have the source code handy
to build it myself.
--
You received this bug notification because you are a member of OpenLP
Core, which is subscribed to OpenLP.
https://bugs.launchpad.net/bugs/963894
Title:
openlp not starting on Mac if vlc not available
Status in OpenLP - Worship Presentation Software:
Confirmed
Bug description:
On Mac OpenLP does not start when vlc player is not available.
The following error message appear in the log file:
2012-03-24 14:15:41,863 root ERROR Traceback (most recent call last):
File "openlp.pyw", line 42, in <module>
main()
File "/Users/martin/Documents/openlp/trunk/openlp/core/__init__.py", line 291, in main
sys.exit(app.run(qt_args))
File "/Users/martin/Documents/openlp/trunk/openlp/core/__init__.py", line 130, in run
self.mainWindow = MainWindow(self.clipboard(), self.args)
File "/Users/martin/Documents/openlp/trunk/openlp/core/ui/mainwindow.py", line 576, in __init__
self.mediaController = MediaController(self)
File "/Users/martin/Documents/openlp/trunk/openlp/core/ui/media/mediacontroller.py", line 56, in __init__
self.check_available_media_players()
File "/Users/martin/Documents/openlp/trunk/openlp/core/ui/media/mediacontroller.py", line 117, in check_available_media_players
__import__(modulename, globals(), locals(), [])
File "/Users/martin/Documents/openlp/trunk/openlp/core/ui/media/vlcplayer.py", line 32, in <module>
import vlc
File "/Users/martin/Documents/openlp/trunk/openlp/core/ui/media/vlc.py", line 119, in <module>
dll, plugin_path = find_lib()
File "/Users/martin/Documents/openlp/trunk/openlp/core/ui/media/vlc.py", line 111, in find_lib
dll = ctypes.CDLL('libvlc.dylib')
File "/opt/local/Library/Frameworks/Python.framework/Versions/2.7/lib/python2.7/ctypes/__init__.py", line 353, in __init__
self._handle = _dlopen(self._name, mode)
OSError: dlopen(libvlc.dylib, 6): image not found
None
To manage notifications about this bug go to:
https://bugs.launchpad.net/openlp/+bug/963894/+subscriptions
References