View Single Post
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:	471
Size:	179.7 KB
ID:	182359   Click image for larger version

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

Name:	Manifest Validation (9-29-20).jpg
Views:	469
Size:	393.5 KB
ID:	182361  
JGrubb is offline   Reply With Quote