← Back to team overview

openlp-core team mailing list archive

[Bug 1590386] [NEW] Editing and Deleting Bibles is broken

 

Public bug reported:

When trying to edit the selected Bible, the following traceback appears:

Traceback (most recent call last):
  File "E:\bzr\openlp\trunk\openlp\plugins\bibles\lib\mediaitem.py", line 491, in on_edit_click
    self.edit_bible_form = EditBibleForm(self, self.main_window, self.plugin.manager)
  File "E:\bzr\openlp\trunk\openlp\plugins\bibles\forms\editbibleform.py", line 51, in __init__
    self.setupUi(self)
  File "E:\bzr\openlp\trunk\openlp\plugins\bibles\forms\editbibledialog.py", line 107, in setupUi
    'book_name_label[{name}]'.format(book=book['abbreviation']))
KeyError: 'name'

When Trying to delete the selected Bible,
it does not get deleted when the delete
action is pressed and confirmed.

Win 8.1

Trunk revision 2674

** Affects: openlp
     Importance: Undecided
         Status: New

** Description changed:

  When trying to edit the selected Bible, the following traceback appears:
  
  Traceback (most recent call last):
-   File "E:\bzr\openlp\trunk\openlp\plugins\bibles\lib\mediaitem.py", line 491, in on_edit_click
-     self.edit_bible_form = EditBibleForm(self, self.main_window, self.plugin.manager)
-   File "E:\bzr\openlp\trunk\openlp\plugins\bibles\forms\editbibleform.py", line 51, in __init__
-     self.setupUi(self)
-   File "E:\bzr\openlp\trunk\openlp\plugins\bibles\forms\editbibledialog.py", line 107, in setupUi
-     'book_name_label[{name}]'.format(book=book['abbreviation']))
+   File "E:\bzr\openlp\trunk\openlp\plugins\bibles\lib\mediaitem.py", line 491, in on_edit_click
+     self.edit_bible_form = EditBibleForm(self, self.main_window, self.plugin.manager)
+   File "E:\bzr\openlp\trunk\openlp\plugins\bibles\forms\editbibleform.py", line 51, in __init__
+     self.setupUi(self)
+   File "E:\bzr\openlp\trunk\openlp\plugins\bibles\forms\editbibledialog.py", line 107, in setupUi
+     'book_name_label[{name}]'.format(book=book['abbreviation']))
  KeyError: 'name'
  
- 
  When Trying to delete the selected Bible,
- it does not get delete when the delete action
- is pressed and it is confirmed.
+ it does not get deletde when the delete 
+ action is pressed and confirmed.
  
  Win 8.1
  
  Trunk revision 2674

** Description changed:

  When trying to edit the selected Bible, the following traceback appears:
  
  Traceback (most recent call last):
    File "E:\bzr\openlp\trunk\openlp\plugins\bibles\lib\mediaitem.py", line 491, in on_edit_click
      self.edit_bible_form = EditBibleForm(self, self.main_window, self.plugin.manager)
    File "E:\bzr\openlp\trunk\openlp\plugins\bibles\forms\editbibleform.py", line 51, in __init__
      self.setupUi(self)
    File "E:\bzr\openlp\trunk\openlp\plugins\bibles\forms\editbibledialog.py", line 107, in setupUi
      'book_name_label[{name}]'.format(book=book['abbreviation']))
  KeyError: 'name'
  
  When Trying to delete the selected Bible,
- it does not get deletde when the delete 
+ it does not get deleted when the delete
  action is pressed and confirmed.
  
  Win 8.1
  
  Trunk revision 2674

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

Title:
  Editing and Deleting Bibles is broken

Status in OpenLP:
  New

Bug description:
  When trying to edit the selected Bible, the following traceback
  appears:

  Traceback (most recent call last):
    File "E:\bzr\openlp\trunk\openlp\plugins\bibles\lib\mediaitem.py", line 491, in on_edit_click
      self.edit_bible_form = EditBibleForm(self, self.main_window, self.plugin.manager)
    File "E:\bzr\openlp\trunk\openlp\plugins\bibles\forms\editbibleform.py", line 51, in __init__
      self.setupUi(self)
    File "E:\bzr\openlp\trunk\openlp\plugins\bibles\forms\editbibledialog.py", line 107, in setupUi
      'book_name_label[{name}]'.format(book=book['abbreviation']))
  KeyError: 'name'

  When Trying to delete the selected Bible,
  it does not get deleted when the delete
  action is pressed and confirmed.

  Win 8.1

  Trunk revision 2674

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


Follow ups