Register Guidelines E-Books Today's Posts Search

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

Notices

Reply
 
Thread Tools Search this Thread
Old 03-28-2015, 05:08 AM   #1
myki
Zealot
myki can self-interpret dreams as they happen.myki can self-interpret dreams as they happen.myki can self-interpret dreams as they happen.myki can self-interpret dreams as they happen.myki can self-interpret dreams as they happen.myki can self-interpret dreams as they happen.myki can self-interpret dreams as they happen.myki can self-interpret dreams as they happen.myki can self-interpret dreams as they happen.myki can self-interpret dreams as they happen.myki can self-interpret dreams as they happen.
 
Posts: 126
Karma: 20236
Join Date: May 2014
Device: Kinde PW v1, Kobo H2O, Onyx Boox T68
[Kobo Aura H20] Calibre seems to corrupts the database each time

Greetings,

Each time I use Calibre to send books to my Kobo Aura H20, the database corrupts, and if i reconnect my device, Calibre tells me "Error communicating with device".
I first suspected my USB ports more than Calibre, but when I copy/past books or when I use my Kindle PW, I meet no problems...

Can you help me, please ?

[HS] For now, my kobo H20 is a real nightmare ! I have never posted so often in both Calibre and Kobo forums to resolve all of my problems
myki is offline   Reply With Quote
Old 03-28-2015, 05:18 AM   #2
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,906
Karma: 47303822
Join Date: Jul 2011
Location: Sydney, Australia
Device: Kobo:Touch,Glo, AuraH2O, GloHD,AuraONE, ClaraHD, Libra H2O; tolinoepos
@myki: I've just posted in your other thread. Odds are the are the same problem.

And to help with problems with calibre, if you get an error message, press the "Details" button. This will give more information about the error. It might not mean much more to you, but, posting the full details will help a lot in working out what is wrong. And to make this easy, press the "copy to clipboard" and then paste that into your post.
davidfor is offline   Reply With Quote
Advert
Old 03-28-2015, 05:30 AM   #3
myki
Zealot
myki can self-interpret dreams as they happen.myki can self-interpret dreams as they happen.myki can self-interpret dreams as they happen.myki can self-interpret dreams as they happen.myki can self-interpret dreams as they happen.myki can self-interpret dreams as they happen.myki can self-interpret dreams as they happen.myki can self-interpret dreams as they happen.myki can self-interpret dreams as they happen.myki can self-interpret dreams as they happen.myki can self-interpret dreams as they happen.
 
Posts: 126
Karma: 20236
Join Date: May 2014
Device: Kinde PW v1, Kobo H2O, Onyx Boox T68
You are right, I forgot to give more details...

And the log :
Code:
calibre, version 2.22.0
ERROR: Error: Error communicating with device

database disk image is malformed

Traceback (most recent call last):
  File "site-packages\calibre\gui2\device.py", line 87, in run
  File "site-packages\calibre\gui2\device.py", line 503, in _books
  File "site-packages\calibre\devices\kobo\driver.py", line 1787, in books
  File "site-packages\calibre\devices\kobo\driver.py", line 1663, in get_bookshelvesforbook
DatabaseError: database disk image is malformed
I read your suggestion, about logout and in to get back a fresh database, it works but as soon as i reuse Calibre, my database corrupts.

Thanks for your help, davidfor...

EDIT :
I know now how to starts with a clean database thanks to tshering, but it corrupts as soon as Calibre needs it : either by refreshing the field about shelves, or by adding a book (even only one).

Last edited by myki; 03-28-2015 at 08:16 AM.
myki is offline   Reply With Quote
Old 03-29-2015, 11:03 AM   #4
jackie_w
Grand Sorcerer
jackie_w ought to be getting tired of karma fortunes by now.jackie_w ought to be getting tired of karma fortunes by now.jackie_w ought to be getting tired of karma fortunes by now.jackie_w ought to be getting tired of karma fortunes by now.jackie_w ought to be getting tired of karma fortunes by now.jackie_w ought to be getting tired of karma fortunes by now.jackie_w ought to be getting tired of karma fortunes by now.jackie_w ought to be getting tired of karma fortunes by now.jackie_w ought to be getting tired of karma fortunes by now.jackie_w ought to be getting tired of karma fortunes by now.jackie_w ought to be getting tired of karma fortunes by now.
 
