Register Guidelines E-Books Search Today's Posts Mark Forums Read

Go Back   MobileRead Forums > E-Book Software > Calibre > Devices

Notices

Reply
 
Thread Tools Search this Thread
Old 12-20-2024, 01:35 AM   #1
MsWoodhouse
Non-techie Newbie
MsWoodhouse began at the beginning.
 
Posts: 8
Karma: 10
Join Date: Dec 2024
Device: Kobo
Kobo Libra Colour - Error I don't understand

I have my Calibre on my iMac, and have been using my Kobo Libra Colour happily for a few months.

Last night I started getting this message, it seemed to coincide (but I can't be sure) with setting up the News fetching feature of Calibre, which I knew about but have never utilized before.

Now when I connect my Kobo to my iMac, I get this error:

Code:
calibre, version 7.23.0
ERROR: Error: Error communicating with device

CorruptError: database disk image is malformed

Traceback (most recent call last):
  File "calibre/gui2/device.py", line 112, in run
  File "calibre/gui2/device.py", line 566, in _books
  File "calibre/devices/kobo/driver.py", line 2075, in books
  File "src/cursor.c", line 240, in resetcursor
apsw.CorruptError: CorruptError: database disk image is malformed
It DOES seem to connect okay and I can upload books, but it's resetting them - as in, I was reading a novel on my Kobo and noticed that after the last sync with my iMac, my novel was back to the cover page instead of where I left off (but all my highlights were still there).

Anyone know what this error is and why I'm getting it?

Thanks!
MsWoodhouse is offline   Reply With Quote
Old 12-20-2024, 01:46 AM   #2
MsWoodhouse
Non-techie Newbie
MsWoodhouse began at the beginning.
 
Posts: 8
Karma: 10
Join Date: Dec 2024
Device: Kobo
UPDATE - I just plugged my Kobo into my iMac and Calibre, and was just moving books around in Calibre, and when I ejected my device....

...all my books are gone. The Kobo is totally empty. I have no idea why.

PLEASE does anyone know what happened?
MsWoodhouse is offline   Reply With Quote
Advert
Old 12-20-2024, 01:56 AM   #3
MsWoodhouse
Non-techie Newbie
MsWoodhouse began at the beginning.
 
Posts: 8
Karma: 10
Join Date: Dec 2024
Device: Kobo
Third update - I downloaded the version of Calibre just prior to the the one that just came out today (7.22), and removed all news subscriptions, and it immediately automatically put all the books back on, but lost ALL my notations. I'm so frustrated. I had just carefully been highlighting the novel I was reading, and now I'm back at zero.

(I don't understand why notations and bookmarks don't sync to Calibre, I will never get why that isn't included - if you lose your machine or get a new one, all those bookmarks and highlights are just gone).
MsWoodhouse is offline   Reply With Quote
Old 12-20-2024, 02:00 AM   #4
MsWoodhouse
Non-techie Newbie
MsWoodhouse began at the beginning.
 
Posts: 8
Karma: 10
Join Date: Dec 2024
Device: Kobo
My novel has been ruined - the table of content are gone, replaced with some list of HTML files.

So apparently downloading the new Calibre has broken my books, my database, everything.

Getting the same error:

calibre, version 7.22.0
ERROR: Error: Error communicating with device

CorruptError: database disk image is malformed

Traceback (most recent call last):
File "calibre/gui2/device.py", line 112, in run
File "calibre/gui2/device.py", line 566, in _books
File "calibre/devices/kobo/driver.py", line 2075, in books
File "src/cursor.c", line 240, in resetcursor
apsw.CorruptError: CorruptError: database disk image is malformed
MsWoodhouse is offline   Reply With Quote
Old 12-20-2024, 06:26 AM   #5
Bookstooge
Member Retired
Bookstooge ought to be getting tired of karma fortunes by now.Bookstooge ought to be getting tired of karma fortunes by now.Bookstooge ought to be getting tired of karma fortunes by now.Bookstooge ought to be getting tired of karma fortunes by now.Bookstooge ought to be getting tired of karma fortunes by now.Bookstooge ought to be getting tired of karma fortunes by now.Bookstooge ought to be getting tired of karma fortunes by now.Bookstooge ought to be getting tired of karma fortunes by now.Bookstooge ought to be getting tired of karma fortunes by now.Bookstooge ought to be getting tired of karma fortunes by now.Bookstooge ought to be getting tired of karma fortunes by now.
 
Posts: 805
Karma: 2091358
Join Date: May 2019
Device: Kindle Oasis 1st Gen, PB Era
This is why I never plan on buying a kobo. Their database corrupts at the drop of a hat and you have to sign out of your account, then back in.
Bookstooge is offline   Reply With Quote
Advert
Old 12-20-2024, 07:14 AM   #6
theducks
Well trained by Cats
theducks ought to be getting tired of karma fortunes by now.theducks ought to be getting tired of karma fortunes by now.theducks ought to be getting tired of karma fortunes by now.theducks ought to be getting tired of karma fortunes by now.theducks ought to be getting tired of karma fortunes by now.theducks ought to be getting tired of karma fortunes by now.theducks ought to be getting tired of karma fortunes by now.theducks ought to be getting tired of karma fortunes by now.theducks ought to be getting tired of karma fortunes by now.theducks ought to be getting tired of karma fortunes by now.theducks ought to be getting tired of karma fortunes by now.
 
theducks's Avatar
 
Posts: 30,757
Karma: 59473090
Join Date: Aug 2009
Location: The Central Coast of California
Device: Kobo Libra2,Kobo Aura2v1, K4NT(Fixed: New Bat.), Galaxy Tab A
Quote:
Originally Posted by Bookstooge View Post
This is why I never plan on buying a kobo. Their database corrupts at the drop of a hat and you have to sign out of your account, then back in.
Sorry, but there have only been a couple of Kobo FW releases in the years I have had my Kobos. We believe those were tied to how Kobo handled USB disconnects.
I have 2 Kobo's. My Libra2 is my daily driver and I USB connect many times a week. Other that that FW issue ... No resets needed (I also use the DB backup tools in Kobo Utilities and have used it a time or two when I failed to pay attention to the connected status and did an Oh S... USB pull)

OTOH There are a few 'Best Practices' (and these apply to many USB devices), that reduce these issues to almost zero.
1) Do almost all USB connection activities STARTING from the bookshelf screen (no book open).

2)Wait for the OS to say it is OK to disconnect the cable. (Many OS buffer data transfers to give the user the illusion of fast)

