Deleting a songbook throws "song" attribute exception
Affects | Status | Importance | Assigned to | Milestone | ||
---|---|---|---|---|---|---|
OpenLP | Status tracked in Trunk | |||||
Trunk |
Fix Committed
|
Low
|
Phill |
Bug Description
Bug reported via support system: https:/
**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\
on_delete_
File "openlp\
_delete_item
AttributeError: 'Book' object has no attribute 'songs'
--- System information ---
Plattform: Windows-
--- 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: -
Related branches
- Tim Bentley: Approve
-
Diff: 852 lines (+172/-161)25 files modifiedopenlp/core/common/__init__.py (+16/-1)
openlp/core/common/actions.py (+1/-1)
openlp/core/common/i18n.py (+4/-14)
openlp/core/common/registry.py (+2/-23)
openlp/core/display/html/display.js (+29/-22)
openlp/core/display/render.py (+1/-1)
openlp/core/display/screens.py (+2/-10)
openlp/core/lib/theme.py (+1/-0)
openlp/core/state.py (+2/-11)
openlp/core/ui/advancedtab.py (+1/-1)
openlp/core/ui/icons.py (+4/-14)
openlp/plugins/bibles/lib/__init__.py (+23/-29)
openlp/plugins/bibles/lib/db.py (+22/-25)
openlp/plugins/bibles/lib/manager.py (+4/-2)
openlp/plugins/custom/forms/editcustomdialog.py (+2/-0)
openlp/plugins/songs/forms/editsongdialog.py (+2/-0)
openlp/plugins/songs/lib/db.py (+3/-1)
openlp/plugins/songs/lib/importers/cclifile.py (+2/-0)
openlp/plugins/songs/lib/importers/dreambeam.py (+2/-1)
openlp/plugins/songs/lib/importers/easyslides.py (+2/-0)
openlp/plugins/songs/lib/importers/easyworship.py (+1/-1)
openlp/plugins/songs/lib/importers/songbeamer.py (+1/-1)
tests/functional/openlp_core/common/test_common.py (+43/-1)
tests/functional/openlp_core/lib/test_theme.py (+1/-1)
tests/functional/openlp_core/ui/test_icons.py (+1/-1)
Changed in openlp: | |
milestone: | 2.4.3 → none |
no longer affects: | openlp/2.4 |
Effects Trunk and version 3