Posts: 6,212
Karma: 16534894
Join Date: Sep 2009
Location: UK
Device: Kobo: KA1, ClaraHD, Forma, Libra2, Clara2E. PocketBook: TouchHD3
@myki,

Just another thought ... do you have any of the Kobo hacks installed? If so, it might be an idea to uninstall them and see if you can get a 'pure' H2O working reliably with calibre for a few days before retrying the hacks - one at a time.

The only reason I ask is because I also have had the calibre/malformed database scenario. Both times it was within a couple of days after I'd installed a hack. The first time it was after installing KOReader on an AuraHD (many months ago). The second time was last week after installing the NightMode hack on my H2O. I really don't understand why I had these problems as Kobo owners seem to have installed these hacks with no problems whatsoever. As I was only dabbling for my own amusement, I decided not to pursue the problems and have had no further malformed database problems.

Note: I've never had any problems at all with the Kobo Patcher hacks. I definitely wouldn't want to be without those
jackie_w is offline   Reply With Quote
Old 03-31-2015, 09:21 AM   #5
myki
Zealot
myki can self-interpret dreams as they happen.myki can self-interpret dreams as they happen.myki can self-interpret dreams as they happen.myki can self-interpret dreams as they happen.myki can self-interpret dreams as they happen.myki can self-interpret dreams as they happen.myki can self-interpret dreams as they happen.myki can self-interpret dreams as they happen.myki can self-interpret dreams as they happen.myki can self-interpret dreams as they happen.myki can self-interpret dreams as they happen.
 
Posts: 126
Karma: 20236
Join Date: May 2014
Device: Kinde PW v1, Kobo H2O, Onyx Boox T68
Hello jackie_w, thank you for your help
I have already done this, with the H2O of my wife who is "pure", and I meet the same problems : As soon as I disconnect my kobo properly after having used Calibre to install my books, the database is updating, but stops after few percents and I have to swich my kobo off...
And then, sometimes the database works, sometimes not.
Fortunately my wife is happy with just few books in her reader, so I don't have to spend a lot of time to reinstall everything... but it is really anoying.
myki is offline   Reply With Quote
Advert
Old 03-31-2015, 09:42 AM   #6
meeera
Grand Sorcerer
meeera ought to be getting tired of karma fortunes by now.meeera ought to be getting tired of karma fortunes by now.meeera ought to be getting tired of karma fortunes by now.meeera ought to be getting tired of karma fortunes by now.meeera ought to be getting tired of karma fortunes by now.meeera ought to be getting tired of karma fortunes by now.meeera ought to be getting tired of karma fortunes by now.meeera ought to be getting tired of karma fortunes by now.meeera ought to be getting tired of karma fortunes by now.meeera ought to be getting tired of karma fortunes by now.meeera ought to be getting tired of karma fortunes by now.
 
meeera's Avatar
 
Posts: 5,670
Karma: 66420972
Join Date: Dec 2011
Location: Australia
Device: Kobo Libra 2, iPadMini4, iPad4, MBP; support other Kobo/Kindles
Quote:
Originally Posted by myki View Post
Hello jackie_w, thank you for your help
I have already done this, with the H2O of my wife who is "pure", and I meet the same problems : As soon as I disconnect my kobo properly after having used Calibre to install my books, the database is updating, but stops after few percents and I have to swich my kobo off...
How exactly do you disconnect your kobo, and how long do you wait before deciding that processing has frozen? Processing can take a LONG time, particularly if you've added many or complex books, and it can pause on a particular percentage for quite a while. If corruption is occurring when you disrupt the Processing process, I'm not surprised.

