← Back to team overview

openlp-core team mailing list archive

[Bug 963894] Re: openlp not starting on Mac if vlc not available

 

Hi Brian, what is the status of fix for this bug?   Is the code in
related branch ready for merging to trunk and be part of 1.9.12 being
released this weekend?

-- 
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