Bibles plugin does not always delete corrupted bibles from falied imports
Bug #824129 reported by
Andreas Preikschat
This bug affects 1 person
Affects | Status | Importance | Assigned to | Milestone | |
---|---|---|---|---|---|
OpenLP |
Fix Released
|
Medium
|
Unassigned |
Bug Description
Hello,
http://
Sometimes a bible import fails and the not finished bible is not removed. This can lead to this error message (which we all know very well from various reports):
IntegrityError: (IntegrityError) column key is not unique u'INSERT INTO metadata ("key", value) VALUES (?, ?)' (u'dbversion', u'2')
We have to make sure that corrupted/not finished bibles are removed so that this does not happen any longer.
Cheers
Related branches
lp:~googol-deactivatedaccount/openlp/bug-804747
- Raoul Snyman: Approve
- Tim Bentley: Approve
-
Diff: 983 lines (+137/-296)8 files modifiedopenlp/core/ui/mainwindow.py (+2/-5)
openlp/core/utils/__init__.py (+12/-1)
openlp/plugins/bibles/forms/bibleupgradeform.py (+79/-233)
openlp/plugins/bibles/forms/languageform.py (+5/-6)
openlp/plugins/bibles/lib/db.py (+30/-43)
openlp/plugins/bibles/lib/manager.py (+6/-5)
openlp/plugins/bibles/lib/mediaitem.py (+1/-1)
openlp/plugins/songs/lib/openlyricsexport.py (+2/-2)
Changed in openlp: | |
importance: | Undecided → Medium |
status: | New → Confirmed |
Changed in openlp: | |
assignee: | nobody → Andreas Preikschat (googol) |
status: | Confirmed → In Progress |
Changed in openlp: | |
status: | In Progress → Fix Committed |
Changed in openlp: | |
status: | Fix Committed → Fix Released |
To post a comment you must log in.