Register Guidelines E-Books Today's Posts Search

Go Back   MobileRead Forums > E-Book Software > Calibre

Notices

Reply
 
Thread Tools Search this Thread
Old 06-21-2021, 05:39 PM   #1
Joliet Jake
Zealot
Joliet Jake ought to be getting tired of karma fortunes by now.Joliet Jake ought to be getting tired of karma fortunes by now.Joliet Jake ought to be getting tired of karma fortunes by now.Joliet Jake ought to be getting tired of karma fortunes by now.Joliet Jake ought to be getting tired of karma fortunes by now.Joliet Jake ought to be getting tired of karma fortunes by now.Joliet Jake ought to be getting tired of karma fortunes by now.Joliet Jake ought to be getting tired of karma fortunes by now.Joliet Jake ought to be getting tired of karma fortunes by now.Joliet Jake ought to be getting tired of karma fortunes by now.Joliet Jake ought to be getting tired of karma fortunes by now.
 
Posts: 110
Karma: 3098438
Join Date: Feb 2021
Location: Canada
Device: Kobo Sage
Calibre error, cannot communicate with Kobo

This only happened to me today. Yesterday there were no issues. The Kobo is up to date. Calibre 4.23.

Error message:
Quote:
calibre, version 4.23.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 513, in _books
File "site-packages\calibre\devices\kobo\driver.py", line 1981, in books
File "site-packages\calibre\devices\kobo\driver.py", line 1852, in get_bookshelvesforbook
File "c:\t\t\apsw-w7591s5i\src\cursor.c", line 236, in resetcursor
CorruptError: CorruptError: database disk image is malformed
A bit earlier today, I was able to sideload books. They appeared in the correct collection but had no series info attached. (Normally the series name matches the collection name.) Furthermore a bunch of books disappeared, but reappeared when I reconnected the Kobo.

I am currently using Kobo Touch Extended, and wonder if I should switch back to Kobo Touch.
Joliet Jake is offline   Reply With Quote
Old 06-21-2021, 05:51 PM   #2
JSWolf
Resident Curmudgeon
JSWolf ought to be getting tired of karma fortunes by now.JSWolf ought to be getting tired of karma fortunes by now.JSWolf ought to be getting tired of karma fortunes by now.JSWolf ought to be getting tired of karma fortunes by now.JSWolf ought to be getting tired of karma fortunes by now.JSWolf ought to be getting tired of karma fortunes by now.JSWolf ought to be getting tired of karma fortunes by now.JSWolf ought to be getting tired of karma fortunes by now.JSWolf ought to be getting tired of karma fortunes by now.JSWolf ought to be getting tired of karma fortunes by now.JSWolf ought to be getting tired of karma fortunes by now.
 
JSWolf's Avatar
 
Posts: 73,976
Karma: 128903378
Join Date: Nov 2006
Location: Roslindale, Massachusetts
Device: Kobo Libra 2, Kobo Aura H2O, PRS-650, PRS-T1, nook STR, PW3
The error means that the database has been corrupted. If you have a recent backup of the database, you can copy that over the existing database.

If not, you'll have ti log out of your Kobo and log back in. That will recreate the database. You will lose everything on your Kobo and you'll have to put all of the eBooks back on. Before you do that, you can copy all of the eBooks to your computer and once the database is fixed, you can copy them back and then once the eBooks are populated in the database, you can plug your Kobo into the computer with Calibre running to fix your collections/series/metadata.
JSWolf is offline   Reply With Quote
Old 06-21-2021, 06:06 PM   #3
Joliet Jake
Zealot
Joliet Jake ought to be getting tired of karma fortunes by now.Joliet Jake ought to be getting tired of karma fortunes by now.Joliet Jake ought to be getting tired of karma fortunes by now.Joliet Jake ought to be getting tired of karma fortunes by now.Joliet Jake ought to be getting tired of karma fortunes by now.Joliet Jake ought to be getting tired of karma fortunes by now.Joliet Jake ought to be getting tired of karma fortunes by now.Joliet Jake ought to be getting tired of karma fortunes by now.Joliet Jake ought to be getting tired of karma fortunes by now.Joliet Jake ought to be getting tired of karma fortunes by now.Joliet Jake ought to be getting tired of karma fortunes by now.
 
Posts: 110
Karma: 3098438
Join Date: Feb 2021
Location: Canada
Device: Kobo Sage
Quote:
Originally Posted by JSWolf View Post
The error means that the database has been corrupted. If you have a recent backup of the database, you can copy that over the existing database.
I didn't know how to do that. It's a bit late, but not terrible. I had backed up the books about a week ago by manually coping them from the Kobo to a directory on my computer. I would still like to know how to do that with Kobo: I had effectively been using Calibre *as* the backup.

Quote:
If not, you'll have ti log out of your Kobo and log back in. That will recreate the database. You will lose everything on your Kobo and you'll have to put all of the eBooks back on. Before you do that, you can copy all of the eBooks to your computer and once the database is fixed, you can copy them back and then once the eBooks are populated in the database, you can plug your Kobo into the computer with Calibre running to fix your collections/series/metadata.
Do you mean log in while connected to Kobo Desktop?

