Deleting a songbook throws "song" attribute exception

Bug #1600510 reported by Raoul Snyman on 2016-07-09
6
This bug affects 1 person
Affects Status Importance Assigned to Milestone
OpenLP
Status tracked in Trunk
Trunk
Low
Unassigned

Bug Description

Bug reported via support system: https://support.openlp.org/scp/tickets.php?id=3592

**OpenLP Bug Report**
Version: {'version': '2.4.2', 'build': None, 'full': '2.4.2'}

--- Details of the Exception. ---

After Importing songs with Songbeamer importer he added two Song books with
nearly the same title. So I wanted to rename one to the same title of the
second to merge them but an exception occured. So I tried to delete the
Songbook i wnated to rename but the same exception - the actual exception -
occured.

 --- Exception Traceback ---
Traceback (most recent call last):
  File "openlp\plugins\songs\forms\songmaintenanceform.py", line 493, in
on_delete_book_button_clicked
  File "openlp\plugins\songs\forms\songmaintenanceform.py", line 110, in
_delete_item
AttributeError: 'Book' object has no attribute 'songs'

--- System information ---
Plattform: Windows-10-10.0.10586-SP0

--- Library Versions ---
Python: 3.4.4
Qt5: 5.5.1
PyQt5: 5.5.1
QtWebkit: 538.1
SQLAlchemy: 1.0.13
SQLAlchemy Migrate: -
BeautifulSoup: 4.4.1
lxml: 3.4.4
Chardet: 2.3.0
PyEnchant: 1.6.6
Mako: 1.0.3
pyICU: 1.9.2
pyUNO bridge: -
VLC: -

Tim Bentley (trb143) on 2016-09-25
Changed in openlp:
milestone: 2.4.3 → none
no longer affects: openlp/2.4
To post a comment you must log in.
This report contains Public information  Edit
Everyone can see this information.

Other bug subscribers