![]() |
#1 |
Connoisseur
![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() Posts: 97
Karma: 200000
Join Date: Aug 2019
Device: none
|
ePub 3 to kindlegen
Operating System: x86_64 CentOS 7 Linux (supports i386 too)
kindlegen tarball: kindlegen_linux_2.6_i386_v2_9.tar.gz According to all the docs I read, it's suppose to produce a single file that has both mobi and kf8 in it. That's not what I'm seeing. Source ePub 3 (which passes validation) is 7.4 MB (much of that is fonts) When running the kindlegen binary on it, TWO files are produced - one with a .mobi extension and one with a .mobi8 extension. The .mobi file is 14.7 MB so maybe it does have two versions in it? The .mobi8 file is 106.6 kB meaning it clearly doesn't have much of anything in it, guessing none of the fonts. It would fit on the old 400k floppies my classic mac used ![]() Can anyone describe what these output files are since they differ from all documentation I've seen on what is suppose to be produced (single output file) I don't yet have a kindle to see how the conversion went, should be arriving shortly. Seems the preview app doesn't work on Linux so I can't preview until I get a kindle (I don't have Windows or MacOS/OS X) |
![]() |
![]() |
![]() |
#2 | |
Grand Sorcerer
![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() Posts: 5,727
Karma: 24031401
Join Date: Dec 2010
Device: Kindle PW2
|
Quote:
Code:
Info(prcgen):I15000: Approximate Standard Mobi Deliverable file size : 000xxxKB Info(prcgen):I15001: Approximate KF8 Deliverable file size : 000xxxKB |
|
![]() |
![]() |
Advert | |
|
![]() |
#3 |
Connoisseur
![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() Posts: 97
Karma: 200000
Join Date: Aug 2019
Device: none
|
All it is generating is the .mobi and .mobi8 files.
It is giving a bunch of warnings about abbr tag: Code:
Warning(inputpreprocessor):W29007: Rejected unknown tag: <abbr> in file: /tmp/mobi-VUdMwo/OEBPS/About.xhtml line: 0000125 But if those are just temporary files, then the program is exiting before completing w/o giving an error message as to why. But it does exit with status 0 which should indicate a successful exit. I'll have to see if I can borrow a Mac and see if it behaves differently there. |
![]() |
![]() |
![]() |
#4 |
Connoisseur
![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() Posts: 97
Karma: 200000
Join Date: Aug 2019
Device: none
|
Okay in verbose this is how program ends -
Code:
Info(prcgen):I15000: Approximate Standard Mobi Deliverable file size : 4184073KB Info(prcgen):I15001: Approximate KF8 Deliverable file size : 0003591KB Info(prcgen):I1036: Mobi file built successfully It's not uncommon for commercial companies with closed source software to not really care about their linux builds. |
![]() |
![]() |
![]() |
#5 | |
Grand Sorcerer
![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() Posts: 5,727
Karma: 24031401
Join Date: Dec 2010
Device: Kindle PW2
|
Quote:
Try compiling a blank epub created with Sigil. If you still end up with temporary files, it's definitely an OS issue. |
|
![]() |
![]() |
Advert | |
|
![]() |
#6 |
Connoisseur
![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() Posts: 97
Karma: 200000
Join Date: Aug 2019
Device: none
|
I have a sneaky suspicion that the .mobi8 file is a garbage file it forgets to delete and the .mobi is what I want.
|
![]() |
![]() |
![]() |
#7 |
Resident Curmudgeon
![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() Posts: 79,745
Karma: 145864619
Join Date: Nov 2006
Location: Roslindale, Massachusetts
Device: Kobo Libra 2, Kobo Aura H2O, PRS-650, PRS-T1, nook STR, PW3
|
|
![]() |
![]() |
![]() |
#8 |
just an egg
![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() Posts: 1,827
Karma: 7943430
Join Date: Mar 2015
Device: Kindle, iOS
|
If KindleUnpack works on Linux, you can use it to unpack the .mobi file and see if there's a KF8 and standard Mobi inside.
In addition to the python scripts there is a KindleUnpack Calibre plug-in |
![]() |
![]() |
![]() |
Tags |
kindlegen |
|
![]() |
||||
Thread | Thread Starter | Forum | Replies | Last Post |
kindlegen fails to convert epub | codrutp | Kindle Formats | 8 | 10-26-2018 05:06 PM |
epub to mobi: Kindlegen vs Calibre | rstoothoff | Introduce Yourself | 5 | 08-13-2012 07:27 AM |
kindlegen epub to mobi error | codrutoctavian | Kindle Formats | 2 | 02-14-2012 11:40 AM |