Comment 4 for bug 882163

Revision history for this message
Ngassam Nkwenga (cyrildz) wrote :

I stopped the Repairing tool since it last too long , I launched Calibre again, it shows the same message , from this I see that Database is locked. here are the details :

Traceback (most recent call last):
  File "/usr/lib/calibre/calibre/gui2/main.py", line 215, in initialize_db
    db = LibraryDatabase2(self.library_path)
  File "/usr/lib/calibre/calibre/library/database2.py", line 212, in __init__
    self.initialize_dynamic()
  File "/usr/lib/calibre/calibre/library/database2.py", line 328, in initialize_dynamic
    '''.format(_('News')))
  File "/usr/lib/calibre/calibre/library/sqlite.py", line 308, in run
    raise DatabaseException(*res)
DatabaseException: database is locked
 RemoteTraceback (most recent call last):
   File "/usr/lib/calibre/calibre/library/sqlite.py", line 268, in run
     ok, res = True, bfunc(*args, **kwargs)
 OperationalError: database is locked