View Single Post
Old 08-04-2013, 03:46 PM   #111
johnwhelan
Zealot
johnwhelan ought to be getting tired of karma fortunes by now.johnwhelan ought to be getting tired of karma fortunes by now.johnwhelan ought to be getting tired of karma fortunes by now.johnwhelan ought to be getting tired of karma fortunes by now.johnwhelan ought to be getting tired of karma fortunes by now.johnwhelan ought to be getting tired of karma fortunes by now.johnwhelan ought to be getting tired of karma fortunes by now.johnwhelan ought to be getting tired of karma fortunes by now.johnwhelan ought to be getting tired of karma fortunes by now.johnwhelan ought to be getting tired of karma fortunes by now.johnwhelan ought to be getting tired of karma fortunes by now.
 
Posts: 117
Karma: 475752
Join Date: Jan 2009
Device: Kobo Touch, Cybook Gen 3, Google Nexus7, LG V20, Kobo Clara HD
Quote:
Originally Posted by kovidgoyal View Post
@johnwhelan: What exactly were you doing when this happened. Simply deleting a book doesn't seem to cause it. Also anything out of the ordinary about your library?
I run Calibre in two Windows accounts with different books in the libraries.

I'm running win 7 64 bit, with windows update the second account has 2,100 books the first 1,000+books.

On both accounts I searched for an author first then wishing to bring in an updated book I attempted to delete the book first.

switching to the second account the second account gives:
calibre, version 0.9.42
ERROR: Unhandled exception: <b>LockingError</b>:can't downgrade SHLock object

Traceback (most recent call last):
File "site-packages\calibre\gui2\library\models.py", line 932, in data
File "site-packages\calibre\gui2\library\models.py", line 685, in func
File "site-packages\calibre\db\cache.py", line 54, in ans
File "site-packages\calibre\db\locking.py", line 208, in __enter__
File "site-packages\calibre\db\locking.py", line 79, in acquire
File "site-packages\calibre\db\locking.py", line 149, in _acquire_shared
LockingError: can't downgrade SHLock object

switching back to the original database format I can delete and replace the book.

Only one copy of Calibre was running at the time. Hope that helps.

Cheerio John
johnwhelan is offline   Reply With Quote