12-16-2023, 07:29 AM | #1 |
Zealot
Posts: 110
Karma: 1005242
Join Date: Apr 2011
Location: Warsaw, Poland
Device: a lot of Kindles, PocketBook HD3/InkpadX, inkBOOK, Kobo
|
How can I send a complex EPUB file via Send Kindle?
I was trying to send Python documentation that is available as an epub file here: https://docs.python.org/3/download.html
The file is not large (~7 MB) but very complex (many internal links and files). I tried to send it via Send To Kindle (web or PC) and for several minutes I got a "Processing" message and finally "Failed. Please retry". I also tried using Calibre to simplify the structure of this file, but to no avail. Does anyone have an idea? |
12-16-2023, 10:19 AM | #2 | |
Resident Curmudgeon
Posts: 76,491
Karma: 136564766
Join Date: Nov 2006
Location: Roslindale, Massachusetts
Device: Kobo Libra 2, Kobo Aura H2O, PRS-650, PRS-T1, nook STR, PW3
|
Quote:
|
|
Advert | |
|
12-16-2023, 01:06 PM | #3 |
Grand Sorcerer
Posts: 5,531
Karma: 100606001
Join Date: Apr 2011
Device: pb360
|
kindlegen was unable to convert to KF8/azw3
The kindlegen log file is attached. Spoiler:
You might be better off starting with the plain text and making an ebook. |
12-16-2023, 01:06 PM | #4 |
Grand Sorcerer
Posts: 6,772
Karma: 26974049
Join Date: Apr 2009
Location: USA
Device: iPhone 15PM, Kindle Scribe, iPad mini 6, PocketBook InkPad Color 3
|
The epub has a number of errors in it (for example using Run check in calibre's ebook-edit). It also fails epubcheck (38 fatals, 1744 errors, 1 warning).
I tried importing HTML version and converting that to ePub with calibre. This also failed to check out. Needless to say Kindle Previewer 3 also fails to convert: if this fails, Send To Kindle won't like it either. It isn't clear what it will take to fix all of these errors, but until you do, Send To Kindle isn't going to be able to handle it. Converting to AZW3 should let you side load and read it. I was able to convert it with calibre, (took around 15 minutes) but calibre viewer isn't able to open it (I gave it about 5 minutes). It does open on my Scribe and the links, ToC etc. seem to work okay. That said, it is not clear this is more useful than just using a web browser when you need to look up some Python topic. Last edited by tomsem; 12-16-2023 at 01:43 PM. |
12-16-2023, 01:44 PM | #5 |
Grand Sorcerer
Posts: 11,543
Karma: 230505502
Join Date: Jan 2014
Location: Estonia
Device: Kobo Sage & Libra 2
|
The Calibre viewer reads only epubs natively, every other format it has to convert on the fly. So if it took 15 minutes to convert the epub to azw3, the viewer will take about as long to open the azw3.
|
Advert | |
|
12-16-2023, 04:39 PM | #6 |
the rook, bossing Never.
Posts: 12,378
Karma: 92073397
Join Date: Jun 2017
Location: Ireland
Device: All 4 Kinds: epub eink, Kindle, android eink, NxtPaper11
|
Unless you are "off-grid" or no internet for some other reason. But I agree, it's the kind of thing the Internet is good for and if you are doing python, then you are at a desktop computer, not just an ereader, tablet or phone.
|
12-16-2023, 08:02 PM | #7 |
Bibliophagist
Posts: 40,603
Karma: 157444382
Join Date: Jul 2010
Location: Vancouver
Device: Kobo Sage, Libra Colour, Lenovo M8 FHD, Paperwhite 4, Tolino epos
|
Not only is this a complex ePub, it is riddled with errors, for instance, in the download chapter, they left out the leading portion of the download URLs and epubcheck was very unhappy with the ePub.
i.e. archives/python-3.12.1-docs.epub instead of https://docs.python.org/3/archives/p...12.1-docs.epub. For what it may be worth, calibre on my desktop converted the ePub to azw3 in about 9 minutes spending most of that time sitting at 67%. |
12-16-2023, 09:17 PM | #8 |
Grand Sorcerer
Posts: 5,531
Karma: 100606001
Join Date: Apr 2011
Device: pb360
|
It looks like the python project wants ocumentation bugs reported to
https://github.com/python/cpython/issues Presumably it is then up to the documentation team to report the bug to whatever package generated the EPUB. |
12-16-2023, 10:00 PM | #9 | |
Bibliophagist
Posts: 40,603
Karma: 157444382
Join Date: Jul 2010
Location: Vancouver
Device: Kobo Sage, Libra Colour, Lenovo M8 FHD, Paperwhite 4, Tolino epos
|
Quote:
|
|
|
Similar Threads | ||||
Thread | Thread Starter | Forum | Replies | Last Post |
Send to Kindle won't send author name from metadata. | mkgtu | Amazon Kindle | 116 | 10-20-2022 10:21 PM |
How can I send the viewer's annotation/highlight to an epub file? | jeju2 | Library Management | 3 | 12-19-2021 10:10 PM |
send/convert to EPUB by default but always send PDF | dnastase | Library Management | 2 | 01-04-2015 08:55 PM |
Send epub to Kindle but don't keep the converted file? | Toxeus | Library Management | 5 | 10-03-2012 09:25 PM |
linux nautilus script: send file to kindle | jennie | Kindle Developer's Corner | 1 | 12-22-2011 02:02 AM |