View Full Version : ePub unmanifested files


heids124
08-26-2010, 06:01 PM
I apologize if this question has been asked before. I've been researching for HOURS and I can't find an answer! Forgive my n00biness, please...

I am attempting to upload an .epub file on lulu.com. The file was originally a word doc, and I converted it using Calibre. I imported the file into my iTunes and it appears perfectly in my iBooks app on my iPhone. It passed the validation on threepress. But when I upload it, I get an error that there are unmanifested files.

I downloaded Sigil, but I can't figure out what I need to change in the code in order to make it work. Any suggestions??

charleski
08-26-2010, 06:27 PM
Calibre's convenient, but its output always needs work to produce a professional result. An unmanifested file is a file that's present in the archive but not present in the manifest section of the .opf file in the epub. You need to take a look inside the epub and check what's there.

heids124
08-26-2010, 06:54 PM
Do I look at it inside Sigil, or a different program?

Adjust
08-26-2010, 07:03 PM
Do I look at it inside Sigil, or a different program?

A text editor (not word) will do... I use TextWrangler for MAC

heids124
08-26-2010, 07:10 PM
The file comes up as jibberish in TextWrangler.

capidamonte
08-26-2010, 07:35 PM
You've got to unzip it first. It's a zip file renamed .epub. If you edit or change anything, you'll need to rezip it. Take a look around the forums, there are some simple GUI utilities for doing it reliably.

heids124
08-26-2010, 07:53 PM
Awesome - finally got into the .opf file. And now I'm not exactly sure what I'm looking for. If anyone wants to tell me what I need to change, I'd be forever grateful!!!

