Quote:
Originally Posted by sekazi
I should have tested with a complete library sync before saying fixed. After that none of the authors came over for them.
Plugging in the device now gives me the database error again.
calibre, version 5.17.0
ERROR: Error: Error communicating with device
CorruptError: database disk image is malformed
Traceback (most recent call last):
File "calibre\gui2\device.py", line 89, in run
File "calibre\gui2\device.py", line 515, in _books
File "calibre\devices\kobo\driver.py", line 1872, in books
File "calibre\devices\kobo\driver.py", line 192, in get_database_version
apsw.CorruptError: CorruptError: database disk image is malformed
|
Unfortunately, that means there is an issue with the database on the device. What caused this I don't know. The only way I know for sure that it will happen is not ejecting the device safely. The fix is to restore a recent backup of the database if you have it, or to sign out of the Kobo account on the device. This will create a new database and reload your sideloaded books.
Quote:
Trying to update metadata gives the following.
calibre, version 5.17.0
ERROR: Error: Error communicating with device
'list' object has no attribute 'set_debugging_title'
Traceback (most recent call last):
File "calibre\gui2\device.py", line 89, in run
File "calibre\gui2\device.py", line 545, in _sync_booklists
File "calibre_plugins.kobotouch_extended.device.driver" , line 493, in sync_booklists
File "calibre\devices\kobo\driver.py", line 976, in sync_booklists
File "calibre\devices\kobo\driver.py", line 2428, in update_device_database_collections
AttributeError: 'list' object has no attribute 'set_debugging_title'
|
That is because of the first error. Calibre has not been able to load the list of books from the device correctly, so any actions based on that are very likely to fail. And, even if it had, as the database is corrupt, you are likely to see other errors when writing to the database.