Unable to delete web bibles or more than one bible
Affects | Status | Importance | Assigned to | Milestone | ||
---|---|---|---|---|---|---|
OpenLP | Status tracked in Trunk | |||||
2.4 |
Fix Released
|
Low
|
Phill | |||
Trunk |
Fix Committed
|
Medium
|
Phill |
Bug Description
When web bible is deleted from the UI, it does not get deleted.
After failed deletion attempt local bibles are not being deleted either.
Deleting normal bibles works for the first bible, but stops working after that.
Win 10, Trunk 2695
The issue seems to be that OpenLP "uses"
the files that are supposed to be deleted:
2016-09-15 17:01:20,489 openlp.
Traceback (most recent call last):
File "openlp\
PermissionError: [WinError 32] The process cannot access the file because it is being used by another process: 'E:\\bzr\
2016-09-15 17:01:27,248 openlp.
Traceback (most recent call last):
File "openlp\
PermissionError: [WinError 32] The process cannot access the file because it is being used by another process: 'E:\\bzr\
Related branches
- Tomas Groth: Approve
- Tim Bentley: Approve
-
Diff: 95 lines (+71/-2)2 files modifiedopenlp/plugins/bibles/lib/manager.py (+2/-2)
tests/functional/openlp_plugins/bibles/test_manager.py (+69/-0)
- Tomas Groth: Approve
- Tim Bentley: Approve
-
Diff: 95 lines (+71/-2)2 files modifiedopenlp/plugins/bibles/lib/manager.py (+2/-2)
tests/functional/openlp_plugins/bibles/test_manager.py (+69/-0)
summary: |
- Unable to delete web bibles + Unable to delete web bibles or more than one bible |
description: | updated |
description: | updated |
Changed in openlp: | |
importance: | Undecided → Medium |
Changed in openlp: | |
assignee: | nobody → Phill (phill-ridout) |
Changed in openlp: | |
status: | Confirmed → In Progress |
http:// bazaar. launchpad. net/~openlp- core/openlp/ trunk/view/ head:/openlp/ plugins/ bibles/ lib/manager. py#L181
bible. session. close()
change it to:
bible. session. close_all( )