View Single Post
Old 08-17-2020, 11:13 AM   #8
codychan
Groupie
codychan has much to be proud ofcodychan has much to be proud ofcodychan has much to be proud ofcodychan has much to be proud ofcodychan has much to be proud ofcodychan has much to be proud ofcodychan has much to be proud ofcodychan has much to be proud ofcodychan has much to be proud ofcodychan has much to be proud ofcodychan has much to be proud of
 
codychan's Avatar
 
Posts: 153
Karma: 27950
Join Date: Nov 2018
Device: Kobo Aura One, Kobo Forma
Any updates? calibre suddenly couldn't connect to my Kobo device after I installed the latest version of firmware(Kobo Firmware 4.23.15505) days ago.

Here is the error message when trying to connect:

```
calibre, version 4.22.0
ERROR: Error: Error communicating with device

CorruptError: database disk image is malformed

Traceback (most recent call last):
File "site-packages\calibre\gui2\device.py", line 90, in run
File "site-packages\calibre\gui2\device.py", line 543, in _sync_booklists
File "calibre_plugins.kobotouch_extended.device.driver" , line 483, in sync_booklists
File "site-packages\calibre\devices\kobo\driver.py", line 970, in sync_booklists
File "site-packages\calibre\devices\kobo\driver.py", line 2485, in update_device_database_collections
File "site-packages\calibre\devices\kobo\driver.py", line 2973, in set_bookshelf
File "c:\t\t\apsw-47cp24d7\src\cursor.c", line 236, in resetcursor
CorruptError: CorruptError: database disk image is malformed

```

And it failed to backup my database too since it failed to connect:

```
On tree page 425139 cell 61: 2nd reference to page 396348
row 2309 missing from index shelfcontent_datemodified_index
row 2309 missing from index sqlite_autoindex_ShelfContent_1
wrong # of entries in index shelfcontent_datemodified_index
wrong # of entries in index sqlite_autoindex_ShelfContent_1

Traceback (most recent call last):
File "site-packages\calibre\gui2\device.py", line 90, in run
File "calibre_plugins.koboutilities.jobs", line 197, in do_device_database_backup
Exception:
*** in database main ***
On tree page 425139 cell 61: 2nd reference to page 396348
row 2309 missing from index shelfcontent_datemodified_index
row 2309 missing from index sqlite_autoindex_ShelfContent_1
wrong # of entries in index shelfcontent_datemodified_index
wrong # of entries in index sqlite_autoindex_ShelfContent_1
```


BUT it actually successfully sent books to my Kobo Forma.

Last edited by codychan; 08-17-2020 at 11:20 AM.
codychan is offline   Reply With Quote