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 12-27-2019, 08:17 AM   #1
johnkobobo
Kobo addict
johnkobobo began at the beginning.
 
Posts: 5
Karma: 10
Join Date: Dec 2019
Location: Netherlands
Device: Kobo Libra H2O
Calibre issue exporting to Kobo

Hi all

I am new to this forum (never knew it existed, sorry).
I am John from The Netherlands. I do know some English, and hopefully I can get a lot of info here. And hopefully can give info as well.

I owned a Kobo Glo HD, but I bought myself a new Kobo Libra H2O as a Xmas gift :-)

I had below mentioned problem before, but I always changed the way to upload and got it working. I always had a work around (uploading directly from Finder without Calibre).
But now i would like to get some more info, I hope.

I am getting this message when I upload a book to Kobo.
Can anyone explain to me what is is, and even more important, how can I solve the problem?


calibre, version 4.7.0
FOUT: Fout: Fout bij communicatie met apparaat

Kan '2018 - Macbeth' door 'Jo Nesbø' niet analyseren. Foutmelding: '.html' (file: calibre_plugins.kobotouch_extended.container, line: 443)

Traceback (most recent call last):
File "site-packages/calibre/gui2/device.py", line 90, in run
File "site-packages/calibre/gui2/device.py", line 594, in _upload_books
File "calibre_plugins.kobotouch_extended.device.driver" , line 399, in upload_books
File "site-packages/calibre/devices/kobo/driver.py", line 2099, in upload_books
File "calibre_plugins.kobotouch_extended.device.driver" , line 291, in _modify_epub
InvalidEPub: Kan '2018 - Macbeth' door 'Jo Nesbø' niet analyseren. Foutmelding: '.html' (file: calibre_plugins.kobotouch_extended.container, line: 443)
johnkobobo is offline   Reply With Quote
Old 12-27-2019, 09:28 AM   #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: 79,474
Karma: 145863170
Join Date: Nov 2006
Location: Roslindale, Massachusetts
Device: Kobo Libra 2, Kobo Aura H2O, PRS-650, PRS-T1, nook STR, PW3
Install the epubcheck plugin for Calibre. It's an editor plugin. Load the ePub into the editor and check for errors. Fix all the errors and then send to your Kobo.
JSWolf is offline   Reply With Quote
Advert
Old 12-27-2019, 07:47 PM   #3
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,905
Karma: 47303824
Join Date: Jul 2011
Location: Sydney, Australia
Device: Kobo:Touch,Glo, AuraH2O, GloHD,AuraONE, ClaraHD, Libra H2O; tolinoepos
Quote:
Originally Posted by johnkobobo View Post
Hi all

I am new to this forum (never knew it existed, sorry).
I am John from The Netherlands. I do know some English, and hopefully I can get a lot of info here. And hopefully can give info as well.

I owned a Kobo Glo HD, but I bought myself a new Kobo Libra H2O as a Xmas gift :-)

I had below mentioned problem before, but I always changed the way to upload and got it working. I always had a work around (uploading directly from Finder without Calibre).
But now i would like to get some more info, I hope.

I am getting this message when I upload a book to Kobo.
Can anyone explain to me what is is, and even more important, how can I solve the problem?


calibre, version 4.7.0
FOUT: Fout: Fout bij communicatie met apparaat

Kan '2018 - Macbeth' door 'Jo Nesbø' niet analyseren. Foutmelding: '.html' (file: calibre_plugins.kobotouch_extended.container, line: 443)