This is difficult being spread across threads, but I haven't seen any direct clear confirmation from you yet that you have signed out from your Kobo acconut on the device (as opposed to "disconnecting"), and then logged back in again? In Settings > Accounts.
meeera is offline   Reply With Quote
Old 03-31-2015, 10:00 AM   #7
myki
Zealot
myki can self-interpret dreams as they happen.myki can self-interpret dreams as they happen.myki can self-interpret dreams as they happen.myki can self-interpret dreams as they happen.myki can self-interpret dreams as they happen.myki can self-interpret dreams as they happen.myki can self-interpret dreams as they happen.myki can self-interpret dreams as they happen.myki can self-interpret dreams as they happen.myki can self-interpret dreams as they happen.myki can self-interpret dreams as they happen.
 
Posts: 126
Karma: 20236
Join Date: May 2014
Device: Kinde PW v1, Kobo H2O, Onyx Boox T68
Thank you meeera to be interested in my case
I use the option in calibre, to disconnect properly (the disconnect submenu of my advice).
To give you an example, the last time I used Calibre was to add 2 fanfics and a book. After disconnecting, the update on the kobo stopped at 6%. I have waited for about 4 or 5 minutes and then I have decided to switch it off.

The part when you talk about signing out and disconnecting, I don't clearly anderstand (sorry for my english).
But what I can say is that I go to parameters/account/disconnect.
Then my kobo restarts and it asks me again my kobo account, and then sync and rebuild the database.
I have already tried to sign in a new account at kobo.com when I met my problems about persistents empty shelves, but it changed nothing.
myki is offline   Reply With Quote
Old 03-31-2015, 10:00 AM   #8
jackie_w
Grand Sorcerer
jackie_w ought to be getting tired of karma fortunes by now.jackie_w ought to be getting tired of karma fortunes by now.jackie_w ought to be getting tired of karma fortunes by now.jackie_w ought to be getting tired of karma fortunes by now.jackie_w ought to be getting tired of karma fortunes by now.jackie_w ought to be getting tired of karma fortunes by now.jackie_w ought to be getting tired of karma fortunes by now.jackie_w ought to be getting tired of karma fortunes by now.jackie_w ought to be getting tired of karma fortunes by now.jackie_w ought to be getting tired of karma fortunes by now.jackie_w ought to be getting tired of karma fortunes by now.
 
Posts: 6,212
Karma: 16534894
Join Date: Sep 2009
Location: UK
Device: Kobo: KA1, ClaraHD, Forma, Libra2, Clara2E. PocketBook: TouchHD3
@myki,
I'm afraid I don't have any other bright ideas. I assume you're doing a 'safe disconnect' each time you disconnect the PC from calibre. The fact that most people don't have this persistent problem and you're having problems with 2 different Kobos would suggest maybe it's the usb cable or the usb port.

Incidentally, I installed the NightMode hack on my Aura6" at the same time as the Aura H2O, but then didn't use it much until yesterday, when I connected it to calibre - lo and behold - another malformed database. Some of these hacks definitely don't like me - so I know what persecution feels like
jackie_w is offline   Reply With Quote
Old 03-31-2015, 10:10 AM   #9
PeterT
Grand Sorcerer
PeterT ought to be getting tired of karma fortunes by now.PeterT ought to be getting tired of karma fortunes by now.PeterT ought to be getting tired of karma fortunes by now.PeterT ought to be getting tired of karma fortunes by now.PeterT ought to be getting tired of karma fortunes by now.PeterT ought to be getting tired of karma fortunes by now.PeterT ought to be getting tired of karma fortunes by now.PeterT ought to be getting tired of karma fortunes by now.PeterT ought to be getting tired of karma fortunes by now.PeterT ought to be getting tired of karma fortunes by now.PeterT ought to be getting tired of karma fortunes by now.
 
PeterT's Avatar
 