<?xml version="1.0" encoding="UTF-8"?>
<package xmlns="http://www.idpf.org/2007/opf" unique-identifier="BookID" version="2.0">
<metadata xmlns:dc="http://purl.org/dc/elements/1.1/" xmlns:opf="http://www.idpf.org/2007/opf">
<dc:title>More</dc:title>
<dc:creator opf:role="aut" opf:file-as="Marshall, Heidi">Heidi Marshall</dc:creator>
<dc:contributor opf:role="bkp">calibre (0.7.15) [http://calibre-ebook.com]</dc:contributor>
<dc:language>en</dc:language>
<dc:identifier id="BookID" opf:scheme="UUID">794685ec-e968-4670-8f2c-547613207c82</dc:identifier>
<meta name="cover" content="cover.jpeg"/>
<meta name="Sigil version" content="0.2.4"/>
</metadata>
<manifest>
<item id="ncx" href="toc.ncx" media-type="application/x-dtbncx+xml"/>
<item id="cover.jpeg" href="Images/cover.jpeg" media-type="image/jpeg"/>
<item id="stylesheet.css" href="Styles/stylesheet.css" media-type="text/css"/>
<item id="MoreFinal_split_000.htm" href="Text/More%20Final_split_000.htm" media-type="application/xhtml+xml"/>
<item id="MoreFinal_split_001.htm" href="Text/More%20Final_split_001.htm" media-type="application/xhtml+xml"/>
<item id="MoreFinal_split_002.htm" href="Text/More%20Final_split_002.htm" media-type="application/xhtml+xml"/>
<item id="MoreFinal_split_003.htm" href="Text/More%20Final_split_003.htm" media-type="application/xhtml+xml"/>
<item id="MoreFinal_split_004.htm" href="Text/More%20Final_split_004.htm" media-type="application/xhtml+xml"/>
<item id="MoreFinal_split_005.htm" href="Text/More%20Final_split_005.htm" media-type="application/xhtml+xml"/>
<item id="MoreFinal_split_006.htm" href="Text/More%20Final_split_006.htm" media-type="application/xhtml+xml"/>
<item id="MoreFinal_split_007.htm" href="Text/More%20Final_split_007.htm" media-type="application/xhtml+xml"/>
<item id="MoreFinal_split_008.htm" href="Text/More%20Final_split_008.htm" media-type="application/xhtml+xml"/>
<item id="MoreFinal_split_009.htm" href="Text/More%20Final_split_009.htm" media-type="application/xhtml+xml"/>
<item id="MoreFinal_split_010.htm" href="Text/More%20Final_split_010.htm" media-type="application/xhtml+xml"/>
<item id="MoreFinal_split_011.htm" href="Text/More%20Final_split_011.htm" media-type="application/xhtml+xml"/>
<item id="MoreFinal_split_012.htm" href="Text/More%20Final_split_012.htm" media-type="application/xhtml+xml"/>
<item id="MoreFinal_split_013.htm" href="Text/More%20Final_split_013.htm" media-type="application/xhtml+xml"/>
<item id="MoreFinal_split_014.htm" href="Text/More%20Final_split_014.htm" media-type="application/xhtml+xml"/>
<item id="MoreFinal_split_015.htm" href="Text/More%20Final_split_015.htm" media-type="application/xhtml+xml"/>
<item id="MoreFinal_split_016.htm" href="Text/More%20Final_split_016.htm" media-type="application/xhtml+xml"/>
<item id="MoreFinal_split_017.htm" href="Text/More%20Final_split_017.htm" media-type="application/xhtml+xml"/>
<item id="MoreFinal_split_018.htm" href="Text/More%20Final_split_018.htm" media-type="application/xhtml+xml"/>
<item id="MoreFinal_split_019.htm" href="Text/More%20Final_split_019.htm" media-type="application/xhtml+xml"/>
<item id="MoreFinal_split_020.htm" href="Text/More%20Final_split_020.htm" media-type="application/xhtml+xml"/>
<item id="MoreFinal_split_021.htm" href="Text/More%20Final_split_021.htm" media-type="application/xhtml+xml"/>
<item id="MoreFinal_split_022.htm" href="Text/More%20Final_split_022.htm" media-type="application/xhtml+xml"/>
<item id="MoreFinal_split_023.htm" href="Text/More%20Final_split_023.htm" media-type="application/xhtml+xml"/>
<item id="MoreFinal_split_024.htm" href="Text/More%20Final_split_024.htm" media-type="application/xhtml+xml"/>
<item id="MoreFinal_split_025.htm" href="Text/More%20Final_split_025.htm" media-type="application/xhtml+xml"/>
<item id="MoreFinal_split_026.htm" href="Text/More%20Final_split_026.htm" media-type="application/xhtml+xml"/>
<item id="titlepage.xhtml" href="Text/titlepage.xhtml" media-type="application/xhtml+xml"/>
</manifest>
<spine toc="ncx">
<itemref idref="titlepage.xhtml"/>
<itemref idref="MoreFinal_split_000.htm"/>
<itemref idref="MoreFinal_split_001.htm"/>
<itemref idref="MoreFinal_split_002.htm"/>
<itemref idref="MoreFinal_split_003.htm"/>
<itemref idref="MoreFinal_split_004.htm"/>
<itemref idref="MoreFinal_split_005.htm"/>
<itemref idref="MoreFinal_split_006.htm"/>
<itemref idref="MoreFinal_split_007.htm"/>
<itemref idref="MoreFinal_split_008.htm"/>
<itemref idref="MoreFinal_split_009.htm"/>
<itemref idref="MoreFinal_split_010.htm"/>
<itemref idref="MoreFinal_split_011.htm"/>
<itemref idref="MoreFinal_split_012.htm"/>
<itemref idref="MoreFinal_split_013.htm"/>
<itemref idref="MoreFinal_split_014.htm"/>
<itemref idref="MoreFinal_split_015.htm"/>
<itemref idref="MoreFinal_split_016.htm"/>
<itemref idref="MoreFinal_split_017.htm"/>
<itemref idref="MoreFinal_split_018.htm"/>
<itemref idref="MoreFinal_split_019.htm"/>
<itemref idref="MoreFinal_split_020.htm"/>
<itemref idref="MoreFinal_split_021.htm"/>
<itemref idref="MoreFinal_split_022.htm"/>
<itemref idref="MoreFinal_split_023.htm"/>
<itemref idref="MoreFinal_split_024.htm"/>
<itemref idref="MoreFinal_split_025.htm"/>
<itemref idref="MoreFinal_split_026.htm"/>
</spine>
<guide>
<reference type="cover" title="Cover" href="Text/titlepage.xhtml"/>
</guide>
</package>

Valloric
08-27-2010, 07:34 AM
But when I upload it, I get an error that there are unmanifested files.

I downloaded Sigil, but I can't figure out what I need to change in the code in order to make it work. Any suggestions??

Just opening the epub in Sigil and then saving it discards unmanifested files. So do that. :)

heids124
08-27-2010, 12:58 PM
Thanks everyone! I finally got it to work. Yay for Calibre, yay for Sigil, and boo for Lulu for not accepting perfectly good epub files.

jharker
08-27-2010, 05:52 PM
Well, technically, the file wasn't "perfectly good". The manifest in the .opf file is suppose to list every single file in the archive. So chances are, some files were sitting around that were not listed in the manifest.

Without the help of Sigil, you would have needed to manually look through the folders and make sure that each file was included in the .opf manifest list.

Of course, the question now is, what files did Sigil automatically discard, and did they include useful information?

capidamonte
08-27-2010, 06:08 PM
heids124,

Are you on a Mac?

heids124
08-27-2010, 06:45 PM
Yep, I'm on a mac.

I know there were unmanifested files, but what was annoying to me was the file worked perfectly on my iPhone, and yet Lulu wouldn't accept it. I eventually ended up starting the whole process over - converting to .html from .doc, then converting to epub in Calibre, then using the epub-fix from Calibre in the terminal, then finishing the clean up in Sigil. Quite a process! Sheesh, I practically wrote my book in less time than it took for me to get it online!

Thanks everyone! I would have gone crazy without your help.

capidamonte
08-27-2010, 07:59 PM
It's probably the invisible Mac files then, I forget the names at the moment, the ones that get created in every folder.

Dave_S
08-28-2010, 03:40 AM
Of course, the question now is, what files did Sigil automatically discard, and did they include useful information?

