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

Go Back   MobileRead Forums > E-Book Software > Sigil

Notices

Reply
 
Thread Tools Search this Thread
Old 10-24-2012, 09:21 PM   #1
beatstockpromo
Member
beatstockpromo began at the beginning.
 
Posts: 15
Karma: 10
Join Date: Oct 2012
Device: none
Sigil EPUB validation error

Hi I am in the final stages of creating an EPUB in Sigil. I originally created my ebook in Ms Word and then exported to a clean HTML. I then tidied it up in Dreamweaver and then imported to SIGIL. I have done everything that I believe I needed to including building my NCX and my inline TOC. Unfortunately when I run the validation tool in Sigial I am getting the following error:


This resource is reachable but not present in the OPF <manifest>. "Reachable" means that a reference of some kind that points to this resource exists in the epub.

The error doesn't give a line. My original html file that I imported into Sigil was called: PennyStocksBehindtheScenes.html and when I look at the top bar in Sigil the name reads PennyStocksBehindtheScenes.html

At the bottom of my content.opf file I have the following lines which seem like they relate to this error:

<item href="Text/PennyStocksBehindtheScenes.html" id="PennyStocksBehindtheScenes.html" media-type="application/xhtml+xml" />
</manifest>
<spine toc="ncx">
<itemref idref="PennyStocksBehindtheScenes.html" />
</spine>
</package>

I tried removing this line <itemref idref="PennyStocksBehindtheScenes.html" /> and then validating again but it just gave more errors. I also tried <item href="Text/PennyStocksBehindtheScenes.html" id="PennyStocksBehindtheScenes.html" media-type="application/xhtml+xml" /> but it also gave more errors when I validated it again.

Here is my opf file:

<?xml version="1.0" encoding="utf-8" standalone="yes"?>
<package xmlns="http://www.idpf.org/2007/opf" unique-identifier="BookId" version="2.0">
<metadata xmlns:dc="http://purl.org/dc/elements/1.1/" xmlnspf="http://www.idpf.org/2007/opf">
<dc:identifier id="BookId" opf:scheme="UUID">urn:uuid:11951172-85dc-422a-a0b5-532d19321c4d</dc:identifier>
<dc:title>Penny Stocks Behind The Scenes: Beat The Promoters At Their Own Game &amp; Profit</dc:title>
<dc:identifier opf:scheme="ISBN">978-1-62314-066-3</dc:identifier>
<dc:rights>Beatstockpromoters.com</dc:rights>
<dc:creator opf:role="aut">XXXXXX XXXXX</dc:creator>
<dc:date opf:event="publication">2012-06-01</dc:date>
<dc:language>en</dc:language>
<meta content="0.5.3" name="Sigil version" />
<meta content="Cover.jpg" name="cover" />
</metadata>
<manifest>
<item href="toc.ncx" id="ncx" media-type="application/x-dtbncx+xml" />
<item href="Images/Cover.jpg" id="Cover.jpg" media-type="image/jpeg" />
<item href="Images/image001.jpg" id="image001.jpg" media-type="image/jpeg" />
<item href="Images/image002.jpg" id="image002.jpg" media-type="image/jpeg" />
<item href="Images/image003.jpg" id="image003.jpg" media-type="image/jpeg" />
<item href="Images/image004.jpg" id="image004.jpg" media-type="image/jpeg" />
<item href="Images/image005.jpg" id="image005.jpg" media-type="image/jpeg" />
<item href="Images/image006.jpg" id="image006.jpg" media-type="image/jpeg" />
<item href="Images/image007.jpg" id="image007.jpg" media-type="image/jpeg" />
<item href="Images/image008.jpg" id="image008.jpg" media-type="image/jpeg" />
<item href="Images/image009.jpg" id="image009.jpg" media-type="image/jpeg" />
<item href="Images/image010.jpg" id="image010.jpg" media-type="image/jpeg" />
<item href="Images/image011.jpg" id="image011.jpg" media-type="image/jpeg" />
<item href="Images/image012.jpg" id="image012.jpg" media-type="image/jpeg" />
<item href="Images/image013.jpg" id="image013.jpg" media-type="image/jpeg" />
<item href="Images/image014.jpg" id="image014.jpg" media-type="image/jpeg" />
<item href="Images/image015.jpg" id="image015.jpg" media-type="image/jpeg" />
<item href="Images/image016.jpg" id="image016.jpg" media-type="image/jpeg" />
<item href="Images/image017.jpg" id="image017.jpg" media-type="image/jpeg" />
<item href="Images/image018.jpg" id="image018.jpg" media-type="image/jpeg" />
<item href="Images/image019.jpg" id="image019.jpg" media-type="image/jpeg" />
<item href="Images/image020.jpg" id="image020.jpg" media-type="image/jpeg" />
<item href="Images/image021.jpg" id="image021.jpg" media-type="image/jpeg" />
<item href="Images/image022.jpg" id="image022.jpg" media-type="image/jpeg" />
<item href="Images/image023.jpg" id="image023.jpg" media-type="image/jpeg" />
<item href="Images/image024.jpg" id="image024.jpg" media-type="image/jpeg" />
<item href="Images/image025.jpg" id="image025.jpg" media-type="image/jpeg" />
<item href="Images/image026.jpg" id="image026.jpg" media-type="image/jpeg" />
<item href="Images/image027.jpg" id="image027.jpg" media-type="image/jpeg" />
<item href="Images/image028.jpg" id="image028.jpg" media-type="image/jpeg" />
<item href="Images/image029.jpg" id="image029.jpg" media-type="image/jpeg" />
<item href="Images/image030.jpg" id="image030.jpg" media-type="image/jpeg" />
<item href="Images/image031.jpg" id="image031.jpg" media-type="image/jpeg" />
<item href="Images/image032.jpg" id="image032.jpg" media-type="image/jpeg" />
<item href="Images/image033.jpg" id="image033.jpg" media-type="image/jpeg" />
<item href="Images/image034.jpg" id="image034.jpg" media-type="image/jpeg" />
<item href="Images/image035.jpg" id="image035.jpg" media-type="image/jpeg" />
<item href="Images/image036.jpg" id="image036.jpg" media-type="image/jpeg" />
<item href="Images/image037.jpg" id="image037.jpg" media-type="image/jpeg" />
<item href="Images/image038.jpg" id="image038.jpg" media-type="image/jpeg" />
<item href="Images/image039.jpg" id="image039.jpg" media-type="image/jpeg" />
<item href="Images/image040.jpg" id="image040.jpg" media-type="image/jpeg" />
<item href="Images/image041.jpg" id="image041.jpg" media-type="image/jpeg" />
<item href="Images/image042.jpg" id="image042.jpg" media-type="image/jpeg" />
<item href="Images/image043.jpg" id="image043.jpg" media-type="image/jpeg" />
<item href="Images/image044.jpg" id="image044.jpg" media-type="image/jpeg" />
<item href="Images/image045.jpg" id="image045.jpg" media-type="image/jpeg" />
<item href="Images/image046.jpg" id="image046.jpg" media-type="image/jpeg" />
<item href="Images/image047.jpg" id="image047.jpg" media-type="image/jpeg" />
<item href="Images/image048.jpg" id="image048.jpg" media-type="image/jpeg" />
<item href="Images/image049.jpg" id="image049.jpg" media-type="image/jpeg" />
<item href="Images/image050.jpg" id="image050.jpg" media-type="image/jpeg" />
<item href="Images/image051.jpg" id="image051.jpg" media-type="image/jpeg" />
<item href="Images/image052.jpg" id="image052.jpg" media-type="image/jpeg" />
<item href="Images/image053.jpg" id="image053.jpg" media-type="image/jpeg" />
<item href="Images/image054.jpg" id="image054.jpg" media-type="image/jpeg" />
<item href="Images/image055.jpg" id="image055.jpg" media-type="image/jpeg" />
<item href="Images/image056.jpg" id="image056.jpg" media-type="image/jpeg" />
<item href="Images/image057.jpg" id="image057.jpg" media-type="image/jpeg" />
<item href="Images/image058.jpg" id="image058.jpg" media-type="image/jpeg" />
<item href="Images/image059.jpg" id="image059.jpg" media-type="image/jpeg" />
<item href="Images/image060.jpg" id="image060.jpg" media-type="image/jpeg" />
<item href="Images/image061.jpg" id="image061.jpg" media-type="image/jpeg" />
<item href="Images/image062.jpg" id="image062.jpg" media-type="image/jpeg" />
<item href="Text/PennyStocksBehindtheScenes.html" id="PennyStocksBehindtheScenes.html" media-type="application/xhtml+xml" />
</manifest>
<spine toc="ncx">
<itemref idref="PennyStocksBehindtheScenes.html" />
</spine>
</package>


