Register Guidelines E-Books Search Today's Posts Mark Forums Read

Go Back   MobileRead Forums > E-Book Formats > ePub

Notices

Reply
 
Thread Tools Search this Thread
Old 09-30-2020, 01:18 PM   #1
JGrubb
Junior Member
JGrubb began at the beginning.
 
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.
Attached Thumbnails
Click image for larger version

Name:	Smashwords Error (9-29-20).jpg
Views:	32
Size:	179.7 KB
ID:	182359   Click image for larger version

Name:	EPUB Validator Results (9-39-20).jpg
Views:	33
Size:	93.2 KB
ID:	182360   Click image for larger version

Name:	Manifest Validation (9-29-20).jpg
Views:	37
Size:	393.5 KB
ID:	182361  
JGrubb is offline   Reply With Quote
Old 09-30-2020, 03:49 PM   #2
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: 25,663
Karma: 35353615
Join Date: Aug 2009
Location: The Central Coast of California
Device: K4NT(Fixed,New Bat.), Galaxy Tab A, Kobo Aura2
look at the OPF entry for that file.
now look at the other images entries
it is missing images/<filename>
theducks is offline   Reply With Quote
Old 09-30-2020, 04:52 PM   #3
JGrubb
Junior Member
JGrubb began at the beginning.
 
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.
JGrubb is offline   Reply With Quote
Old 09-30-2020, 09:56 PM   #4
Techbar
TechnoGeek
Techbar could sell banana peel slippers to a Deveel.Techbar could sell banana peel slippers to a Deveel.Techbar could sell banana peel slippers to a Deveel.Techbar could sell banana peel slippers to a Deveel.Techbar could sell banana peel slippers to a Deveel.Techbar could sell banana peel slippers to a Deveel.Techbar could sell banana peel slippers to a Deveel.Techbar could sell banana peel slippers to a Deveel.Techbar could sell banana peel slippers to a Deveel.Techbar could sell banana peel slippers to a Deveel.Techbar could sell banana peel slippers to a Deveel.
 
Techbar's Avatar
 
Posts: 38
Karma: 3202
Join Date: Jun 2011
Location: Hamilton, New Zealand
Device: Likebook Mars, Boox Kepler Pro, InkBook Obsidian
Quote:
Originally Posted by JGrubb View Post
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.
Did you try 'images' with a capital 'I' ? I think it is case sensitive.
Techbar is offline   Reply With Quote
Old 10-01-2020, 04:00 PM   #5
JGrubb
Junior Member
JGrubb began at the beginning.
 
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.
JGrubb is offline   Reply With Quote
Old 10-02-2020, 09:53 AM   #6
Quoth
the rook, bossing Never.
Quoth ought to be getting tired of karma fortunes by now.Quoth ought to be getting tired of karma fortunes by now.Quoth ought to be getting tired of karma fortunes by now.Quoth ought to be getting tired of karma fortunes by now.Quoth ought to be getting tired of karma fortunes by now.Quoth ought to be getting tired of karma fortunes by now.Quoth ought to be getting tired of karma fortunes by now.Quoth ought to be getting tired of karma fortunes by now.Quoth ought to be getting tired of karma fortunes by now.Quoth ought to be getting tired of karma fortunes by now.Quoth ought to be getting tired of karma fortunes by now.
 
Quoth's Avatar
 
Posts: 2,260
Karma: 10588782
Join Date: Jun 2017
Location: Ireland
Device: Both Kinds: epub based makes and Kindle
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.
Quoth is offline   Reply With Quote
Old 10-02-2020, 06:54 PM   #7
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: 59,929
Karma: 56644595
Join Date: Nov 2006
Location: Roslindale, Massachusetts
Device: Kobo Aura H2O, PRS-650, PRS-T1, nook STR, iPad 4, iPhone SE 2020, PW3
Quote:
Originally Posted by Quoth View Post
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.
Why go through all that nonsense of converting and then converting again. This can only lead to a mess being made of the code. Don't do it.
JSWolf is online now   Reply With Quote
Old 10-02-2020, 06:57 PM   #8
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: 59,929
Karma: 56644595
Join Date: Nov 2006
Location: Roslindale, Massachusetts
Device: Kobo Aura H2O, PRS-650, PRS-T1, nook STR, iPad 4, iPhone SE 2020, PW3
Quote:
Originally Posted by JGrubb View Post
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.
Here's what you can do to find out just where in the ePub your images are. Add .zip to the end of the ePub's filename. Then open it with whatever you use to handle ZIP files. Have a look and see where the images are in relation to the HTML and once you've figured this out, rename the ePub again removing the .zip. Then you can edit it and fix the image links.
JSWolf is online now   Reply With Quote
Old 10-03-2020, 10:52 AM   #9
Doitsu
Grand Sorcerer
Doitsu ought to be getting tired of karma fortunes by now.Doitsu ought to be getting tired of karma fortunes by now.Doitsu ought to be getting tired of karma fortunes by now.Doitsu ought to be getting tired of karma fortunes by now.Doitsu ought to be getting tired of karma fortunes by now.Doitsu ought to be getting tired of karma fortunes by now.Doitsu ought to be getting tired of karma fortunes by now.Doitsu ought to be getting tired of karma fortunes by now.Doitsu ought to be getting tired of karma fortunes by now.Doitsu ought to be getting tired of karma fortunes by now.Doitsu ought to be getting tired of karma fortunes by now.
 
