View Single Post
Old 09-06-2010, 12:37 PM   #1
Vagabondista
Junior Member
Vagabondista began at the beginning.
 
Posts: 2
Karma: 10
Join Date: Sep 2010
Device: iPad
Question Unfinished Element error

HELP. I have one error that I can't get rid of...Ran my code through threepress, and got back one error...

ERROR: Copy of Final.epub/OEBPS/content.opf(22): unfinished element

So I went into content.opf to see if I missed something, line 22 is
<meta name="cover" content="cover.jpeg"/>
and don't see anything I thought perhaps it was actually an unmanifested file, since the cover is not showing up in manifest, but rather below in guide, so tried taking line 22 out just to see, but when I zipped it back up and ran it through again, I got two new errors...variations on these errors are appearing now in if I unzip an epub and then zip it back up.

# ERROR: CowFinal.epub: length of first filename in archive must be 8, but was 18
# ERROR: CowFinal.epub: Required META-INF/container.xml resource is missing

Am pretty frustrated at this point, so if anyone else wants to take a glance at my content.opf and tell me what I am missing, I would really appreciate it!!
Just as an FYI I exported out of InDesign, added the cover and meta-data in Calibre, and then ran it through Sigil for good measure.

Thanks!

<?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>Cow of Gueckedou</dc:title>
<dc:identifier opf:scheme="ISBN">9780984604968</dc:identifier>
<dc:subject>Africa</dc:subject>
<dc:subject>Travel</dc:subject>
<dc:subject>Short Stories</dc:subject>
<dc:creator opf:role="aut" opf:file-as="Rippey, Paul">Paul Rippey</dc:creator>
<dc:contributor opf:role="bkp">calibre (0.7.16) [http://calibre-ebook.com]</dc:contributor>
<dc:description>Paul Rippey lived in Africa for twenty years with his wife and four children through coups d'état in four countries, many weird diseases, and lots of inconvenience. He captures some of the flavor of this time in this book of sixteen short chapters written in Conakry Guinea, where most of the stories take place.
</dc:description>
<dc:publisher>Knaritas Digital</dc:publisher>
<dc:identifier id="BookID" opf:scheme="UUID">0d93aa14-7af6-4078-94ed-b39b9eef93e9</dc:identifier>
<meta name="cover" content="cover.jpeg"/>
<meta name="Sigil version" content="0.2.2"/>
</metadata>
<manifest>
<item id="ncx" href="toc.ncx" media-type="application/x-dtbncx+xml"/>
<item id="ARIALBD.TTF" href="Fonts/ARIALBD.TTF" media-type="application/x-font-truetype"/>
<item id="CALIBRI.TTF" href="Fonts/CALIBRI.TTF" media-type="application/x-font-truetype"/>
<item id="CALIBRIB.TTF" href="Fonts/CALIBRIB.TTF" media-type="application/x-font-truetype"/>
<item id="CALIBRII.TTF" href="Fonts/CALIBRII.TTF" media-type="application/x-font-truetype"/>
<item id="GARABD.TTF" href="Fonts/GARABD.TTF" media-type="application/x-font-truetype"/>
<item id="TIMES.TTF" href="Fonts/TIMES.TTF" media-type="application/x-font-truetype"/>
<item id="TIMESBD.TTF" href="Fonts/TIMESBD.TTF" media-type="application/x-font-truetype"/>
<item id="verdana.TTF" href="Fonts/verdana.TTF" media-type="application/x-font-truetype"/>
<item id="Assault_fmt.jpeg" href="Images/Assault_fmt.jpeg" media-type="image/jpeg"/>
<item id="BettysBirthday_fmt.jpeg" href="Images/BettysBirthday_fmt.jpeg" media-type="image/jpeg"/>
<item id="CoeurdeBoeuf_fmt.jpeg" href="Images/CoeurdeBoeuf_fmt.jpeg" media-type="image/jpeg"/>
<item id="CriscoCaviar_fmt.jpeg" href="Images/CriscoCaviar_fmt.jpeg" media-type="image/jpeg"/>
<item id="Devil-Dark_fmt.jpeg" href="Images/Devil-Dark_fmt.jpeg" media-type="image/jpeg"/>
<item id="Donkeys_fmt.jpeg" href="Images/Donkeys_fmt.jpeg" media-type="image/jpeg"/>
<item id="Exploding_fmt.jpeg" href="Images/Exploding_fmt.jpeg" media-type="image/jpeg"/>
<item id="FishTree_fmt.jpeg" href="Images/FishTree_fmt.jpeg" media-type="image/jpeg"/>
<item id="Helicopter_fmt.jpeg" href="Images/Helicopter_fmt.jpeg" media-type="image/jpeg"/>
<item id="HotelofKiss_fmt.jpeg" href="Images/HotelofKiss_fmt.jpeg" media-type="image/jpeg"/>
<item id="HotelsofKankan_fmt.jpeg" href="Images/HotelsofKankan_fmt.jpeg" media-type="image/jpeg"/>
<item id="MudCloth_fmt.jpeg" href="Images/MudCloth_fmt.jpeg" media-type="image/jpeg"/>
<item id="Muezzins_fmt.jpeg" href="Images/Muezzins_fmt.jpeg" media-type="image/jpeg"/>
<item id="PeedyNicknames_fmt.jpeg" href="Images/PeedyNicknames_fmt.jpeg" media-type="image/jpeg"/>
<item id="RestaurantsofMacenta_fmt.jpeg" href="Images/RestaurantsofMacenta_fmt.jpeg" media-type="image/jpeg"/>
<item id="TataRestaurant_fmt.jpeg" href="Images/TataRestaurant_fmt.jpeg" media-type="image/jpeg"/>
<item id="Taxi_fmt.jpeg" href="Images/Taxi_fmt.jpeg" media-type="image/jpeg"/>
<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="AssaultonMountKakoulima.xhtml" href="Text/Assault%20on%20Mount%20Kakoulima.xhtml" media-type="application/xhtml+xml"/>
<item id="BettysBirthday.xhtml" href="Text/Betty%27s%20Birthday.xhtml" media-type="application/xhtml+xml"/>
<item id="ByHelicoptertoBoke.xhtml" href="Text/By%20Helicopter%20to%20Boke.xhtml" media-type="application/xhtml+xml"/>
<item id="Copyright.xhtml" href="Text/Copyright.xhtml" media-type="application/xhtml+xml"/>
<item id="CriscoCaviar.xhtml" href="Text/Crisco%20%26%20Caviar.xhtml" media-type="application/xhtml+xml"/>
<item id="Devils.xhtml" href="Text/Devils.xhtml" media-type="application/xhtml+xml"/>
<item id="ExplodingAnimals.xhtml" href="Text/Exploding%20Animals.xhtml" media-type="application/xhtml+xml"/>
<item id="Introduction.xhtml" href="Text/Introduction.xhtml" media-type="application/xhtml+xml"/>
<item id="MudCloth.xhtml" href="Text/Mud%20Cloth.xhtml" media-type="application/xhtml+xml"/>
<item id="Muezzins.xhtml" href="Text/Muezzins.xhtml" media-type="application/xhtml+xml"/>
<item id="TaxiQA.xhtml" href="Text/Taxi%20Q%26A.xhtml" media-type="application/xhtml+xml"/>
<item id="TheDonkeysAnus.xhtml" href="Text/The%20Donkey%27s%20Anus.xhtml" media-type="application/xhtml+xml"/>
<item id="TheFishTree.xhtml" href="Text/The%20Fish%20Tree.xhtml" media-type="application/xhtml+xml"/>
<item id="TheHotelofKissidougou.xhtml" href="Text/The%20Hotel%20of%20Kissidougou.xhtml" media-type="application/xhtml+xml"/>
<item id="TheHotelsofKankan.xhtml" href="Text/The%20Hotels%20of%20Kankan.xhtml" media-type="application/xhtml+xml"/>
<item id="TheRestaurantsofMacenta.xhtml" href="Text/The%20Restaurants%20of%20Macenta.xhtml" media-type="application/xhtml+xml"/>
<item id="TheSpeedyNicknamesClub.xhtml" href="Text/The%20Speedy%20Nicknames%20Club.xhtml" media-type="application/xhtml+xml"/>
<item id="TheTataRestaurantsandtheSaalaFalls.xhtml" href="Text/The%20Tata%20Restaurants%20and%20the%20Saala%20Fal ls.xhtml" media-type="application/xhtml+xml"/>
<item id="TitlePage.xhtml" href="Text/Title%20Page.xhtml" 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="TitlePage.xhtml"/>
<itemref idref="Copyright.xhtml"/>
<itemref idref="Introduction.xhtml"/>
<itemref idref="BettysBirthday.xhtml"/>
<itemref idref="AssaultonMountKakoulima.xhtml"/>
<itemref idref="TheDonkeysAnus.xhtml"/>
<itemref idref="ByHelicoptertoBoke.xhtml"/>
<itemref idref="Devils.xhtml"/>
<itemref idref="ExplodingAnimals.xhtml"/>
<itemref idref="CriscoCaviar.xhtml"/>
<itemref idref="MudCloth.xhtml"/>
<itemref idref="TaxiQA.xhtml"/>
<itemref idref="TheSpeedyNicknamesClub.xhtml"/>
<itemref idref="TheHotelofKissidougou.xhtml"/>
<itemref idref="TheRestaurantsofMacenta.xhtml"/>
<itemref idref="TheHotelsofKankan.xhtml"/>
<itemref idref="TheTataRestaurantsandtheSaalaFalls.xhtml"/>
<itemref idref="Muezzins.xhtml"/>
<itemref idref="TheFishTree.xhtml"/>
</spine>
<guide>
<reference type="cover" title="Cover" href="Text/titlepage.xhtml"/>
</guide>
</package>
Vagabondista is offline   Reply With Quote