View Single Post
Old 05-11-2022, 10:35 PM   #2465
vsviridov
Junior Member
vsviridov began at the beginning.
 
Posts: 3
Karma: 10
Join Date: Mar 2011
Device: Sony PRS-350
Failed to backup database error

Hello, I've recently started getting a following error when syncing my Kobo devices:

One one device I get this error:
Code:
calibre, version 5.42.0 (win32, embedded-python: True)
Failed to backup device database: Failed: Backing up Kobo device database


*** in database main ***
On tree page 7218 cell 0: Rowid 5538 out of order
On tree page 20 cell 0: 2nd reference to page 7184
Page 7145 is never used
NULL value in content.___UserID
row 2481 missing from index content_bookid_index
row 2481 missing from index sqlite_autoindex_content_1
wrong # of entries in index content_bookid_index
wrong # of entries in index sqlite_autoindex_content_1
row 25 missing from index sqlite_autoindex_Achievement_1
wrong # of entries in index sqlite_autoindex_Achievement_1

Traceback (most recent call last):
  File "calibre\gui2\device.py", line 87, in run
  File "calibre_plugins.koboutilities.jobs", line 218, in do_device_database_backup
Exception: 
*** in database main ***
On tree page 7218 cell 0: Rowid 5538 out of order
On tree page 20 cell 0: 2nd reference to page 7184
Page 7145 is never used
NULL value in content.___UserID
row 2481 missing from index content_bookid_index
row 2481 missing from index sqlite_autoindex_content_1
wrong # of entries in index content_bookid_index
wrong # of entries in index sqlite_autoindex_content_1
row 25 missing from index sqlite_autoindex_Achievement_1
wrong # of entries in index sqlite_autoindex_Achievement_1
on another - this:

Code:
[Errno 13] Permission denied

Traceback (most recent call last):
  File "calibre\gui2\device.py", line 87, in run
  File "calibre_plugins.koboutilities.jobs", line 199, in do_device_database_backup
  File "shutil.py", line 279, in copyfile
  File "shutil.py", line 185, in _copyfileobj_readinto
PermissionError: [Errno 13] Permission denied
I can still send books over and edit metadata and all that, but I do get an error message every time I connect.

I've latest Calibre (5.42) and latest version of the plugin (2.16.0)
vsviridov is offline   Reply With Quote