Doitsu's Avatar
 
Posts: 5,017
Karma: 17038365
Join Date: Dec 2010
Device: Kindle PW2
Quote:
Originally Posted by JGrubb View Post
Does anyone know how to do this, if that is indeed the problem?
If EPUBCheck didn't report any problems, it's definitely a SmashWords problem.

The following might work for you:
  1. Open the book with Sigil.
  2. Select Restructure Epub to Sigil Norm.
  3. Save the epub under a different name.
  4. Check the new epub with EPUBCheck.
  5. If EPUBCheck doesn't report any errors, upload the new epub to SmashWords.
Doitsu is offline   Reply With Quote
Old 10-03-2020, 11:18 AM   #10
Quoth
the rook, bossing Never.
Quoth ought to be getting tired of karma fortunes by now.Quoth ought to be getting tired of karma fortunes by now.Quoth ought to be getting tired of karma fortunes by now.Quoth ought to be getting tired of karma fortunes by now.Quoth ought to be getting tired of karma fortunes by now.Quoth ought to be getting tired of karma fortunes by now.Quoth ought to be getting tired of karma fortunes by now.Quoth ought to be getting tired of karma fortunes by now.Quoth ought to be getting tired of karma fortunes by now.Quoth ought to be getting tired of karma fortunes by now.Quoth ought to be getting tired of karma fortunes by now.
 
Quoth's Avatar
 
Posts: 2,260
Karma: 10588782
Join Date: Jun 2017
Location: Ireland
Device: Both Kinds: epub based makes and Kindle
Quote:
Originally Posted by JSWolf View Post
Why go through all that nonsense of converting and then converting again. This can only lead to a mess being made of the code. Don't do it.
Because in YEARS of uploading epubs to Smashwords AND KDP that were imported as docx to Calibre and converted I've not had a problem with images or TOC. Without having to edit the ebook epub/HTML/CSS ever. Proper use of styles, headings, links and images in the source document.

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.
Quoth is offline   Reply With Quote
Old 10-03-2020, 12:54 PM   #11
Hitch
Bookmaker & Cat Slave
Hitch ought to be getting tired of karma fortunes by now.Hitch ought to be getting tired of karma fortunes by now.Hitch ought to be getting tired of karma fortunes by now.Hitch ought to be getting tired of karma fortunes by now.Hitch ought to be getting tired of karma fortunes by now.Hitch ought to be getting tired of karma fortunes by now.Hitch ought to be getting tired of karma fortunes by now.Hitch ought to be getting tired of karma fortunes by now.Hitch ought to be getting tired of karma fortunes by now.Hitch ought to be getting tired of karma fortunes by now.Hitch ought to be getting tired of karma fortunes by now.
 
Hitch's Avatar
 
Posts: 8,710
Karma: 94771937
Join Date: Apr 2010
Location: Phoenix, AZ
Device: K2, iPad, KFire, PPW, Voyage, NookColor. 2 Droid, Oasis, Boox Note2
Quote:
Originally Posted by JGrubb View Post
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.
Have you disassembled and reassembled it?

This is really a very interesting problem!

Hitch
Hitch is offline   Reply With Quote
Old 10-15-2020, 02:14 PM   #12
JGrubb
Junior Member
JGrubb began at the beginning.
 
Posts: 4
Karma: 10
Join Date: Sep 2020
Device: Laptop
Quote:
Originally Posted by Doitsu View Post
If EPUBCheck didn't report any problems, it's definitely a SmashWords problem.

The following might work for you:
  1. Open the book with Sigil.
  2. Select Restructure Epub to Sigil Norm.
  3. Save the epub under a different name.
  4. Check the new epub with EPUBCheck.
  5. If EPUBCheck doesn't report any errors, upload the new epub to SmashWords.
Thank you for your feedback. This was definitely the simplest approach (and worked). I suppose this suggests some quirk with Calibre; though, again, I had no problems with all the other aggregators (Amazon KDP, B&N, Kobo, etc.) using the ePUB file mildly edited using Calbre that had been flagged by Smashwords. Anyway, point to Sigil for helping this problem.
JGrubb is offline   Reply With Quote
Reply

Tags
calibre, directory_file_names, epub, manifest, smashwords

Thread Tools Search this Thread
Search this Thread:

Advanced Search

Forum Jump

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


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


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