Web download bible db's getting locked
Affects | Status | Importance | Assigned to | Milestone | ||
---|---|---|---|---|---|---|
OpenLP | Status tracked in Trunk | |||||
2.0 |
Fix Released
|
High
|
Raoul Snyman | |||
Trunk |
Fix Released
|
Low
|
Samuel Mehrbrodt |
Bug Description
See: http://
The user had 8 bibles, and when trying to download some verses (to an already registered web bible) the user recieved a traceback stating that the database was locked.
OperationalError: (OperationalError) database is locked u'INSERT INTO verse (book_id, chapter, verse, text) VALUES (?, ?, ?, ?)' (24, 17, 1, u'"The sin of Judah is inscribed with an iron chisel - engraved with a diamond point on their stony hearts and on the corners of their altars.')
The user found that removing some of the other bibles he could download new verses to the web bible.
I have been unable to recreate the error.
--- Exception Traceback ---
Traceback (most recent call last):
File "D:\OpenLP_
File "D:\OpenLP_
File "D:\OpenLP_
File "D:\OpenLP_
File "C:\Program Files (x86)\OpenLP\
File "C:\Program Files (x86)\OpenLP\
File "C:\Program Files (x86)\OpenLP\
File "C:\Program Files (x86)\OpenLP\
File "C:\Program Files (x86)\OpenLP\
File "C:\Program Files (x86)\OpenLP\
File "C:\Program Files (x86)\OpenLP\
File "C:\Program Files (x86)\OpenLP\
File "C:\Program Files (x86)\OpenLP\
File "C:\Program Files (x86)\OpenLP\
File "C:\Program Files (x86)\OpenLP\
File "C:\Program Files (x86)\OpenLP\
File "C:\Program Files (x86)\OpenLP\
File "C:\Program Files (x86)\OpenLP\
File "C:\Program Files (x86)\OpenLP\
OperationalError: (OperationalError) database is locked u'INSERT INTO verse (book_id, chapter, verse, text) VALUES (?, ?, ?, ?)' (24, 17, 1, u'"The sin of Judah is inscribed with an iron chisel - engraved with a diamond point on their stony hearts and on the corners of their altars.')
Related branches
- Andreas Preikschat (community): Approve
- Phill: Pending requested
- Tim Bentley: Pending requested
-
Diff: 46 lines (+10/-2)1 file modifiedopenlp/plugins/bibles/lib/db.py (+10/-2)
- Raoul Snyman: Approve
- Tim Bentley: Approve
-
Diff: 90 lines (+64/-1)2 files modifiedopenlp/plugins/bibles/lib/db.py (+8/-1)
tests/functional/openlp_plugins/songs/test_zionworximport.py (+56/-0)
This has been reported several times since, however, I now think that it may be just a coincidence with regards to the number of bibles.
http:// support. openlp. org/issues/ 1919 support. openlp. org/issues/ 1927 support. openlp. org/issues/ 1871
http://
http://