← Back to team overview

openlp-core team mailing list archive

[Bug 989980] [NEW] OpenLP crashes on startup if VLC is not installed on Linux

 

Public bug reported:

2012-04-27 19:20:58,749 openlp.core.ui.media                                    DEBUG    get_media_players
2012-04-27 19:20:58,978 root                                                    ERROR    Traceback (most recent call last):
  File "/usr/bin/openlp", line 42, in <module>
    main()
  File "/usr/lib/pymodules/python2.6/openlp/core/__init__.py", line 291, in main
    sys.exit(app.run(qt_args))
  File "/usr/lib/pymodules/python2.6/openlp/core/__init__.py", line 130, in run
    self.mainWindow = MainWindow(self.clipboard(), self.args)
  File "/usr/lib/pymodules/python2.6/openlp/core/ui/mainwindow.py", line 672, in __init__
    self.pluginManager.hook_media_manager()
  File "/usr/lib/pymodules/python2.6/openlp/core/lib/pluginmanager.py", line 131, in hook_media_manager
    plugin.createMediaManagerItem()
  File "/usr/lib/pymodules/python2.6/openlp/core/lib/plugin.py", line 224, in createMediaManagerItem
    self, self.icon)
  File "/usr/lib/pymodules/python2.6/openlp/plugins/media/lib/mediaitem.py", line 82, in __init__
    self.mediaController.previewDisplay)
  File "/usr/lib/pymodules/python2.6/openlp/core/ui/media/mediacontroller.py", line 272, in setup_display
    player.setup(display)
  File "/usr/lib/pymodules/python2.6/openlp/core/ui/media/vlcplayer.py", line 112, in setup
    display.vlcMediaPlayer = display.vlcInstance.media_player_new()
  File "/usr/lib/pymodules/python2.6/openlp/core/ui/media/vlc.py", line 894, in media_player_new
    p._instance = self
AttributeError: 'NoneType' object has no attribute '_instance'
None

** Affects: openlp
     Importance: Undecided
     Assignee: Raoul Snyman (raoul-snyman)
         Status: New


** Tags: linux vlc

-- 
You received this bug notification because you are a member of OpenLP
Core, which is subscribed to OpenLP.
https://bugs.launchpad.net/bugs/989980

Title:
  OpenLP crashes on startup if VLC is not installed on Linux

Status in OpenLP - Worship Presentation Software:
  New

Bug description:
  2012-04-27 19:20:58,749 openlp.core.ui.media                                    DEBUG    get_media_players
  2012-04-27 19:20:58,978 root                                                    ERROR    Traceback (most recent call last):
    File "/usr/bin/openlp", line 42, in <module>
      main()
    File "/usr/lib/pymodules/python2.6/openlp/core/__init__.py", line 291, in main
      sys.exit(app.run(qt_args))
    File "/usr/lib/pymodules/python2.6/openlp/core/__init__.py", line 130, in run
      self.mainWindow = MainWindow(self.clipboard(), self.args)
    File "/usr/lib/pymodules/python2.6/openlp/core/ui/mainwindow.py", line 672, in __init__
      self.pluginManager.hook_media_manager()
    File "/usr/lib/pymodules/python2.6/openlp/core/lib/pluginmanager.py", line 131, in hook_media_manager
      plugin.createMediaManagerItem()
    File "/usr/lib/pymodules/python2.6/openlp/core/lib/plugin.py", line 224, in createMediaManagerItem
      self, self.icon)
    File "/usr/lib/pymodules/python2.6/openlp/plugins/media/lib/mediaitem.py", line 82, in __init__
      self.mediaController.previewDisplay)
    File "/usr/lib/pymodules/python2.6/openlp/core/ui/media/mediacontroller.py", line 272, in setup_display
      player.setup(display)
    File "/usr/lib/pymodules/python2.6/openlp/core/ui/media/vlcplayer.py", line 112, in setup
      display.vlcMediaPlayer = display.vlcInstance.media_player_new()
    File "/usr/lib/pymodules/python2.6/openlp/core/ui/media/vlc.py", line 894, in media_player_new
      p._instance = self
  AttributeError: 'NoneType' object has no attribute '_instance'
  None

To manage notifications about this bug go to:
https://bugs.launchpad.net/openlp/+bug/989980/+subscriptions


Follow ups

References