Does any have any idea how I can fix this? This is driving me crazy. I have tried to fix it for hours but I am not experienced at all with this software or creating EPUBS. Thanks
beatstockpromo is offline   Reply With Quote
Old 10-24-2012, 09:40 PM   #2
beatstockpromo
Member
beatstockpromo began at the beginning.
 
Posts: 15
Karma: 10
Join Date: Oct 2012
Device: none
Sorry I forgot I have two errors: Here is the second similar error:

This OPS document is reachable but not present in the OPF <spine>. "Reachable" means that a reference of some kind that points to this resource exists in the epub.
beatstockpromo is offline   Reply With Quote
Advert
Old 10-24-2012, 09:43 PM   #3
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: 73,645
Karma: 127838196
Join Date: Nov 2006
Location: Roslindale, Massachusetts
Device: Kobo Libra 2, Kobo Aura H2O, PRS-650, PRS-T1, nook STR, PW3
Have you made sure your XML file is not too large? Have you split it into chapters?

If your XML is too large, it won't work on some readers/reading apps.
JSWolf is offline   Reply With Quote
Old 10-24-2012, 09:57 PM   #4
DiapDealer
Grand Sorcerer
DiapDealer ought to be getting tired of karma fortunes by now.DiapDealer ought to be getting tired of karma fortunes by now.DiapDealer ought to be getting tired of karma fortunes by now.DiapDealer ought to be getting tired of karma fortunes by now.DiapDealer ought to be getting tired of karma fortunes by now.DiapDealer ought to be getting tired of karma fortunes by now.DiapDealer ought to be getting tired of karma fortunes by now.DiapDealer ought to be getting tired of karma fortunes by now.DiapDealer ought to be getting tired of karma fortunes by now.DiapDealer ought to be getting tired of karma fortunes by now.DiapDealer ought to be getting tired of karma fortunes by now.
 
DiapDealer's Avatar
 
Posts: 27,463
Karma: 192992430
Join Date: Jan 2010
Device: Nexus 7, Kindle Fire HD
Quote:
My original html file that I imported into Sigil was called: PennyStocksBehindtheScenes.html and when I look at the top bar in Sigil the name reads PennyStocksBehindtheScenes.html
The above would imply that you haven't saved it as an epub yet. But I have no idea if that would cause any validation issues with v0.5.3.

Check your toc.ncx file. I'm guessing one of the "src" attributes in a "content" tag is misspelled (probably a case-sensitivity issue).

Code:
<content src="Text/PennystocksBehindtheScenes.html#chap1" />
...or some-such. Post the ncx if you have trouble spotting it.

Those two exact errors ... no line numbers. Guaranteed it's in the toc.ncx. Been there, done that, yanked my hair out over it.

Last edited by DiapDealer; 10-24-2012 at 10:05 PM.
DiapDealer is offline   Reply With Quote
Old 10-24-2012, 10:03 PM   #5
beatstockpromo
Member
beatstockpromo began at the beginning.
 
Posts: 15
Karma: 10
Join Date: Oct 2012
Device: none
One last thing: Inder File in the validation results it shows:

OEBPS/Text/images/PennyStocksBehindTheScenes.html