If the EPUB was ever opened in Calibre's reader then the extraneous file was probably the Calibre bookmark file. If the EPUB is destined for publication you probably would not want that file left in the EPUB in any case?

Valloric
08-28-2010, 07:12 AM
It's probably the invisible Mac files then, I forget the names at the moment, the ones that get created in every folder.

.DS_Store (http://en.wikipedia.org/wiki/.DS_Store)? Could be that.

capidamonte
08-28-2010, 08:01 AM
.DS_Store (http://en.wikipedia.org/wiki/.DS_Store)? Could be that.


Yeah. Aren't there a few others? I wonder if Calibre checks for them? Something doesn't.

Adamisk
08-30-2010, 10:41 AM
Hi, I have searched high and dry trying to fix my epub problem.
Here's the story: I want to publish a book on lulu.com.
I made my ebook in inDesign CS5 as seperate documents - then combined them all as a book and exported. I then opened it in Sigil and added Metadata "Date of Creation". It then checked out on epubcheck, however, lulu still says it contains unmanifested files. Opening and saving it in Sigil doesnt seem to have done anything for me.

I am able to unzip the epub file with Stuffit to access the content.opf but I have no idea where to go from here? What do I compare the <manifest> files to and how do I re-save it as an epub file that lulu will be happy with?

Any help would be greatly appreciated!!

Valloric
08-30-2010, 05:36 PM
I then opened it in Sigil and added Metadata "Date of Creation". It then checked out on epubcheck, however, lulu still says it contains unmanifested files. Opening and saving it in Sigil doesnt seem to have done anything for me.

Highly unlikely. When opening an epub file, Sigil only loads files listed in the manifest. The rest are ignored. When saving epubs, all content files are listed in the new manifest, and no other files are added.

Are you sure you're doing everything correctly? You may have uploaded the old file by accident.

mwbiggs
09-01-2010, 12:57 PM
Adamisk

Start spreading the word. The lulu manifest checker has a bug. Any file in the manifest that has a space in its name will be rejected. You need to remove spaces from any file name or path name in the .opf manifest. You can't have spaces in names until Lulu fixes this.

Adamisk
09-03-2010, 06:22 AM
Ok, so heres what I've done

I re-exported the book from within indesign CS5 (it gave me a times new roman font not embedded message btw, but i don't think thats relevant) with the cover as a seperate document, so it now has a seperate .xhtml file called cover.xhtml . Now, if I just open and extract it in a text editor it shows up all bunched together. But when I open it up in Sigil, add the date, save and exit, then it shows up all nicely seperated onto different lines in dreamweaver in the .opf.


Here is an excerpt of the top of my .opf file:

<?xml version="1.0" encoding="UTF-8"?>
<package xmlns="http://www.idpf.org/2007/opf" unique-identifier="BookID" version="2.0">
<metadata xmlns:dc="http://purl.org/dc/elements/1.1/" xmlns:opf="http://www.idpf.org/2007/opf">
<dc:title>American Fab Dad</dc:title>
<dc:creator opf:role="aut">Paul Kerton</dc:creator>
<dc:description>a man's guide to fathering</dc:description>
<dc:date opf:event="creation">2010-09-03</dc:date>
<dc:language>en</dc:language>
<dc:identifier id="BookID" opf:scheme="UUID">5858a97c-3dac-4e13-a257-6e4bb10bb950</dc:identifier>
<meta name="cover" content="cover_fmt.jpeg"/>
<meta name="Sigil version" content="0.2.4"/>
</metadata>
<manifest>
<item id="ncx" href="toc.ncx" media-type="application/x-dtbncx+xml"/>
<item id="cover_fmt.jpeg" href="Images/cover_fmt.jpeg" media-type="image/jpeg"/>
<item id="template.css" href="Styles/template.css" media-type="text/css"/>
<item id="x01Introduction.xhtml" href="Text/01%20Introduction.xhtml" media-type="application/xhtml+xml"/>



As you can see the cover is was added as metadata to the file automatically. I haven't changed the filename so it should be working. Also, none of the .xhtml file names contain spaces so it isnt that either.


Opening and saving it in Springy works a charm but what am I missing here?

charleski
09-03-2010, 06:49 AM
<item id="x01Introduction.xhtml" href="Text/01%20Introduction.xhtml" media-type="application/xhtml+xml"/>


Try renaming your files so they have no spaces of any kind, even escaped entities.

candyhair
07-05-2011, 11:06 PM
Just opening the epub in Sigil and then saving it discards un-:thumbsup:manifested files. So do that. :)

I have had quite a time. First I did not know one thing how to create an epub and Lulu sure doesn't want my PDF. I went to Bookrix and hey, it was so easy making my epub there. It validated and everything except for when I went back to Lulu with the new epub file, it said it was not valid cause it was not a manifested file. I was about ready to pull out my hair! I tried sigil and I could not figure it out so I went to read what I could to try to find out what was a un-manifested file and praise my Lord and Savior Jesus Christ, for finding this post! I tried it just as you said and Lulu took the file now no sweat. I have a lot of books I have written down through the years all ready to be published and ebooks are really selling. So now I can add mine as well.