Traceback (most recent call last):
File "site-packages/calibre/gui2/device.py", line 90, in run
File "site-packages/calibre/gui2/device.py", line 594, in _upload_books
File "calibre_plugins.kobotouch_extended.device.driver" , line 399, in upload_books
File "site-packages/calibre/devices/kobo/driver.py", line 2099, in upload_books
File "calibre_plugins.kobotouch_extended.device.driver" , line 291, in _modify_epub
InvalidEPub: Kan '2018 - Macbeth' door 'Jo Nesbø' niet analyseren. Foutmelding: '.html' (file: calibre_plugins.kobotouch_extended.container, line: 443)
The error says that there is an error in the book. I think there is an internal file with an invalid name. Opening it in the calibre editor and running the "Check book" function (the bug in the toolbar) will probably show what the problem is. Using Epubcheck for this is overkill.
davidfor is offline   Reply With Quote
Old 12-27-2019, 08:21 PM   #4
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: 79,474
Karma: 145863170
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 davidfor View Post
The error says that there is an error in the book. I think there is an internal file with an invalid name. Opening it in the calibre editor and running the "Check book" function (the bug in the toolbar) will probably show what the problem is. Using Epubcheck for this is overkill.
But if there is an invalid filename in the ePub, then that means the eBook may not be legit and if that is so, help should not be given per MR rules.
JSWolf is offline   Reply With Quote
Old 12-28-2019, 01:11 AM   #5
DNSB
Bibliophagist
DNSB ought to be getting tired of karma fortunes by now.DNSB ought to be getting tired of karma fortunes by now.DNSB ought to be getting tired of karma fortunes by now.DNSB ought to be getting tired of karma fortunes by now.DNSB ought to be getting tired of karma fortunes by now.DNSB ought to be getting tired of karma fortunes by now.DNSB ought to be getting tired of karma fortunes by now.DNSB ought to be getting tired of karma fortunes by now.DNSB ought to be getting tired of karma fortunes by now.DNSB ought to be getting tired of karma fortunes by now.DNSB ought to be getting tired of karma fortunes by now.
 
DNSB's Avatar
 
Posts: 45,515
Karma: 168929301
Join Date: Jul 2010
Location: Vancouver
Device: Kobo Sage, Libra Colour, Lenovo M8 FHD, Paperwhite 4, Tolino epos
Quote:
Originally Posted by JSWolf View Post
But if there is an invalid filename in the ePub, then that means the eBook may not be legit and if that is so, help should not be given per MR rules.
Occam's Razor, Jon. I've seen several epubs from non-English speaking countries where the filenames caused issues due to the characters used in creating the filename.

At this point in time, I'd give the OP the benefit of the doubt.
DNSB is offline   Reply With Quote
Advert
Old 12-28-2019, 02:06 AM   #6
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,905
Karma: 47303824
Join Date: Jul 2011
Location: Sydney, Australia
Device: Kobo:Touch,Glo, AuraH2O, GloHD,AuraONE, ClaraHD, Libra H2O; tolinoepos
And I had a better look at the code in the driver. There is a high chance it is the file name, but, it could be code in the book that isn't parsing. In either case, I've seen enough "professionally" produced books with these problems that it wouldn't have occurred to me that this book wasn't legit.
davidfor is offline   Reply With Quote
Old 12-28-2019, 08:53 AM   #7
johnkobobo
Kobo addict
johnkobobo began at the beginning.
 
Posts: 5
Karma: 10
Join Date: Dec 2019
Location: Netherlands
Device: Kobo Libra H2O
Thanks all. I will check the different options. I am not that technical with those things but I’ll see what I can find.
johnkobobo is offline   Reply With Quote
Old 12-28-2019, 12:19 PM   #8
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,957
Karma: 60358908
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 johnkobobo View Post
Thanks all. I will check the different options. I am not that technical with those things but I’ll see what I can find.
If you EDIT the book with the Calibre Editor (T), then simply debug (the bug icon), it will report UNSAFE (those that others have issues with) filename characters and offer to make them safe. Save Done.
theducks is offline   Reply With Quote
Old 12-28-2019, 03:58 PM   #9
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
I think JSWolf should be banned for hinting at defaming another member without probable cause. Per my made up rules because I said so.
Bookstooge is offline   Reply With Quote
Old 12-28-2019, 09:50 PM   #10
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: 79,474
Karma: 145863170
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 Bookstooge View Post
I think JSWolf should be banned for hinting at defaming another member without probable cause. Per my made up rules because I said so.
The rule here is not to help someone who is asking for help with illegally downloaded eBooks. And there are triggers that bring up red flags. If I am wrong, I'll say so. But am I wrong? I have never encountered a single commercial eBook that had a bad filename. I've encountered other errors, but never a filename that wasn't valid.

@johnkobobo where did this eBook come from so we can put this issue to rest? Thanks.