I am not sure exactly what this is saying because I have no folder text/images
beatstockpromo is offline   Reply With Quote
Advert
Old 10-24-2012, 10:19 PM   #6
DiapDealer
Grand Sorcerer
DiapDealer ought to be getting tired of karma fortunes by now.DiapDealer ought to be getting tired of karma fortunes by now.DiapDealer ought to be getting tired of karma fortunes by now.DiapDealer ought to be getting tired of karma fortunes by now.DiapDealer ought to be getting tired of karma fortunes by now.DiapDealer ought to be getting tired of karma fortunes by now.DiapDealer ought to be getting tired of karma fortunes by now.DiapDealer ought to be getting tired of karma fortunes by now.DiapDealer ought to be getting tired of karma fortunes by now.DiapDealer ought to be getting tired of karma fortunes by now.DiapDealer ought to be getting tired of karma fortunes by now.
 
DiapDealer's Avatar
 
Posts: 27,463
Karma: 192992430
Join Date: Jan 2010
Device: Nexus 7, Kindle Fire HD
Quote:
Originally Posted by beatstockpromo View Post
I am not sure exactly what this is saying because I have no folder text/images
It's saying that one of the documents in your epub is trying to refer to that non-existent folder. You've got a bum href/src attribute attempting to link to a resource in a folder that doesn't exist.
DiapDealer is offline   Reply With Quote
Old 10-25-2012, 06:02 AM   #7
meme
Sigil developer
meme ought to be getting tired of karma fortunes by now.meme ought to be getting tired of karma fortunes by now.meme ought to be getting tired of karma fortunes by now.meme ought to be getting tired of karma fortunes by now.meme ought to be getting tired of karma fortunes by now.meme ought to be getting tired of karma fortunes by now.meme ought to be getting tired of karma fortunes by now.meme ought to be getting tired of karma fortunes by now.meme ought to be getting tired of karma fortunes by now.meme ought to be getting tired of karma fortunes by now.meme ought to be getting tired of karma fortunes by now.
 
Posts: 1,275
Karma: 1101600
Join Date: Jan 2011
Location: UK
Device: Kindle PW, K4 NT, K3, Kobo Touch
Whenever you get this message from FlightCrew validation the most important item to note is the 'filename' shown in the File column. Something is referring to that 'filename' incorrectly: either there is spelling mistake in the use of 'filename' in your EPUB, you no longer need to refer to the 'filename', or you forgot to include the file in your EPUB.

You need to search your entire EPUB for the 'filename' because it is listed somewhere:

NOTE: If the name is something like "OEBPS/Text/images/PennyStocksBehindTheScenes.html", then search only for "Text/images/PennyStocksBehindTheScenes.html" (remove the "OEBPS/" part of the name as it will not be used in the EPUB paths), or if you still can't find it search just for "PennyStocksBehindTheScenes.html"

1. Search All HTML Files - to search your text files
2. Search toc.ncx (set search to Current File and open the toc.ncx file)
3. Search content.opf (set search to Current File and open the toc.ncx file)
4. When you find it, check if you can just delete the reference, if you need to fix a typo, or if you need to add a file to your EPUB.
meme is offline   Reply With Quote
Old 10-25-2012, 08:08 PM   #8
beatstockpromo
Member
beatstockpromo began at the beginning.
 
Posts: 15
Karma: 10
Join Date: Oct 2012
Device: none
I still haven't figured it out. I changed the main page to index.html and now the error is about index.html. One thing I noticed is that in my table of contents (not ncx file) I have H1 and H2 tages for everything and each of those has a tag like this <a href="images/index.html#ch1.

Why would this be in the images directory instead of the text directory? In any case I tried changing this to text/index.html but just got more errors when I tried the validation tool again.
beatstockpromo is offline   Reply With Quote
Old 10-25-2012, 09:52 PM   #9
mrmikel
Color me gone
mrmikel ought to be getting tired of karma fortunes by now.mrmikel ought to be getting tired of karma fortunes by now.mrmikel ought to be getting tired of karma fortunes by now.mrmikel ought to be getting tired of karma fortunes by now.mrmikel ought to be getting tired of karma fortunes by now.mrmikel ought to be getting tired of karma fortunes by now.mrmikel ought to be getting tired of karma fortunes by now.mrmikel ought to be getting tired of karma fortunes by now.mrmikel ought to be getting tired of karma fortunes by now.mrmikel ought to be getting tired of karma fortunes by now.mrmikel ought to be getting tired of karma fortunes by now.
 