2) Wait for the Kobo Screen to return (after Processing) to the cover view screen before pulling the plug. (lets the background stuff settle before dealling with a USB plug pull signal)
theducks is offline   Reply With Quote
Old 12-20-2024, 07:31 AM   #7
chaley
Grand Sorcerer
chaley ought to be getting tired of karma fortunes by now.chaley ought to be getting tired of karma fortunes by now.chaley ought to be getting tired of karma fortunes by now.chaley ought to be getting tired of karma fortunes by now.chaley ought to be getting tired of karma fortunes by now.chaley ought to be getting tired of karma fortunes by now.chaley ought to be getting tired of karma fortunes by now.chaley ought to be getting tired of karma fortunes by now.chaley ought to be getting tired of karma fortunes by now.chaley ought to be getting tired of karma fortunes by now.chaley ought to be getting tired of karma fortunes by now.
 
Posts: 12,266
Karma: 7955525
Join Date: Jan 2010
Location: Notts, England
Device: Kobo Libra 2
FWIW: in our almost 3 years using our two Libra 2s we haven't had a single database corruption. From the beginning I have connected from the home screen, used "eject" from calibre, waited for Windows to tell me it was safe, and waited for the import to finish. I don't use anything fancy such as NickelMenu.

I've used every release of calibre, and often versions of calibre that were never released. I've used test versions of the Kobo driver (I don't use Extended) with complex collection definition templates. Kobo Utilities handles both my and my wife's kobo, doing backups and syncing reading location, percent read, and date read.

My Libra 2 has been incredibly reliable. I wouldn't hesitate for a moment to get another Kobo.
chaley is offline   Reply With Quote
Old 12-20-2024, 07:46 AM   #8
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: 78,386
Karma: 142887248
Join Date: Nov 2006
Location: Roslindale, Massachusetts
Device: Kobo Libra 2, Kobo Aura H2O, PRS-650, PRS-T1, nook STR, PW3
Quote:
Originally Posted by MsWoodhouse View Post
My novel has been ruined - the table of content are gone, replaced with some list of HTML files.

So apparently downloading the new Calibre has broken my books, my database, everything.

Getting the same error:

calibre, version 7.22.0
ERROR: Error: Error communicating with device

CorruptError: database disk image is malformed

Traceback (most recent call last):
File "calibre/gui2/device.py", line 112, in run
File "calibre/gui2/device.py", line 566, in _books
File "calibre/devices/kobo/driver.py", line 2075, in books
File "src/cursor.c", line 240, in resetcursor
apsw.CorruptError: CorruptError: database disk image is malformed
What I do to be safe is I use calibre with Kobo Utilities. I have Kobo Utilities backup the database. So if it was to become corrupt for some reason, I can restore the latest backup. I only once had a problem that was user error.

Are you making sure you properly eject your Kobo? Before I connect to the computer, I go to the home screen. I then connect. When I eject, I wait until I am back at the home screen after the importing is done (If I am adding books).

I agree 100% with @chaley. I've had a Kobo since The end of November 2014 and I find them to be highly reliable.

Last edited by JSWolf; 12-20-2024 at 07:49 AM.
JSWolf is offline   Reply With Quote
Old 12-20-2024, 09:35 AM   #9
Sirtel
Grand Sorcerer
Sirtel ought to be getting tired of karma fortunes by now.Sirtel ought to be getting tired of karma fortunes by now.Sirtel ought to be getting tired of karma fortunes by now.Sirtel ought to be getting tired of karma fortunes by now.Sirtel ought to be getting tired of karma fortunes by now.Sirtel ought to be getting tired of karma fortunes by now.Sirtel ought to be getting tired of karma fortunes by now.Sirtel ought to be getting tired of karma fortunes by now.Sirtel ought to be getting tired of karma fortunes by now.Sirtel ought to be getting tired of karma fortunes by now.Sirtel ought to be getting tired of karma fortunes by now.
 
Sirtel's Avatar
 
Posts: 12,757
Karma: 236462758
Join Date: Jan 2014
Location: Estonia
Device: Kobo Sage & Libra 2
Quote:
Originally Posted by Bookstooge View Post
This is why I never plan on buying a kobo. Their database corrupts at the drop of a hat and you have to sign out of your account, then back in.
Never have had any database corruptions with 3 different Kobo models in 5 years.

But yes, Kobos do seem to have more bugs than Kindles. I expect it's the result of their open OS - Amazon keeps a lot tighter control over their devices and severely limits things users can do. This is also the reason I don't plan on buying another Kindle. I find Kindles too limiting after using Kobo readers.

YMMV.
Sirtel is offline   Reply With Quote
Old 12-20-2024, 05:21 PM   #10
MsWoodhouse
Non-techie Newbie
MsWoodhouse began at the beginning.
 
Posts: 8
Karma: 10
Join Date: Dec 2024
Device: Kobo
Okay so there's a lot of discussion about Kobo's being difficult, but does anyone know what actually happened or how I can avoid it happening again? Why did it happen right after I started using Calibre news Fetch?
MsWoodhouse is offline   Reply With Quote
Old 12-20-2024, 05:23 PM   #11
MsWoodhouse
Non-techie Newbie
MsWoodhouse began at the beginning.
 
Posts: 8
Karma: 10
Join Date: Dec 2024
Device: Kobo
Quote:
Originally Posted by JSWolf View Post
What I do to be safe is I use calibre with Kobo Utilities. I have Kobo Utilities backup the database. So if it was to become corrupt for some reason, I can restore the latest backup. I only once had a problem that was user error.

Are you making sure you properly eject your Kobo? Before I connect to the computer, I go to the home screen. I then connect. When I eject, I wait until I am back at the home screen after the importing is done (If I am adding books).
I didn't know most of this, so no - I haven't been careful about what screen the Kobo is on when I connect, though I do use the "eject device" function in Calibre and am careful to wait until that's completed and not just yank it off the cord.

Am downloading Kobo Utilities now.
MsWoodhouse is offline   Reply With Quote
Old 12-20-2024, 07:17 PM   #12
Bookstooge
Member Retired
Bookstooge ought to be getting tired of karma fortunes by now.Bookstooge ought to be getting tired of karma fortunes by now.Bookstooge ought to be getting tired of karma fortunes by now.Bookstooge ought to be getting tired of karma fortunes by now.Bookstooge ought to be getting tired of karma fortunes by now.Bookstooge ought to be getting tired of karma fortunes by now.Bookstooge ought to be getting tired of karma fortunes by now.Bookstooge ought to be getting tired of karma fortunes by now.Bookstooge ought to be getting tired of karma fortunes by now.Bookstooge ought to be getting tired of karma fortunes by now.Bookstooge ought to be getting tired of karma fortunes by now.
 
Posts: 805
Karma: 2091358
Join Date: May 2019
Device: Kindle Oasis 1st Gen, PB Era
Quote:
Originally Posted by Sirtel View Post
Never have had any database corruptions with 3 different Kobo models in 5 years.

But yes, Kobos do seem to have more bugs than Kindles. I expect it's the result of their open OS - Amazon keeps a lot tighter control over their devices and severely limits things users can do. This is also the reason I don't plan on buying another Kindle. I find Kindles too limiting after using Kobo readers.

YMMV.
All I know is that I see kobo database corruption posts on a weekly and monthly basis here at Mobilereads. While I'm not recommending kindles any more, I NEVER had a problem with my oasis in the 7'ish years I used it? Not once.
Bookstooge is offline   Reply With Quote
Old 12-20-2024, 07:25 PM   #13
Sirtel
Grand Sorcerer
Sirtel ought to be getting tired of karma fortunes by now.Sirtel ought to be getting tired of karma fortunes by now.Sirtel ought to be getting tired of karma fortunes by now.Sirtel ought to be getting tired of karma fortunes by now.Sirtel ought to be getting tired of karma fortunes by now.Sirtel ought to be getting tired of karma fortunes by now.Sirtel ought to be getting tired of karma fortunes by now.Sirtel ought to be getting tired of karma fortunes by now.Sirtel ought to be getting tired of karma fortunes by now.Sirtel ought to be getting tired of karma fortunes by now.Sirtel ought to be getting tired of karma fortunes by now.
 
Sirtel's Avatar
 
Posts: 12,757
Karma: 236462758
Join Date: Jan 2014
Location: Estonia
Device: Kobo Sage & Libra 2
Quote:
Originally Posted by Bookstooge View Post
All I know is that I see kobo database corruption posts on a weekly and monthly basis here at Mobilereads. While I'm not recommending kindles any more, I NEVER had a problem with my oasis in the 7'ish years I used it? Not once.
Yes, it can happen, but not to everyone and not on a regular basis. Those posters are a small part of the general user base.

Kindles are certainly more stable, but also more limited.
Sirtel is offline   Reply With Quote
Old 12-21-2024, 02:28 AM   #14
MsWoodhouse
Non-techie Newbie
MsWoodhouse began at the beginning.
 
Posts: 8
Karma: 10
Join Date: Dec 2024
Device: Kobo
Is database corruption what even happened here? This thread started with my question which has never been answered. Help? Anyone? I STILL have no idea what happened to my Kobo.
MsWoodhouse is offline   Reply With Quote
Old 12-21-2024, 05:23 AM   #15
chaley
Grand Sorcerer
chaley ought to be getting tired of karma fortunes by now.chaley ought to be getting tired of karma fortunes by now.chaley ought to be getting tired of karma fortunes by now.chaley ought to be getting tired of karma fortunes by now.chaley ought to be getting tired of karma fortunes by now.chaley ought to be getting tired of karma fortunes by now.chaley ought to be getting tired of karma fortunes by now.chaley ought to be getting tired of karma fortunes by now.chaley ought to be getting tired of karma fortunes by now.chaley ought to be getting tired of karma fortunes by now.chaley ought to be getting tired of karma fortunes by now.
 
Posts: 12,266
Karma: 7955525
Join Date: Jan 2010
Location: Notts, England
Device: Kobo Libra 2
Talking

Quote:
Originally Posted by MsWoodhouse View Post
Is database corruption what even happened here? This thread started with my question which has never been answered. Help? Anyone? I STILL have no idea what happened to my Kobo.
Yes. Your first post contains
Code:
apsw.CorruptError: CorruptError: database disk image is malformed
Something, probably a disconnect without waiting for things to stabilize, corrupted the kobo database. The problem is almost certainly not caused by calibre. No one can say with certainly what caused it because we weren't there watching when it happened.
chaley is offline   Reply With Quote
Reply

Thread Tools Search this Thread
Search this Thread:

Advanced Search

Forum Jump

Similar Threads
Thread Thread Starter Forum Replies Last Post
Kobo Libra Colour and cover pypeke Kobo Reader 36 02-20-2025 06:26 PM
Kobo Libra Colour - Error communicating with device Evil Overlord Devices 4 12-17-2024 08:32 AM
Kobo Libra Colour sync books from Google Drive to Kobo Web Reader gotis Kobo Reader 3 11-30-2024 07:49 PM
Kobo Libra Colour and Calibre khalleron Kobo Reader 2 05-04-2024 01:29 AM
[Kobo] Numbers that I don't understand Grenade Devices 5 03-05-2022 08:30 PM


All times are GMT -4. The time now is 04:08 AM.


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