09-30-2020, 01:18 PM | #1 |
Junior Member
Posts: 4
Karma: 10
Join Date: Sep 2020
Device: Laptop
|
Broken EPUB (missing files): JPEG Image not listed in manifest
General Problem
I keep getting an error message when I try to upload my EPUB file on Smashwords: "File 'Illirium_Map_There_was_Music.jpg' in EPUB not listed in manifest! Your .epub file is missing one or more elements in its manifest. . . ." After extensive review, and scouring the internet for troubleshooting solutions, I cannot figure out how to resolve this. I have run the EPUB through another EPUB Validator, which finds no errors (see attached screenshot), and reviewed the manifest manually using Calibre (via the content.opf listing - see attached screenshot), which shows the image in question as part of the manifest - with consistent naming. Moreover, the files are clearly listed in the directory, and no other aggregator site has raised this problem with the exact same EPUB file. Smashword Response, Part 1 I contacted the Smashword Service Team, and using my actual EPUB file, a member reviewed it with their tech team. He responded: "I had our techies take a look at the EPUB and they suspect it's due to the formatting of the underlying HTML for that particular file in your EPUB manifest. Specifically, they suspect it's due to the "../" in the HTML for the file in question: <item id="id1" href="../Illirium_Map_There_was_Music.jpg" media-type="image/jpeg"/> By contrast, your other elements include the exact directories, e.g.: <item id="image_cover" href="Images/d84614660b3bc605c904b4cb49ac72bc55c6934e_smallRaw. jpg" media-type="image/jpeg"/> <item id="content_8_part-2-wilderness" href="Text/8_part-2-wilderness.xhtml" media-type="application/xhtml+xml"/> Updating the href attribute to explicitly include the entire directory will likely fix the issue. Question about Calibre I originally entered that image using Calibre, while the rest of the EPUB was generated by Reedsy, the former took the complete file name "Illirium_Map_There_was_Music" and added the ".../" preceding it for some reason. I've tried removing and re-adding the image file a couple times, but the same result occurs. Trying to edit the ePUB manually, I do not appear to be able to change the registry listing (i.e. removing the ".../") without creating a link error within the EPUB, which removes the image. Smashword Response, Part 2 Inquiring further about this, the representative responded: You'll need to move the image out of the root directory into the oebps directory, and update the link to the image everywhere it's used through out the book as well as the manifest. Lingering Question Does anyone know how to do this, if that is indeed the problem? Or is there something else I am missing? Again, this error has not come up with any other eBook aggregator. Thank you very much for your time and help. |
09-30-2020, 03:49 PM | #2 |
Well trained by Cats
Posts: 29,785
Karma: 54830978
Join Date: Aug 2009
Location: The Central Coast of California
Device: Kobo Libra2,Kobo Aura2v1, K4NT(Fixed: New Bat.), Galaxy Tab A
|
look at the OPF entry for that file.
now look at the other images entries it is missing images/<filename> |
09-30-2020, 04:52 PM | #3 |
Junior Member
Posts: 4
Karma: 10
Join Date: Sep 2020
Device: Laptop
|
Thanks for providing feedback. I had tried that, and tried it again; but writing in "images/" ahead of the file name (in place of "../") and the file placement location and/or the OPF appears to break the link, removing the image from view.
|
09-30-2020, 09:56 PM | #4 |
TechnoGeek
Posts: 43
Karma: 3202
Join Date: Jun 2011
Location: Hamilton, New Zealand
Device: Likebook Mars, Boox Kepler Pro, InkBook Obsidian
|
Did you try 'images' with a capital 'I' ? I think it is case sensitive.
|
10-01-2020, 04:00 PM | #5 |
Junior Member
Posts: 4
Karma: 10
Join Date: Sep 2020
Device: Laptop
|
Thank you for the additional thoughts. I tried that, both ways ("Images/" or "images/") not yielding productive results.
I even tried shortening the file name, wondering if the "../" was due to a longer name, but that didn't make a difference. Moreover, I experimented by adding a new random file from my computer, which was also given a "../" before the file name, so that suggests a Calibre default. As the EPUB has not been flagged by any other aggregator, and the file naming is consistent within the EPUB (as visible using Calibre), I wonder if the Smashwords quality check (presumably AI-based) just doesn't know what to do with the "../". Judging by their website interface for authors, perhaps they are using an older framework for checking EPUB files. Unless I am missing something. |
10-02-2020, 09:53 AM | #6 |
the rook, bossing Never.
Posts: 11,096
Karma: 85874891
Join Date: Jun 2017
Location: Ireland
Device: All 4 Kinds: epub eink, Kindle, android eink, NxtPaper11
|
Export from Calibre as an RTF if you don't have Wordprocessor source.
Make sure everything such as headings, styles and images are OK in the Wordproccessor (Word or LO Writer). Save in native format for later edits. Save AS in docx. Import Docx to Calibre. Make sure page format settings is Tablet. Make an epub2. Upload that to Smashwords, Google, Amazon KDP etc as desired. I've had 100% success with that and no issues with TOC or images for years. Though all our source texts are either our own LO Writer documents or Public Domain Mobi files (We don't upload those anywhere and usually convert direct to epub to read on a Kobo. Sometimes we export PD or Amazon mobi or AZW as RTF and edit to fix severe formatting issues for our own reading. Only items to be in the System TOC should have a heading level. |
10-02-2020, 06:54 PM | #7 | |
Resident Curmudgeon
Posts: 73,897
Karma: 128597114
Join Date: Nov 2006
Location: Roslindale, Massachusetts
Device: Kobo Libra 2, Kobo Aura H2O, PRS-650, PRS-T1, nook STR, PW3
|
Quote:
|
|
10-02-2020, 06:57 PM | #8 | |
Resident Curmudgeon
Posts: 73,897
Karma: 128597114
Join Date: Nov 2006
Location: Roslindale, Massachusetts
Device: Kobo Libra 2, Kobo Aura H2O, PRS-650, PRS-T1, nook STR, PW3
|
Quote:
|
|
10-03-2020, 10:52 AM | #9 |
Grand Sorcerer
Posts: 5,583
Karma: 22735033
Join Date: Dec 2010
Device: Kindle PW2
|
If EPUBCheck didn't report any problems, it's definitely a SmashWords problem.
The following might work for you:
|
10-03-2020, 11:18 AM | #10 | |
the rook, bossing Never.
Posts: 11,096
Karma: 85874891
Join Date: Jun 2017
Location: Ireland
Device: All 4 Kinds: epub eink, Kindle, android eink, NxtPaper11
|
Quote:
The files are actually created and edited in LO Writer odt native format and an EXTRA save as docx done. Abandoned MS Word in 2016 and Windows in 2017, though I do have Word 2003 on WINE for checking, if I needed it, and Word 2007 in a Windows VM also for checking. I've not needed either. Loads of people would be seeing this if it was a Smashwords problem. |
|
10-03-2020, 12:54 PM | #11 | |
Bookmaker & Cat Slave
Posts: 11,460
Karma: 158448243
Join Date: Apr 2010
Location: Phoenix, AZ
Device: K2, iPad, KFire, PPW, Voyage, NookColor. 2 Droid, Oasis, Boox Note2
|
Quote:
This is really a very interesting problem! Hitch |
|
10-15-2020, 02:14 PM | #12 | |
Junior Member
Posts: 4
Karma: 10
Join Date: Sep 2020
Device: Laptop
|
Quote:
|
|
Tags |
calibre, directory_file_names, epub, manifest, smashwords |
|
Similar Threads | ||||
Thread | Thread Starter | Forum | Replies | Last Post |
File 'META-INF/encryption.xml' in EPUB not listed in manifest! | Bowcat | ePub | 2 | 10-14-2019 08:02 PM |
files not listed in the manifest | lumpynose | Sigil | 10 | 07-29-2019 06:38 PM |
Converting mobi to epub distorts jpeg files | mpavlik | Conversion | 1 | 12-19-2018 07:34 PM |
Convert SVG to PNG/JPEG in ePUB files | bunglegrind | Conversion | 2 | 04-24-2016 05:01 PM |
Missing Image files | mconh | Kobo Reader | 16 | 12-14-2011 05:27 PM |