marcus-crane / october

A simple GUI for retrieving Kobo highlights and syncing them with Readwise
https://october.utf9k.net
MIT License
162 stars 10 forks source link

Kobo Libra Color - Database disk image is malformed #124

Open WilliamK6 opened 4 months ago

WilliamK6 commented 4 months ago

Hi Marcus!

October Version: Model: Kobo Libra Color Error: There was a problem sending your highlights: database disk image is malformed (11) Readwise access token: Set Upload highlights from store-bought books: Check (even when unchecked, same issue).

The app does not manage to establish a proper connection with the Kobo eReader. See screenshots bellow. Thank you for your assistance and your useful software!

image image

Here are the logs:

{"level":"info","msg":"Logger should be initialised now","time":"2024-05-05T22:28:35+02:00"} {"level":"info","msg":"Backend is about to start up","time":"2024-05-05T22:28:35+02:00"} {"kobos_found":1,"level":"info","msg":"Detected one or more Kobos","time":"2024-05-05T22:28:35+02:00"} {"device_id":"00000000-0000-0000-0000-000000000390","level":"info","msg":"Found an attached device","time":"2024-05-05T22:28:35+02:00"} {"device_id":"00000000-0000-0000-0000-000000000390","level":"warning","msg":"Found a device that isn't officially supported but will likely still operate just fine","time":"2024-05-05T22:28:35+02:00"} {"kobos_found":1,"level":"info","msg":"Detected one or more Kobos","time":"2024-05-05T22:28:35+02:00"} {"device_id":"00000000-0000-0000-0000-000000000390","level":"info","msg":"Found an attached device","time":"2024-05-05T22:28:35+02:00"} {"device_id":"00000000-0000-0000-0000-000000000390","level":"warning","msg":"Found a device that isn't officially supported but will likely still operate just fine","time":"2024-05-05T22:28:35+02:00"} {"error":"database disk image is malformed (11)","level":"error","msg":"Failed to count bookmarks on device","time":"2024-05-05T22:28:37+02:00"} {"error":"database disk image is malformed (11)","level":"error","msg":"Failed to count bookmarks on device","time":"2024-05-05T22:28:37+02:00"} {"error":"database disk image is malformed (11)","level":"error","msg":"Failed to retrieve content from device","time":"2024-05-05T22:28:38+02:00"} {"kobos_found":1,"level":"info","msg":"Detected one or more Kobos","time":"2024-05-05T22:28:54+02:00"} {"device_id":"00000000-0000-0000-0000-000000000390","level":"info","msg":"Found an attached device","time":"2024-05-05T22:28:54+02:00"} {"device_id":"00000000-0000-0000-0000-000000000390","level":"warning","msg":"Found a device that isn't officially supported but will likely still operate just fine","time":"2024-05-05T22:28:54+02:00"} {"kobos_found":1,"level":"info","msg":"Detected one or more Kobos","time":"2024-05-05T22:28:54+02:00"} {"device_id":"00000000-0000-0000-0000-000000000390","level":"info","msg":"Found an attached device","time":"2024-05-05T22:28:54+02:00"} {"device_id":"00000000-0000-0000-0000-000000000390","level":"warning","msg":"Found a device that isn't officially supported but will likely still operate just fine","time":"2024-05-05T22:28:54+02:00"} {"error":"database disk image is malformed (11)","level":"error","msg":"Failed to count bookmarks on device","time":"2024-05-05T22:29:18+02:00"} {"error":"database disk image is malformed (11)","level":"error","msg":"Failed to count bookmarks on device","time":"2024-05-05T22:29:18+02:00"} {"error":"database disk image is malformed (11)","level":"error","msg":"Failed to retrieve content from device","time":"2024-05-05T22:29:26+02:00"} {"kobos_found":1,"level":"info","msg":"Detected one or more Kobos","time":"2024-05-05T22:29:28+02:00"} {"device_id":"00000000-0000-0000-0000-000000000390","level":"info","msg":"Found an attached device","time":"2024-05-05T22:29:28+02:00"} {"device_id":"00000000-0000-0000-0000-000000000390","level":"warning","msg":"Found a device that isn't officially supported but will likely still operate just fine","time":"2024-05-05T22:29:28+02:00"} {"kobos_found":1,"level":"info","msg":"Detected one or more Kobos","time":"2024-05-05T22:29:28+02:00"} {"device_id":"00000000-0000-0000-0000-000000000390","level":"info","msg":"Found an attached device","time":"2024-05-05T22:29:28+02:00"} {"device_id":"00000000-0000-0000-0000-000000000390","level":"warning","msg":"Found a device that isn't officially supported but will likely still operate just fine","time":"2024-05-05T22:29:28+02:00"} {"error":"database disk image is malformed (11)","level":"error","msg":"Failed to count bookmarks on device","time":"2024-05-05T22:29:30+02:00"} {"error":"database disk image is malformed (11)","level":"error","msg":"Failed to count bookmarks on device","time":"2024-05-05T22:29:30+02:00"} {"error":"database disk image is malformed (11)","level":"error","msg":"Failed to count bookmarks on device","time":"2024-05-05T22:29:36+02:00"} {"error":"database disk image is malformed (11)","level":"error","msg":"Failed to count bookmarks on device","time":"2024-05-05T22:29:36+02:00"} {"kobos_found":1,"level":"info","msg":"Detected one or more Kobos","time":"2024-05-05T22:29:37+02:00"} {"device_id":"00000000-0000-0000-0000-000000000390","level":"info","msg":"Found an attached device","time":"2024-05-05T22:29:37+02:00"} {"device_id":"00000000-0000-0000-0000-000000000390","level":"warning","msg":"Found a device that isn't officially supported but will likely still operate just fine","time":"2024-05-05T22:29:37+02:00"} {"kobos_found":1,"level":"info","msg":"Detected one or more Kobos","time":"2024-05-05T22:29:37+02:00"} {"device_id":"00000000-0000-0000-0000-000000000390","level":"info","msg":"Found an attached device","time":"2024-05-05T22:29:37+02:00"} {"device_id":"00000000-0000-0000-0000-000000000390","level":"warning","msg":"Found a device that isn't officially supported but will likely still operate just fine","time":"2024-05-05T22:29:37+02:00"} {"error":"database disk image is malformed (11)","level":"error","msg":"Failed to count bookmarks on device","time":"2024-05-05T22:39:38+02:00"} {"error":"database disk image is malformed (11)","level":"error","msg":"Failed to count bookmarks on device","time":"2024-05-05T22:39:38+02:00"} {"error":"database disk image is malformed (11)","level":"error","msg":"Failed to retrieve content from device","time":"2024-05-05T22:39:39+02:00"} {"kobos_found":1,"level":"info","msg":"Detected one or more Kobos","time":"2024-05-05T22:42:47+02:00"} {"device_id":"00000000-0000-0000-0000-000000000390","level":"info","msg":"Found an attached device","time":"2024-05-05T22:42:47+02:00"} {"device_id":"00000000-0000-0000-0000-000000000390","level":"warning","msg":"Found a device that isn't officially supported but will likely still operate just fine","time":"2024-05-05T22:42:47+02:00"} {"kobos_found":1,"level":"info","msg":"Detected one or more Kobos","time":"2024-05-05T22:42:47+02:00"} {"device_id":"00000000-0000-0000-0000-000000000390","level":"info","msg":"Found an attached device","time":"2024-05-05T22:42:47+02:00"} {"device_id":"00000000-0000-0000-0000-000000000390","level":"warning","msg":"Found a device that isn't officially supported but will likely still operate just fine","time":"2024-05-05T22:42:47+02:00"} {"error":"database disk image is malformed (11)","level":"error","msg":"Failed to count bookmarks on device","time":"2024-05-05T22:43:16+02:00"} {"error":"database disk image is malformed (11)","level":"error","msg":"Failed to count bookmarks on device","time":"2024-05-05T22:43:16+02:00"} {"error":"database disk image is malformed (11)","level":"error","msg":"Failed to retrieve content from device","time":"2024-05-05T22:43:17+02:00"} {"error":"database disk image is malformed (11)","level":"error","msg":"Failed to retrieve content from device","time":"2024-05-05T22:43:38+02:00"}

marcus-crane commented 4 months ago

Hey @WilliamK6,

Sorry for the delay in getting back to you. First off, it's news to me that Kobo put out some new colour devices so thanks for the heads up 🙂

I'm surprised that your database is apparently malformed even though I presume you can still use the device. I vaguely remember this popping up with some new devices as a fluke.

I don't imagine that it's strictly related to October, as it just reads database files and nothing else but I can have a look at the database file anyway and see whether it is indeed malformed or not.

If you can send me an email at october@utf9k.net, I can work you through how to get a copy of your database.

I'm also not sure what operating system you're on exactly (macOS? Windows?) so that'd be good to know as the instructions are slightly different between the two.

Thanks again,

Marcus