![]() |
#1 |
Wizard
![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() Posts: 1,775
Karma: 2694823
Join Date: Dec 2011
Location: The Netherlands
Device: Kobo Touch, Glo, Clara HD
|
Database malformed but signout does not work...
Hello!
I have a few books on my Glo that for some reason don't show the cover. I found out for some of them that the cover image in the epub was not called "cover" but something like "img001" or something (I didn't look at all of them yet). I vaguely recalled from somewhere that Kobo likes covers to be called cover (Q1. is this [still] true?), so I changed the name, tested the epub on computer, and re-sent the book to the device with Calibre. Didn't work. I also used Calibre KoboUtilities plugin to "Upload covers for selected books" but that didn't make the covers show up either. And then I noticed one of the books I had deleted and re-sent to the device was not showing up at all. Furthermore, one book that I had NOT deleted but re-sent anyway was showing up twice, but only one of them could be opened... So, database broken. I tried signing out... Device asks me if I'm sure, I say yes, and it sits there saying "Signing out, please wait..." for a while. Then it restarts, and shows me my beautiful home screen without any change... plus I'm not signed out at all. I can repeat this step many times but I never really get to sign out. This makes me happy because my number of books read in number of hours isn't lost. But... it makes me sad because my database is still broken. Calibre gives me this message when connecting device: Spoiler:
I also tried the option "Compress the device database" from the KoboUtility, not sure what exactly that does, but I tried it anyway, and Calibre tells me: Spoiler:
Questions: 1. Does Kobo (still) want cover images to be called cover? 2. Any thoughts on database issue? I would be very happy if I wouldn't need to factory reset... 3. Also, is there any way, once I DO get to rebuild the database, to get my statistics (# books read/# hours) back? Can I manually enter them anywhere in the database? 3. I noticed in Calibre KoboUtility plugin under "Update Metadata in Device Library" that there is an option to change reading status... handy for the books I have read, to change them to "Finished" after database rebuilds... but... how do I tell it which books to set to "Finished"? I can't seem to find that info in the Help section, and I don't want to risk changing all the books to "Finished" by trying the option without being sure ![]() Thanks! |
![]() |
![]() |
![]() |
#2 | |
Member
![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() Posts: 15
Karma: 21264
Join Date: Jul 2014
Device: none
|
Quote:
Change the view in calibre so it shows you the books on your device. Then you select those you want to change to "finished" and then you use Kobo Utilities. When done it will tell you how many books were selected, changed, unchanged... I tried first with only one book (just in case!) and it worked perfectly on both FW 3.15 and 3.17.3. Unfortunately it's not possible to select the books in the library view, you'll have to track them down in the device view one by one. Next time I have to factory reset a kobo I will first copy all finished books to the device (if I want them there), change the status and then add the rest. Last edited by Deahna; 09-20-2015 at 01:16 PM. Reason: corrections; deleted a paragraph I wasn't really sure about |
|
![]() |
![]() |
![]() |
#3 |
Wizard
![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() Posts: 1,775
Karma: 2694823
Join Date: Dec 2011
Location: The Netherlands
Device: Kobo Touch, Glo, Clara HD
|
Thank you Deahna!
|
![]() |
![]() |
![]() |
#4 |
Wizard
![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() Posts: 3,821
Karma: 19162882
Join Date: Nov 2012
Location: Te Riu-a-Māui
Device: Kobo Glo
|
Which firmware version is the Glo running? Are you sideloading ePubs or KePubs?
The Glo has never needed the cover image to have any special name in ePubs, but I don't know about kePubs. Perhaps Calibre itself might use the filename to decide which to use as cover if it can't work it out another way though. If signing out worked then it would wipe the database and you would lose all your stats for sideloaded books anyway. A factory reset also reformats the filesystem and so you also lose the sideloaded books themselves and have to reload them, but that should not be much trouble if they are all in Calibre. I don't know what could cause signing out to fail, the only possibility that comes to mind is if you are running firmware 3.16.10 or 3.17.0 then the over-zealous sickel process might cause the device to reboot if the sign-out procedure was taking too long. You might want to wait to hear from davidfor or someone with ideas about what you could do to recover the reading stats of sideloaded books from the database. But I don't think it is a simple process unless you already have a recent backup of the database from before it was corrupted. |
![]() |
![]() |
![]() |
#5 | ||
Bibliophagist
![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() Posts: 46,220
Karma: 168983734
Join Date: Jul 2010
Location: Vancouver
Device: Kobo Sage, Libra Colour, Lenovo M8 FHD, Paperwhite 4, Tolino epos
|
Quote:
Quote:
Code:
<item href="Images/cover.jpg" id="cover-image" media-type="image/jpeg" properties="cover-image"/> Code:
<item href="Images/cover.jpg" id="cover.jpg" media-type="image/jpeg" /> Last edited by DNSB; 09-20-2015 at 03:04 PM. |
||
![]() |
![]() |
![]() |
#6 | ||||||
Wizard
![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() Posts: 1,775
Karma: 2694823
Join Date: Dec 2011
Location: The Netherlands
Device: Kobo Touch, Glo, Clara HD
|
Quote:
Quote:
Quote:
Quote:
![]() ![]() Quote:
![]() Quote:
![]() Thank you both for your input! |
||||||
![]() |
![]() |
![]() |
#7 |
Wizard
![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() Posts: 1,775
Karma: 2694823
Join Date: Dec 2011
Location: The Netherlands
Device: Kobo Touch, Glo, Clara HD
|
Hmm...
From content.opf of a sideloaded KePub that does NOT show the cover: Code:
<item href="Images/cover.jpg" id="cover.jpg" media-type="image/jpeg" /> Code:
<item href="Images/cover.jpg" id="cover.jpg" media-type="image/jpeg" /> ![]() |
![]() |
![]() |
![]() |
#8 |
Wizard
![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() Posts: 3,821
Karma: 19162882
Join Date: Nov 2012
Location: Te Riu-a-Māui
Device: Kobo Glo
|
That is actually what I said -- Signing out just wipes the database, a factory reset wipes the database and sideloaded books. But reloading the books is usually the easy part, recovering the stats from the database is the difficult part (if possible at all), so as long as you have copies of all your books in Calibre then a factory reset won't lose any more information than just signing out would have.
|
![]() |
![]() |
![]() |
#9 |
Wizard
![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() Posts: 1,775
Karma: 2694823
Join Date: Dec 2011
Location: The Netherlands
Device: Kobo Touch, Glo, Clara HD
|
![]()
My super sexy husband fixed my database
![]() Apparently Macs have a built in sqlite command line tool and husband was able to dump database to a text file and recreate it from there ![]() He also found a couple of culprit books... No idea if I'm able to sign out now, but I don't really want to try ![]() So now I can get to puzzling on why some book covers aren't showing. Any idea on whether I need to delete a book with Calibre before re-sending it to the device if I made any changes with Sigil? Edit: apparently not, same thing I tried before worked perfectly this time now the database doesn't have its knickers in a twist ![]() Also still interested to know about question 3, for future reference or for when I'd like to cheat my statistics... Last edited by Mrs_Often; 09-20-2015 at 04:48 PM. Reason: Too many annoying emoticons |
![]() |
![]() |
![]() |
#10 | |
Wizard
![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() Posts: 1,775
Karma: 2694823
Join Date: Dec 2011
Location: The Netherlands
Device: Kobo Touch, Glo, Clara HD
|
Quote:
![]() ![]() |
|
![]() |
![]() |
![]() |
#11 | ||
Wizard
![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() Posts: 3,821
Karma: 19162882
Join Date: Nov 2012
Location: Te Riu-a-Māui
Device: Kobo Glo
|
Quote:
If you just change the content of the book, fixing spellng mistakes or replacing images (without changng their filenames) etc., then it is okay to resend the updated book to the device without deleting it first. Quote:
So in short, it is probably possible to fake the statistics, but it would be a lot of effort, I think you would have to insert a lot of fake reading sessions into the database. |
||
![]() |
![]() |
![]() |
#12 | |
Wizard
![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() Posts: 1,198
Karma: 4027538
Join Date: May 2014
Device: Kobo Aura, Mini, Touch, Amazon Kindle.
|
Quote:
best wishes koboy ![]() Last edited by koboy; 09-20-2015 at 05:57 PM. |
|
![]() |
![]() |
![]() |
#13 | |
Grand Sorcerer
![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() Posts: 24,905
Karma: 47303824
Join Date: Jul 2011
Location: Sydney, Australia
Device: Kobo:Touch,Glo, AuraH2O, GloHD,AuraONE, ClaraHD, Libra H2O; tolinoepos
|
Quote:
If you have kepubs without the properties for the cover image that are showing covers, the covers probably got there some other way. Either the driver has been configured to send the covers or you used the Kobo Utilities to send them. |
|
![]() |
![]() |
![]() |
#14 |
Grand Sorcerer
![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() Posts: 24,905
Karma: 47303824
Join Date: Jul 2011
Location: Sydney, Australia
Device: Kobo:Touch,Glo, AuraH2O, GloHD,AuraONE, ClaraHD, Libra H2O; tolinoepos
|
I doubt this is the case. I have deliberately filled the device to test a couple of things. I had no problems except if a firmware update was available.
|
![]() |
![]() |
![]() |
#15 | |||
Grand Sorcerer
![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() Posts: 24,905
Karma: 47303824
Join Date: Jul 2011
Location: Sydney, Australia
Device: Kobo:Touch,Glo, AuraH2O, GloHD,AuraONE, ClaraHD, Libra H2O; tolinoepos
|
Quote:
Quote:
Quote:
The "Store/Restore current bookmark" will store the current reading status of the books on the device in the calibre library. After a factory reset or logout/in, you can restore the status. The status includes the actual reading position, percent read, when you last read it and the rating (though this isn't in the latest firmware for sideloaded books). The store can be automated so that it happens each time the device is seen by calibre. Another thing you can do is backup the database. Then, if it gets corrupted, you restore the last good copy and you don't lose as much history. The utilities plugin can automate this as well. |
|||
![]() |
![]() |
![]() |
|
![]() |
||||
Thread | Thread Starter | Forum | Replies | Last Post |
Aura H2O Koreader and malformed nickel database | Patricius | Kobo Reader | 38 | 08-03-2015 05:45 AM |
Strange malformed database error | itimpi | Library Management | 2 | 12-19-2013 09:00 AM |
Database disk image is malformed | moonsjine | Library Management | 1 | 06-16-2012 04:03 AM |
help: 'malformed database' with kobo | prairiegal | Devices | 2 | 03-10-2011 09:50 PM |
Malformed Database Request | timlegge | Kobo Reader | 0 | 02-18-2011 10:44 PM |