So I tried that. I logged into Desktop, connected the Kobo, synced it, logged out. I'm still getting the same error. Also very few books disappeared.

Some poking showed me the error: I had to log out on the Kobo itself. So far the problem seems to be fixed, but there's a decent chance I lost some covers or even a few entire books. I made a manual list (ow, my wrist) of all the books on the Kobo so I'll go through the list and resend any missing books.

Last edited by Joliet Jake; 06-21-2021 at 08:50 PM.
Joliet Jake is offline   Reply With Quote
Old 06-21-2021, 08:50 PM   #4
davidfor
Grand Sorcerer
davidfor ought to be getting tired of karma fortunes by now.davidfor ought to be getting tired of karma fortunes by now.davidfor ought to be getting tired of karma fortunes by now.davidfor ought to be getting tired of karma fortunes by now.davidfor ought to be getting tired of karma fortunes by now.davidfor ought to be getting tired of karma fortunes by now.davidfor ought to be getting tired of karma fortunes by now.davidfor ought to be getting tired of karma fortunes by now.davidfor ought to be getting tired of karma fortunes by now.davidfor ought to be getting tired of karma fortunes by now.davidfor ought to be getting tired of karma fortunes by now.
 
Posts: 24,907
Karma: 47303748
Join Date: Jul 2011
Location: Sydney, Australia
Device: Kobo:Touch,Glo, AuraH2O, GloHD,AuraONE, ClaraHD, Libra H2O; tolinoepos
Quote:
Originally Posted by Joliet Jake View Post
I didn't know how to do that. It's a bit late, but not terrible. I had backed up the books about a week ago by manually coping them from the Kobo to a directory on my computer. I would still like to know how to do that with Kobo: I had effectively been using Calibre *as* the backup.

Do you mean log in while connected to Kobo Desktop?
We are not talking about the books. The Kobo devices use a database of the details in the book. When you add a book to the device, it extracts details of the book and put them in the database. When you are using the devices UI, the information displayed is from the database. The database also contains the collections, reading status and any annotations you make.

When calibre sees a Kobo device, it reads the database to get the list of books on the device. Unfortunately, the database can get corrupted and you will see an error like this. The fix for this is to sign out of the Kobo account on the device, and then sign in again. That will build a new database of the books on the device. But, you will lose the reading status, collections and annotations. If you take a backup of the database, it can be restored and you will only lose the changes made since the last backup. As you are a calibre user, you can automate the backup using my Kobo Utilities. That can be set to make a backup of the database each time the device is connected.

Unfortunately, the database can become corrupted. One way is to not safely eject the device from the PC. Depending on what is happening, this can lead to a corrupt database. There are almost definitely other ways for the database corruption to happen, but, I do not know what they are.
Quote:
So I tried that. I logged into Desktop, connected the Kobo, synced it, logged out. I'm still getting the same error. Also very few books disappeared.
Did you connect the device while using the Kobo desktop application? If so, I would have expected an error or a prompt to do the setup. That would rebuild the database.
davidfor is offline   Reply With Quote
Old 06-21-2021, 09:39 PM   #5
Joliet Jake
Zealot
Joliet Jake ought to be getting tired of karma fortunes by now.Joliet Jake ought to be getting tired of karma fortunes by now.Joliet Jake ought to be getting tired of karma fortunes by now.Joliet Jake ought to be getting tired of karma fortunes by now.Joliet Jake ought to be getting tired of karma fortunes by now.Joliet Jake ought to be getting tired of karma fortunes by now.Joliet Jake ought to be getting tired of karma fortunes by now.Joliet Jake ought to be getting tired of karma fortunes by now.Joliet Jake ought to be getting tired of karma fortunes by now.Joliet Jake ought to be getting tired of karma fortunes by now.Joliet Jake ought to be getting tired of karma fortunes by now.
 
Posts: 110
Karma: 3098438
Join Date: Feb 2021
Location: Canada
Device: Kobo Sage
As noted above, I was able to fix the issue. I didn't get it to work with Kobo Desktop, but I signed out on the physical Kobo and signed back in.

I didn't know I could use Kobo Utilities and Kobo Touch (Extended) at the same time, so now I'm going to back up the database regularly that way. (Previously I had just backed up the library.)
Joliet Jake is offline   Reply With Quote
Reply


Forum Jump

Similar Threads
Thread Thread Starter Forum Replies Last Post
Calibre won't communicate with Kobo goldeneyeb Devices 2 10-25-2019 01:46 PM
Failed to communicate with interface error on ubuntu server username0504 Server 2 08-29-2018 09:56 PM
Failed to communicate with "/interface-data/init? Network Error? bcantrell Devices 3 01-31-2018 10:38 AM
Arc Kobo ARc does not communicate with PC arlette Kobo Tablets 23 08-10-2013 08:42 AM
Error: Cannot Communicate With Device EdGein Library Management 1 07-11-2012 06:48 AM


All times are GMT -4. The time now is 02:01 PM.


MobileRead.com is a privately owned, operated and funded community.