Posts: 12,263
Karma: 74007256
Join Date: Nov 2007
Location: Toronto
Device: Nexus 7, Clara, Touch, Tolino EPOS
How are these fanfics obtained? Are they built using the FFDL plugin for calibre?
PeterT is offline   Reply With Quote
Old 03-31-2015, 12:50 PM   #10
Alan_S
Evangelist
Alan_S ought to be getting tired of karma fortunes by now.Alan_S ought to be getting tired of karma fortunes by now.Alan_S ought to be getting tired of karma fortunes by now.Alan_S ought to be getting tired of karma fortunes by now.Alan_S ought to be getting tired of karma fortunes by now.Alan_S ought to be getting tired of karma fortunes by now.Alan_S ought to be getting tired of karma fortunes by now.Alan_S ought to be getting tired of karma fortunes by now.Alan_S ought to be getting tired of karma fortunes by now.Alan_S ought to be getting tired of karma fortunes by now.Alan_S ought to be getting tired of karma fortunes by now.
 
Alan_S's Avatar
 
Posts: 440
Karma: 1084584
Join Date: Aug 2007
Location: Sisak, Croatia
Device: Kobo Aura H2O, Kobo Aura ONE
Quote:
Originally Posted by myki View Post
After disconnecting, the update on the kobo stopped at 6%. I have waited for about 4 or 5 minutes and then I have decided to switch it off.
Do you have already a lot of books when adding new ones?

In my experience, processing of new books can take really a lot of time. Percentage "jumps" without obvious logic with long pauses. Really long pauses. I usually sideload books and then just start working something else.

I'd suggest that you wait 15, 20, or even more minutes between "percentage jumps". Only after 30 minutes or more passes without any outer signs that something is happening you maybe try to switch device off.
Alan_S is offline   Reply With Quote
Old 03-31-2015, 01:18 PM   #11
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: 74,648
Karma: 130140792
Join Date: Nov 2006
Location: Roslindale, Massachusetts
Device: Kobo Libra 2, Kobo Aura H2O, PRS-650, PRS-T1, nook STR, PW3
I also agree with waiting longer than 5-6 minutes for the processing to finish. I would wait up to 30 minutes for three books and if it's not done, then something could be wrong.

Also, run those three books through epubcheck as it's possible that if the processing is not completing, it could be because of errors in those eBooks.
JSWolf is offline   Reply With Quote
Old 04-01-2015, 02:41 AM   #12
myki
Zealot
myki can self-interpret dreams as they happen.myki can self-interpret dreams as they happen.myki can self-interpret dreams as they happen.myki can self-interpret dreams as they happen.myki can self-interpret dreams as they happen.myki can self-interpret dreams as they happen.myki can self-interpret dreams as they happen.myki can self-interpret dreams as they happen.myki can self-interpret dreams as they happen.myki can self-interpret dreams as they happen.myki can self-interpret dreams as they happen.
 
Posts: 126
Karma: 20236
Join Date: May 2014
Device: Kinde PW v1, Kobo H2O, Onyx Boox T68
Thanks everybody for your help...
I don't know how fanfics were built at all, I'm sorry.
When I put the 3 books in the Kobo, there were about 80 books already in it... I don't know if it's considered like much or not
Anyway it is a good idea, I will wait more time the next time I will have to put new books in it.
I know that it is not my USB Cable but I wouldn't swear that my usb ports are innocent in my case So I plan to try with another computer...
When I will have the courage to do this, I will up my post with the results

Thanks for your patience everybody...
myki is offline   Reply With Quote
Old 04-01-2015, 03:07 AM   #13
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,906
Karma: 47303822
Join Date: Jul 2011
Location: Sydney, Australia
Device: Kobo:Touch,Glo, AuraH2O, GloHD,AuraONE, ClaraHD, Libra H2O; tolinoepos
The question about how the fanfics were created is because of the way they are handled by the Kobo devices. As you can see, when the device is unplugged, any new books are processed. This is to add details about them to the internal database. The database is used for the library list and lots of other things. Unfortunately, this can go wrong if there are problems in the books. Sometimes the processing will hang and the only way out is what you are doing. Other times, it appears to work, the home screen is displayed, but the books are not in the library.

So, if the books are error free, they should be processed OK. And how likely they are to have errors depends on the source. As you are talking about fanfic, if you use FanFictionDownloader (FFDL), then I would be surprised if there were any problems. But, other sources might not be as good. The Kobo firmware can be picky about the books it will process and display. Or maybe I should say it is unforgiving about erros. JSWolf's suggestion of checking for errors using epubcheck against is a good. But, if you haven't already used it, then it takes a little setting up. You could use the error checking in the calibre editor. It is there as part of calibre and doesn't need anything extra. I would be surprised if something passed it's errors and wasn't processed by the Kobo firmware.

