← Back to team overview

openlp-core team mailing list archive

[Bug 958199] [NEW] OpenLP won't start due to media player setting

 

Public bug reported:

I get the following error when starting OpenLP.
It doesn't occur prior to r1903

It appears to be due to me not having any media players set in the
settings, although I don't recall deselecting them all!

2012-03-17 22:19:11,423 openlp.core.lib.pluginmanager                           INFO     initialising plugins media in a True state
2012-03-17 22:19:11,427 root                                                    ERROR    Traceback (most recent call last):
  File "openlp.pyw", line 42, in <module>
    main()
  File "C:\Users\Jonathan\Documents\projects\openlp\trunk\openlp\core\__init__.py", line 291, in main
    sys.exit(app.run(qt_args))
  File "C:\Users\Jonathan\Documents\projects\openlp\trunk\openlp\core\__init__.py", line 130, in run
    self.mainWindow = MainWindow(self.clipboard(), self.args)
  File "C:\Users\Jonathan\Documents\projects\openlp\trunk\openlp\core\ui\mainwindow.py", line 683, in __init__
    self.pluginManager.initialise_plugins()
  File "C:\Users\Jonathan\Documents\projects\openlp\trunk\openlp\core\lib\pluginmanager.py", line 193, in initialise_plugins
    plugin.initialise()
  File "C:\Users\Jonathan\Documents\projects\openlp\trunk\openlp\core\lib\plugin.py", line 293, in initialise
    self.mediaItem.initialise()
  File "C:\Users\Jonathan\Documents\projects\openlp\trunk\openlp\plugins\media\lib\mediaitem.py", line 225, in initialise
    self.populateDisplayTypes()
  File "C:\Users\Jonathan\Documents\projects\openlp\trunk\openlp\plugins\media\lib\mediaitem.py", line 255, in populateDisplayTypes
    self.displayTypeComboBox.addItem(mediaPlayers[player].original_name)
KeyError: u''
None

** Affects: openlp
     Importance: Medium
         Status: New

** Changed in: openlp
   Importance: High => Medium

** Description changed:

- I get the following error when starting OpenLP. 
+ I get the following error when starting OpenLP.
  It doesn't occur prior to r1903
+ 
+ It appears to be due to me not having any media players set in the
+ settings, although I don't recall deselecting them all!
  
  2012-03-17 22:19:11,423 openlp.core.lib.pluginmanager                           INFO     initialising plugins media in a True state
  2012-03-17 22:19:11,427 root                                                    ERROR    Traceback (most recent call last):
-   File "openlp.pyw", line 42, in <module>
-     main()
-   File "C:\Users\Jonathan\Documents\projects\openlp\trunk\openlp\core\__init__.py", line 291, in main
-     sys.exit(app.run(qt_args))
-   File "C:\Users\Jonathan\Documents\projects\openlp\trunk\openlp\core\__init__.py", line 130, in run
-     self.mainWindow = MainWindow(self.clipboard(), self.args)
-   File "C:\Users\Jonathan\Documents\projects\openlp\trunk\openlp\core\ui\mainwindow.py", line 683, in __init__
-     self.pluginManager.initialise_plugins()
-   File "C:\Users\Jonathan\Documents\projects\openlp\trunk\openlp\core\lib\pluginmanager.py", line 193, in initialise_plugins
-     plugin.initialise()
-   File "C:\Users\Jonathan\Documents\projects\openlp\trunk\openlp\core\lib\plugin.py", line 293, in initialise
-     self.mediaItem.initialise()
-   File "C:\Users\Jonathan\Documents\projects\openlp\trunk\openlp\plugins\media\lib\mediaitem.py", line 225, in initialise
-     self.populateDisplayTypes()
-   File "C:\Users\Jonathan\Documents\projects\openlp\trunk\openlp\plugins\media\lib\mediaitem.py", line 255, in populateDisplayTypes
-     self.displayTypeComboBox.addItem(mediaPlayers[player].original_name)
+   File "openlp.pyw", line 42, in <module>
+     main()
+   File "C:\Users\Jonathan\Documents\projects\openlp\trunk\openlp\core\__init__.py", line 291, in main
+     sys.exit(app.run(qt_args))
+   File "C:\Users\Jonathan\Documents\projects\openlp\trunk\openlp\core\__init__.py", line 130, in run
+     self.mainWindow = MainWindow(self.clipboard(), self.args)
+   File "C:\Users\Jonathan\Documents\projects\openlp\trunk\openlp\core\ui\mainwindow.py", line 683, in __init__
+     self.pluginManager.initialise_plugins()
+   File "C:\Users\Jonathan\Documents\projects\openlp\trunk\openlp\core\lib\pluginmanager.py", line 193, in initialise_plugins
+     plugin.initialise()
+   File "C:\Users\Jonathan\Documents\projects\openlp\trunk\openlp\core\lib\plugin.py", line 293, in initialise
+     self.mediaItem.initialise()
+   File "C:\Users\Jonathan\Documents\projects\openlp\trunk\openlp\plugins\media\lib\mediaitem.py", line 225, in initialise
+     self.populateDisplayTypes()
+   File "C:\Users\Jonathan\Documents\projects\openlp\trunk\openlp\plugins\media\lib\mediaitem.py", line 255, in populateDisplayTypes
+     self.displayTypeComboBox.addItem(mediaPlayers[player].original_name)
  KeyError: u''
  None

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

Title:
  OpenLP won't start due to media player setting

Status in OpenLP - Worship Presentation Software:
  New

Bug description:
  I get the following error when starting OpenLP.
  It doesn't occur prior to r1903

  It appears to be due to me not having any media players set in the
  settings, although I don't recall deselecting them all!

  2012-03-17 22:19:11,423 openlp.core.lib.pluginmanager                           INFO     initialising plugins media in a True state
  2012-03-17 22:19:11,427 root                                                    ERROR    Traceback (most recent call last):
    File "openlp.pyw", line 42, in <module>
      main()
    File "C:\Users\Jonathan\Documents\projects\openlp\trunk\openlp\core\__init__.py", line 291, in main
      sys.exit(app.run(qt_args))
    File "C:\Users\Jonathan\Documents\projects\openlp\trunk\openlp\core\__init__.py", line 130, in run
      self.mainWindow = MainWindow(self.clipboard(), self.args)
    File "C:\Users\Jonathan\Documents\projects\openlp\trunk\openlp\core\ui\mainwindow.py", line 683, in __init__
      self.pluginManager.initialise_plugins()
    File "C:\Users\Jonathan\Documents\projects\openlp\trunk\openlp\core\lib\pluginmanager.py", line 193, in initialise_plugins
      plugin.initialise()
    File "C:\Users\Jonathan\Documents\projects\openlp\trunk\openlp\core\lib\plugin.py", line 293, in initialise
      self.mediaItem.initialise()
    File "C:\Users\Jonathan\Documents\projects\openlp\trunk\openlp\plugins\media\lib\mediaitem.py", line 225, in initialise
      self.populateDisplayTypes()
    File "C:\Users\Jonathan\Documents\projects\openlp\trunk\openlp\plugins\media\lib\mediaitem.py", line 255, in populateDisplayTypes
      self.displayTypeComboBox.addItem(mediaPlayers[player].original_name)
  KeyError: u''
  None

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


Follow ups

References