Last edited by JSWolf; 12-28-2019 at 09:53 PM.
JSWolf is offline   Reply With Quote
Old 12-29-2019, 12:28 AM   #11
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,905
Karma: 47303824
Join Date: Jul 2011
Location: Sydney, Australia
Device: Kobo:Touch,Glo, AuraH2O, GloHD,AuraONE, ClaraHD, Libra H2O; tolinoepos
Quote:
Originally Posted by JSWolf View Post
The rule here is not to help someone who is asking for help with illegally downloaded eBooks. And there are triggers that bring up red flags. If I am wrong, I'll say so. But am I wrong? I have never encountered a single commercial eBook that had a bad filename. I've encountered other errors, but never a filename that wasn't valid.
I'm sure that I have. And I just opened a random book. It has internal files that look like "tmp_dfcef919bbc4d91200ea44c8b4530284_RJ5x1i.ch.fi xed.fc.tidied.stylehacked.xfixed_split_000.html". That is 97 characters. If you added in the typical Windows temporary directory, and the name of the book plus an internal directory. Hitting the maximum file path length would be possible. I'm pretty sure that would give the error the OP is seeing. (And yes, I can see that it is probably a Mac being used, o this shouldn't be an issue, but, it is an example of a cause.)

And maybe it wasn't an invalid file name. Maybe it triggered a bug. Or the combination of characters in the file name and temp path triggered something. Or, as I have already stated, it is actually a problem in parsing the contents of the file. The drivers code parses the error and doesn't show the exact source of the error.

And Jon, it could easily have been an error made by the OP. I know that you clean up your books. What if the OP made a change while doing that and this error was triggered? There wasn't anything in the OP's post that suggested piracy to me.
davidfor is offline   Reply With Quote
Old 12-29-2019, 02:55 AM   #12
BetterRed
null operator (he/him)
BetterRed ought to be getting tired of karma fortunes by now.BetterRed ought to be getting tired of karma fortunes by now.BetterRed ought to be getting tired of karma fortunes by now.BetterRed ought to be getting tired of karma fortunes by now.BetterRed ought to be getting tired of karma fortunes by now.BetterRed ought to be getting tired of karma fortunes by now.BetterRed ought to be getting tired of karma fortunes by now.BetterRed ought to be getting tired of karma fortunes by now.BetterRed ought to be getting tired of karma fortunes by now.BetterRed ought to be getting tired of karma fortunes by now.BetterRed ought to be getting tired of karma fortunes by now.
 
Posts: 21,677
Karma: 29711016
Join Date: Mar 2012
Location: Sydney Australia
Device: none
Quote:
Originally Posted by davidfor View Post
. . . There is a high chance it is the file name, but, it could be code in the book that isn't parsing.
Possibly caused by a file name containing: "2018 - Macbeth' door 'Jo Nesbø' niet analyseren. . . ".

IIRC you can configure HFS+ to disallow non-ascii characters in file names (to be compatible with older Linux file systems), like you can configure it to treat upper and lower case the same (to be compatible with Windows file systems).

BR
BetterRed is offline   Reply With Quote
Old 01-07-2020, 01:29 PM   #13
johnkobobo
Kobo addict
johnkobobo began at the beginning.
 
Posts: 5
Karma: 10
Join Date: Dec 2019
Location: Netherlands
Device: Kobo Libra H2O
Thank you all for your help. I have sorted the problem. I will not go any further in to it. I’ll let it rest. I’m sorry if I caused confusion.
If you think it’s and I’m not legit please remove this post. I will pay more attention next time.
johnkobobo is offline   Reply With Quote
Reply


Forum Jump

Similar Threads
Thread Thread Starter Forum Replies Last Post
note app issue when exporting pdf caut Onyx Boox 0 07-24-2018 10:02 AM
Kobo Aura HD and Calibre issue Grenpa Devices 15 12-18-2014 08:51 PM
Calibre and Kobo desktop issue Martina223 Kobo Reader 4 11-19-2012 07:38 AM
Kobo Wifi/Calibre issue SandManSlim Devices 8 11-12-2012 11:38 PM
Kobo to Calibre Metadata Issue joelarthurs Calibre 0 01-21-2012 03:10 PM


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


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