1.0.0: LockingError: can't downgrade SHLock object

Bug #1216220 reported by Wolfgang Weiler
6
This bug affects 1 person
Affects Status Importance Assigned to Milestone
calibre
Fix Released
Undecided
Unassigned

Bug Description

New Error while downloading RSS

calibre, version 1.0.0
FEHLER: Nicht abgefangener Fehler: <b>LockingError</b>:can't downgrade SHLock object

calibre 1.0 isfrozen: True is64bit: False
Windows-XP-5.1.2600-SP3 Windows ('32bit', 'WindowsPE')
('Windows', 'XP', '5.1.2600')
Python 2.7.4
Windows: ('XP', '5.1.2600', 'SP3', 'Multiprocessor Free')
Traceback (most recent call last):
  File "site-packages\calibre\gui2\library\models.py", line 941, in data
  File "site-packages\calibre\gui2\library\models.py", line 702, in func
  File "site-packages\calibre\db\cache.py", line 54, in ans
  File "site-packages\calibre\db\locking.py", line 212, in __enter__
  File "site-packages\calibre\db\locking.py", line 83, in acquire
  File "site-packages\calibre\db\locking.py", line 153, in _acquire_shared
LockingError: can't downgrade SHLock object

Revision history for this message
Kovid Goyal (kovid) wrote : Re: calibre bug 1216220

I am going to need more information, as I cannot replicate this error.
Do the following steps in calibre 1.0

1) Go to Preferences->Tweaks and click the Plugin Tweaks button in the
bottom left corner
2) Enter the following in Plugin Tweaks
newdb_debug_locking = True
3) Now right click the preferences button and restart calibre in debug
mode
4) Post the debug log after reproducing this error

 status incomplete

Changed in calibre:
status: New → Incomplete
Revision history for this message
Steven Smith (s-t-smith) wrote :

+1

Revision history for this message
Kovid Goyal (kovid) wrote :

Still waiting for the debug log.

Revision history for this message
Wolfgang Weiler (email-q) wrote : Re: [Bug 1216220] Re: 1.0.0: LockingError: can't downgrade SHLock object

Hi,

I've made a downgrade to 0,9x. When I've more time, I'll upgrade and
send the logfile.

W.

> W***Bitte prüfen Sie, ob diese Mail wirklich gelesen werden muss!*

Am 26.08.2013 16:35, schrieb Kovid Goyal:
> Still waiting for the debug log.
>

--
Mfg

Wolfgang Weiler
____________________________________________________________________
Für eine sichere Kommunikation: www.PGP.com
Meinen öffentlichen Key sende ich gerne zu.
Auf den PGP Keyservern ist er ebenfalls vorhanden.

Revision history for this message
Tom Raftery (a-tom-v) wrote :

I'm having this error as well.

Unfortunately I can't turn on Debug because the error just keeps coming up. The only way out is to Force Quit the app.

Revision history for this message
Kovid Goyal (kovid) wrote : Re: calibre bug 1216220

You can also enable debugging on OS X by editing the file

~/Library/Preferences/calibre/tweaks.py

and adding

newdb_debug_locking = True

at the bottom of the file.

Revision history for this message
Kovid Goyal (kovid) wrote :

@Tom: In your case I'd guess the problem is almost certainly caused by
the DRM removal plugin you have installed which is popping up an error
message in the middle of a file add -- something it should never do.

Revision history for this message
Tom Raftery (a-tom-v) wrote :

@Kovid,

Correct. I updated the DRM Removal tool (DeDRM plugin), and the error went away.

Now I'm back up to version 1.1 again - thanks!

Revision history for this message
Wolfgang Weiler (email-q) wrote :

@Kovid,

yesterday I upgraded to the new version 1.1, today there was no problem while downloading rss news.

w.

Kovid Goyal (kovid)
Changed in calibre:
status: Incomplete → Fix Released
To post a comment you must log in.
This report contains Public information  
Everyone can see this information.

Other bug subscribers

Remote bug watches

Bug watches keep track of this bug in other bug trackers.