Posts: 2,089
Karma: 1445295
Join Date: Apr 2008
Location: Central Oregon Coast
Device: PRS-300
It looks like at some point you inadvertently dropped some text into the images directory or what exported from dreamweaver was not a flat hierarchy, but directories off directories.

It might be easier now to just open a new document in Sigil with a section for each chapter and simply copy and paste each chapter's text into it. You'd also need to insert the images. But at least the structure would not be a problem that way.
mrmikel is offline   Reply With Quote
Old 10-25-2012, 10:00 PM   #10
exaltedwombat
Guru
exaltedwombat ought to be getting tired of karma fortunes by now.exaltedwombat ought to be getting tired of karma fortunes by now.exaltedwombat ought to be getting tired of karma fortunes by now.exaltedwombat ought to be getting tired of karma fortunes by now.exaltedwombat ought to be getting tired of karma fortunes by now.exaltedwombat ought to be getting tired of karma fortunes by now.exaltedwombat ought to be getting tired of karma fortunes by now.exaltedwombat ought to be getting tired of karma fortunes by now.exaltedwombat ought to be getting tired of karma fortunes by now.exaltedwombat ought to be getting tired of karma fortunes by now.exaltedwombat ought to be getting tired of karma fortunes by now.
 
Posts: 878
Karma: 2457540
Join Date: Nov 2011
Device: none
I'd strongly suggest that you write your book in the most basic text style (even If I start out in Word, I often paste the text into NotePad to strip out all formatting) and apply all formatting in Sigil.
exaltedwombat is offline   Reply With Quote
Old 10-26-2012, 06:42 AM   #11
DiapDealer
Grand Sorcerer
DiapDealer ought to be getting tired of karma fortunes by now.DiapDealer ought to be getting tired of karma fortunes by now.DiapDealer ought to be getting tired of karma fortunes by now.DiapDealer ought to be getting tired of karma fortunes by now.DiapDealer ought to be getting tired of karma fortunes by now.DiapDealer ought to be getting tired of karma fortunes by now.DiapDealer ought to be getting tired of karma fortunes by now.DiapDealer ought to be getting tired of karma fortunes by now.DiapDealer ought to be getting tired of karma fortunes by now.DiapDealer ought to be getting tired of karma fortunes by now.DiapDealer ought to be getting tired of karma fortunes by now.
 
DiapDealer's Avatar
 
Posts: 27,463
Karma: 192992430
Join Date: Jan 2010
Device: Nexus 7, Kindle Fire HD
Quote:
I have H1 and H2 tages for everything and each of those has a tag like this <a href="images/index.html#ch1. Why would this be in the images directory instead of the text directory?
I don't know why those hrefs would be like that, but that is the exact problem, right there.

Quote:
In any case I tried changing this to text/index.html but just got more errors when I tried the validation tool again.
Everything is case sensitive. There is no 'text' folder in a Sigil-built ePub. There is a 'Text' folder. Change all the hrefs in your html ToC to:
href="../Text/index.html#ch1"
href="../Text/index.html#ch2"
etc...

Last edited by DiapDealer; 10-26-2012 at 06:45 AM.
DiapDealer is offline   Reply With Quote
Old 10-29-2012, 07:44 PM   #12
beatstockpromo
Member
beatstockpromo began at the beginning.
 
Posts: 15
Karma: 10
Join Date: Oct 2012
Device: none
Mrmikel thank you very much. That solved my problem!
beatstockpromo is offline   Reply With Quote
Reply

Thread Tools Search this Thread
Search this Thread:

Advanced Search

Forum Jump

Similar Threads
Thread Thread Starter Forum Replies Last Post
PROBLEM TOC VALIDATION ERROR IN SIGIL Ibn ePub 7 06-06-2012 03:28 AM
Need help with Sigil validation error wraylewis Sigil 8 12-21-2011 02:46 PM
ePub Validation Fail after Sigil edit dm1839 Sigil 7 10-16-2011 07:59 PM
ePub validation error -- what? Yuroc ePub 2 08-16-2011 01:29 PM
Sigil epub validation sassanik Sigil 0 01-25-2011 11:58 AM


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


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