← Back to team overview

openlp-core team mailing list archive

[Bug 1600510] [NEW] Deleting a songbook throws "song" attribute exception

 

Public bug reported:

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: -

** Affects: openlp
     Importance: Medium
         Status: New

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

Title:
  Deleting a songbook throws "song" attribute exception

Status in OpenLP:
  New

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: -

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


Follow ups