← Back to team overview

openlp-core team mailing list archive

[Bug 1695268] [NEW] Bibles plugin fails to load and breaks the Library

 

Public bug reported:

I just started 2.4.6 normally on win 10, but only "songs" were visible
in Library. All of the plugins are activated in the plugin manager.

On closing the program, the following traceback appears:

Traceback (most recent call last):
  File "openlp\core\ui\mainwindow.py", line 1091, in closeEvent
  File "openlp\core\ui\mainwindow.py", line 1129, in clean_up
  File "openlp\core\lib\pluginmanager.py", line 189, in finalise_plugins
  File "C:\Program Files (x86)\OpenLP\plugins\bibles\bibleplugin.py", line 100, in finalise
    action_list.remove_action(self.import_bible_item, UiStrings().Import)
  File "openlp\core\utils\actions.py", line 300, in remove_action
  File "openlp\core\utils\actions.py", line 117, in remove
TypeError: 'QAction' object does not support indexing

The same traceback also appears when trying to de-activate the "Bible" plugin
(The status does not change, but combobox item does)

If trying to activate the plugin, the following traceback appears:

Traceback (most recent call last):
  File "openlp\core\ui\pluginform.py", line 136, in on_status_combo_box_changed
  File "openlp\core\lib\plugin.py", line 186, in toggle_status
  File "C:\Program Files (x86)\OpenLP\plugins\bibles\bibleplugin.py", line 84, in initialise
    super(BiblePlugin, self).initialise()
  File "openlp\core\lib\plugin.py", line 278, in initialise
  File "openlp\plugins\bibles\lib\mediaitem.py", line 319, in initialise
  File "openlp\core\common\settings.py", line 436, in value
TypeError: unable to convert a QVariant back to a Python object

Deleting the OpenLP data folder does not fix this issue.
The causes for this bug are still unclear, 2.4.6 used to work normally.

** Affects: openlp
     Importance: High
         Status: New

** Attachment added: "openlp.log"
   https://bugs.launchpad.net/bugs/1695268/+attachment/4887835/+files/openlp.log

** Description changed:

- I just started 2.4.6 normally on win 10, but only "songs" were visible in Library.
- All of the plugins are activated in the plugin manager.
+ I just started 2.4.6 normally on win 10, but only "songs" were visible
+ in Library. All of the plugins are activated in the plugin manager.
  
  On closing the program, the following traceback appears:
  
  Traceback (most recent call last):
-   File "openlp\core\ui\mainwindow.py", line 1091, in closeEvent
-   File "openlp\core\ui\mainwindow.py", line 1129, in clean_up
-   File "openlp\core\lib\pluginmanager.py", line 189, in finalise_plugins
-   File "C:\Program Files (x86)\OpenLP\plugins\bibles\bibleplugin.py", line 100, in finalise
-     action_list.remove_action(self.import_bible_item, UiStrings().Import)
-   File "openlp\core\utils\actions.py", line 300, in remove_action
-   File "openlp\core\utils\actions.py", line 117, in remove
+   File "openlp\core\ui\mainwindow.py", line 1091, in closeEvent
+   File "openlp\core\ui\mainwindow.py", line 1129, in clean_up
+   File "openlp\core\lib\pluginmanager.py", line 189, in finalise_plugins
+   File "C:\Program Files (x86)\OpenLP\plugins\bibles\bibleplugin.py", line 100, in finalise
+     action_list.remove_action(self.import_bible_item, UiStrings().Import)
+   File "openlp\core\utils\actions.py", line 300, in remove_action
+   File "openlp\core\utils\actions.py", line 117, in remove
  TypeError: 'QAction' object does not support indexing
  
  The same traceback also appears when trying to de-activate the "Bible" plugin
  (The status does not change, but combobox item does)
  
  If trying to activate the plugin, the following traceback appears:
  
  Traceback (most recent call last):
-   File "openlp\core\ui\pluginform.py", line 136, in on_status_combo_box_changed
-   File "openlp\core\lib\plugin.py", line 186, in toggle_status
-   File "C:\Program Files (x86)\OpenLP\plugins\bibles\bibleplugin.py", line 84, in initialise
-     super(BiblePlugin, self).initialise()
-   File "openlp\core\lib\plugin.py", line 278, in initialise
-   File "openlp\plugins\bibles\lib\mediaitem.py", line 319, in initialise
-   File "openlp\core\common\settings.py", line 436, in value
+   File "openlp\core\ui\pluginform.py", line 136, in on_status_combo_box_changed
+   File "openlp\core\lib\plugin.py", line 186, in toggle_status
+   File "C:\Program Files (x86)\OpenLP\plugins\bibles\bibleplugin.py", line 84, in initialise
+     super(BiblePlugin, self).initialise()
+   File "openlp\core\lib\plugin.py", line 278, in initialise
+   File "openlp\plugins\bibles\lib\mediaitem.py", line 319, in initialise
+   File "openlp\core\common\settings.py", line 436, in value
  TypeError: unable to convert a QVariant back to a Python object
  
  Deleting the OpenLP data folder does not fix this issue.
  The causes for this bug are still unclear, 2.4.6 used to work normally.

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

Title:
  Bibles plugin fails to load and breaks the Library

Status in OpenLP:
  New

Bug description:
  I just started 2.4.6 normally on win 10, but only "songs" were visible
  in Library. All of the plugins are activated in the plugin manager.

  On closing the program, the following traceback appears:

  Traceback (most recent call last):
    File "openlp\core\ui\mainwindow.py", line 1091, in closeEvent
    File "openlp\core\ui\mainwindow.py", line 1129, in clean_up
    File "openlp\core\lib\pluginmanager.py", line 189, in finalise_plugins
    File "C:\Program Files (x86)\OpenLP\plugins\bibles\bibleplugin.py", line 100, in finalise
      action_list.remove_action(self.import_bible_item, UiStrings().Import)
    File "openlp\core\utils\actions.py", line 300, in remove_action
    File "openlp\core\utils\actions.py", line 117, in remove
  TypeError: 'QAction' object does not support indexing

  The same traceback also appears when trying to de-activate the "Bible" plugin
  (The status does not change, but combobox item does)

  If trying to activate the plugin, the following traceback appears:

  Traceback (most recent call last):
    File "openlp\core\ui\pluginform.py", line 136, in on_status_combo_box_changed
    File "openlp\core\lib\plugin.py", line 186, in toggle_status
    File "C:\Program Files (x86)\OpenLP\plugins\bibles\bibleplugin.py", line 84, in initialise
      super(BiblePlugin, self).initialise()
    File "openlp\core\lib\plugin.py", line 278, in initialise
    File "openlp\plugins\bibles\lib\mediaitem.py", line 319, in initialise
    File "openlp\core\common\settings.py", line 436, in value
  TypeError: unable to convert a QVariant back to a Python object

  Deleting the OpenLP data folder does not fix this issue.
  The causes for this bug are still unclear, 2.4.6 used to work normally.

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


Follow ups