Testing on another PC is also a good idea. If this is a new device, it might be faulty. If you have the same errors with a second PC, then maybe it is an issue with the device and need to be replaced. Also, a factory reset can fix some strange problems like this. You would need to reload all your books afterwards, but if the problems go away, that would be worth it.

Oh, 80 books is nothing. I have about 1400 on my H2O. There are people complaining they have trouble getting several thousand on their devices.
davidfor is offline   Reply With Quote
Old 04-01-2015, 03:16 AM   #14
meeera
Grand Sorcerer
meeera ought to be getting tired of karma fortunes by now.meeera ought to be getting tired of karma fortunes by now.meeera ought to be getting tired of karma fortunes by now.meeera ought to be getting tired of karma fortunes by now.meeera ought to be getting tired of karma fortunes by now.meeera ought to be getting tired of karma fortunes by now.meeera ought to be getting tired of karma fortunes by now.meeera ought to be getting tired of karma fortunes by now.meeera ought to be getting tired of karma fortunes by now.meeera ought to be getting tired of karma fortunes by now.meeera ought to be getting tired of karma fortunes by now.
 
meeera's Avatar
 
Posts: 5,670
Karma: 66420972
Join Date: Dec 2011
Location: Australia
Device: Kobo Libra 2, iPadMini4, iPad4, MBP; support other Kobo/Kindles
myki: I agree with the advice to wait longer.

Also, try your kobo with some books you've downloaded from the Mobileread Library right here - they're usually known to be good quality without errors. See if you have the processing pause with those. If those process without error: then try adding your problem books one by one, after checking their validity. I'm guessing there might be a bad book in there somewhere?
meeera is offline   Reply With Quote
Old 04-01-2015, 10:18 AM   #15
Alan_S
Evangelist
Alan_S ought to be getting tired of karma fortunes by now.Alan_S ought to be getting tired of karma fortunes by now.Alan_S ought to be getting tired of karma fortunes by now.Alan_S ought to be getting tired of karma fortunes by now.Alan_S ought to be getting tired of karma fortunes by now.Alan_S ought to be getting tired of karma fortunes by now.Alan_S ought to be getting tired of karma fortunes by now.Alan_S ought to be getting tired of karma fortunes by now.Alan_S ought to be getting tired of karma fortunes by now.Alan_S ought to be getting tired of karma fortunes by now.Alan_S ought to be getting tired of karma fortunes by now.
 
Alan_S's Avatar
 
Posts: 440
Karma: 1084584
Join Date: Aug 2007
Location: Sisak, Croatia
Device: Kobo Aura H2O, Kobo Aura ONE
Quote:
Originally Posted by myki View Post
When I put the 3 books in the Kobo, there were about 80 books already in it... I don't know if it's considered like much or not
Well, 80 books means it would take longer time to process new ones. The more books you have, the longer you have to wait.

And about USB ports, I have problem with one of my USB ports, it still doesn't work, but it manifests itself a bit differently. Just in case, try using other USB ports. And of course, other PCs if you have them available.
Alan_S is offline   Reply With Quote
Reply


Forum Jump

Similar Threads
Thread Thread Starter Forum Replies Last Post
Calibre doesn't detect my Kobo Aura H20 glin Devices 6 02-11-2015 12:08 PM
Buy Kobo Aura H20 uppon2 Flea Market 1 12-08-2014 11:41 AM
KOBO AURA H20 questions Susan A Which one should I buy? 12 12-07-2014 08:57 AM
Kobo Aura H20 vs Aura HD comparison photos Fanchee Kobo Reader 13 10-08-2014 01:53 PM
Kobo desktop v1.7.5 corrupts database on original Kobo Greenmantle Kobo Reader 5 11-24-2010 07:23 PM


All times are GMT -4. The time now is 08:40 PM.


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