← Back to team overview

openlp-core team mailing list archive

Re: [Merge] lp:~crichter/openlp/media into lp:openlp

 

Review: Needs Fixing

On a Windows 7 PC without VLC installed, OpenLP won't start. 
If VLC isn't installed it needs to detect this, disable all VLC options and still run!


2011-12-03 10:56:34,323 root                                                    ERROR    Traceback (most recent call last):
  File "openlp.pyw", line 42, in <module>
    main()
  File "C:\Users\jonathan\Documents\projects\openlp\media\openlp\core\__init__.py", line 291, in main
    sys.exit(app.run(qt_args))
  File "C:\Users\jonathan\Documents\projects\openlp\media\openlp\core\__init__.py", line 130, in run
    self.mainWindow = MainWindow(self.clipboard(), self.args)
  File "C:\Users\jonathan\Documents\projects\openlp\media\openlp\core\ui\mainwindow.py", line 561, in __init__
    self.mediaController = MediaController(self)
  File "C:\Users\jonathan\Documents\projects\openlp\media\openlp\core\ui\media\mediacontroller.py", line 57, in __init__
    self.check_available_media_players()
  File "C:\Users\jonathan\Documents\projects\openlp\media\openlp\core\ui\media\mediacontroller.py", line 125, in check_available_media_players
    __import__(modulename, globals(), locals(), [])
  File "C:\Users\jonathan\Documents\projects\openlp\media\openlp\core\ui\media\vlcplayer.py", line 32, in <module>
    import vlc
  File "C:\Users\jonathan\Documents\projects\openlp\media\openlp\core\ui\media\vlc.py", line 119, in <module>
    dll, plugin_path  = find_lib()
  File "C:\Users\jonathan\Documents\projects\openlp\media\openlp\core\ui\media\vlc.py", line 96, in find_lib
    dll = ctypes.CDLL('libvlc.dll')
  File "C:\Python27\lib\ctypes\__init__.py", line 353, in __init__
    self._handle = _dlopen(self._name, mode)
WindowsError: [Error 126] The specified module could not be found
None

-- 
https://code.launchpad.net/~crichter/openlp/media/+merge/84344
Your team OpenLP Core is subscribed to branch lp:openlp.


References