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-16-2013, 07:52 AM   #1
kerliza
Member
kerliza began at the beginning.
 
kerliza's Avatar
 
Posts: 19
Karma: 10
Join Date: Oct 2013
Device: none
Question OEBPS validation error

In Sigil Flight crew validation check I am seeing one error I can't locate in one html file making up a chapter. It appears simple:

OEBPS N/A 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.

Any suggestions where to begin? I've combed through the content.opf and the successfully cleaned chapters mirror the structure closely with the problematic file. I have found no other problems like this online after hours of searching that appear this basic or possibly global.

Last edited by kerliza; 10-16-2013 at 07:57 AM. Reason: clarification
kerliza is offline   Reply With Quote
Old 10-16-2013, 08:55 AM   #2
mrmikel
Book Twiddler
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,028
Karma: 1424487
Join Date: Apr 2008
Location: Central Oregon Coast
Device: PRS-300
You could have a space in the name or it could be in capital letters. Try searching for a fragment of the name.

You could also try running it through the online epubcheck and it might give you a different and maybe more useful message.
mrmikel is offline   Reply With Quote
 
Enthusiast
Old 10-16-2013, 11:16 AM   #3
theducks
Grand Sorcerer
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: 14,630
Karma: 5628865
Join Date: Aug 2009
Location: (The original) Silicon Valley, USA
Device: Galaxy Tab 2, Astak Pocket Pro, K4NT
Could be ANYWHERE (I never understood why it could not report the 'first found' since it was "reachable")

Certain (unknown) operations leave remnants in the OPF, so remember to look there (and the NCX if you did not have Sigil create a fresh TOC)

(old) HTML TOC is another place that filenames appear
theducks is offline   Reply With Quote
Old 10-16-2013, 11:18 AM   #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: 9,035
Karma: 40855212
Join Date: Jan 2010
Device: Nexus 7, Kindle Fire HD
Check all links in the text. There could be one with a mispelling or capitalization problem like mrmikel mentioned.

Usually, it's a link to file that just doesn't exist in the epub. Focus on the html toc and/or the toc.ncx first. That's where the most links usually are. Then expand outward to things like footnote links, header links (back to the html toc), and any other links that may or may not be included in the text of your book.

If all else fails, search for "href=" with Find & Replace, and verify each and every occurence.

There may be a Sigil Report that helps with links as well (I'm away from Sigil and can't remember for sure).
DiapDealer is online now   Reply With Quote
Old 10-16-2013, 11:57 AM   #5
theducks
Grand Sorcerer
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: 14,630
Karma: 5628865
Join Date: Aug 2009
Location: (The original) Silicon Valley, USA
Device: Galaxy Tab 2, Astak Pocket Pro, K4NT
Quote:
Originally Posted by DiapDealer View Post
Check all links in the text. There could be one with a mispelling or capitalization problem like mrmikel mentioned.

Usually, it's a link to file that just doesn't exist in the epub. Focus on the html toc and/or the toc.ncx first. That's where the most links usually are. Then expand outward to things like footnote links, header links (back to the html toc), and any other links that may or may not be included in the text of your book.

If all else fails, search for "href=" with Find & Replace, and verify each and every occurence.

There may be a Sigil Report that helps with links as well (I'm away from Sigil and can't remember for sure).
You may be thinking of the 'Links' section of Tools: Reports

IIRC that will NOT include looking at any non-html files (NCX, OPF)
theducks is offline   Reply With Quote
Old 10-18-2013, 02:21 AM   #6
kerliza
Member
kerliza began at the beginning.
 
kerliza's Avatar
 
Posts: 19
Karma: 10
Join Date: Oct 2013
Device: none
Quote:
Originally Posted by mrmikel View Post
You could have a space in the name or it could be in capital letters. Try searching for a fragment of the name.

You could also try running it through the online epubcheck and it might give you a different and maybe more useful message.
Thanks for directing me to the online validator!

I ran the file through the EPUB Validator at http://validator.idpf.org/
and found the error line for the omission. Earlier in developing the chapter I had tested an html file in Text/Section0001.xhtml and then deleted it losing the content between quote marks. The error created by doing that was altering the toc so it could not point to the first html file:
<content src="" /> in toc.ncx

The correction was to copy from a "NO PROBLEMS FOUND" Epub and the file was thereafter successfully flightcrew validated with the line: <content src="Text/Section0001.xhtml"/>

I have postponed working with toc formation because the project is in a fluid state presently. The ncx is not a file I have combed before as I am new to Sigil. That hurdle is yet ahead.

Last edited by kerliza; 10-18-2013 at 02:35 AM. Reason: correction
kerliza is offline   Reply With Quote
Old 10-18-2013, 02:27 AM   #7
kerliza
Member
kerliza began at the beginning.
 
kerliza's Avatar
 
Posts: 19
Karma: 10
Join Date: Oct 2013
Device: none
Quote:
Originally Posted by DiapDealer View Post
Check all links in the text. There could be one with a mispelling or capitalization problem like mrmikel mentioned.

Usually, it's a link to file that just doesn't exist in the epub. Focus on the html toc and/or the toc.ncx first. That's where the most links usually are. Then expand outward to things like footnote links, header links (back to the html toc), and any other links that may or may not be included in the text of your book.

If all else fails, search for "href=" with Find & Replace, and verify each and every occurence.

There may be a Sigil Report that helps with links as well (I'm away from Sigil and can't remember for sure).
Yes, I did comb all the links in the Sigil Report and all were valid. I spent over 16 hours trying to find the problem before I posted on this forum. You were right in directing me to focus on the toc.ncx as the problem was in the content src file name being absent.

Thanks for your suggestion.
kerliza is offline   Reply With Quote
Old 10-18-2013, 02:42 AM   #8
kerliza
Member
kerliza began at the beginning.
 
kerliza's Avatar
 
Posts: 19
Karma: 10
Join Date: Oct 2013
Device: none
I ran the file through the online validator (barely made it as the file was 9.5Mb with a limitation of 10Mb max) and found the error.

Also popping into the error list were long file names used for images. Is there an instance in creating EPUBs where long file names with spaces are rejected? Must I close the spaces in the hundreds of image files created to date that are being placed in Sigil to clear hurdles for use in various e-readers?

If so, what program is best used to bulk process file name changes that saves into Sigil using an external pic editor?

Last edited by kerliza; 10-18-2013 at 02:54 AM.
kerliza is offline   Reply With Quote
Old 10-18-2013, 06:54 AM   #9
mrmikel
Book Twiddler
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,028
Karma: 1424487
Join Date: Apr 2008
Location: Central Oregon Coast
Device: PRS-300
As I recall you can use the bulk rename function in Sigil itself. It will destroy the existing names, but it will fix the names where they are found in the epub, so the epub will work just fine.

Highlight the file names in the images folder and right click to select rename and it will give you a dialog box, so that you can choose the base name such as picture, image, etc followed by sequential numbers.

Linux is not fond of spaces in file names and Linux runs by Sony PRS-300 anyway.
mrmikel is offline   Reply With Quote
Old 10-18-2013, 07:22 AM   #10
PeterT
Taking a break; Fed up
PeterT ought to be getting tired of karma fortunes by now.PeterT ought to be getting tired of karma fortunes by now.PeterT ought to be getting tired of karma fortunes by now.PeterT ought to be getting tired of karma fortunes by now.PeterT ought to be getting tired of karma fortunes by now.PeterT ought to be getting tired of karma fortunes by now.PeterT ought to be getting tired of karma fortunes by now.PeterT ought to be getting tired of karma fortunes by now.PeterT ought to be getting tired of karma fortunes by now.PeterT ought to be getting tired of karma fortunes by now.PeterT ought to be getting tired of karma fortunes by now.
 
PeterT's Avatar
 
Posts: 6,774
Karma: 43931916
Join Date: Nov 2007
Location: Toronto
Device: Wife: Touch, Arc, Vox Me: Nexus 7, Glo
Quote:
Originally Posted by mrmikel View Post
Linux is not fond of spaces in file names and Linux runs by Sony PRS-300 anyway.
That's the first time I've seen that claim..... Sure at the command line you have to prefix the space in the filename by a \ but I'm not at all sure that means Linux is not fond of spaces.
PeterT is online now   Reply With Quote
Old 10-18-2013, 07:44 AM   #11
kerliza
Member
kerliza began at the beginning.
 
kerliza's Avatar
 
Posts: 19
Karma: 10
Join Date: Oct 2013
Device: none
bulk image rename

I used the Sigil process for one set of image files in a chapter (which made a huge task for reentering the "alt image" labels) but in merging the separately managed chapters into one epub the images regrouped according to alpha-numeric ordering to become a unanimous mess.

I'll have to work on the approach to have 11 chapters with a compilation of 500 pictures make sense for fine editing when there is no way to separate the images into distinct folders. One mistake and raking through the image list will be monstrous given the limitations of the search feature for image management.

What would be cool is if the images could be given separate folders to correspond to their parent chapter in Sigil.

Image archiving will be an ongoing task in this century due to the collage collections of the past that have historical significance to every community since photography began. E-publishing has to form a path in expecting the future of image management for story illustration will be a flourishing industry.

In the meantime, bulk renaming in Sigil has been daunting in trying to find a way to do it without losing the original image name which distinguishes it at a glance; a substitution I find handy given there is not a thumbnail feature in Sigil for visual image recognition ordering. The insert feature is a tedious image search approach.

Musing the mussiness
kerliza is offline   Reply With Quote
Old 10-18-2013, 08:39 AM   #12
mrmikel
Book Twiddler
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,028
Karma: 1424487
Join Date: Apr 2008
Location: Central Oregon Coast
Device: PRS-300
Quote:
Originally Posted by PeterT View Post
That's the first time I've seen that claim..... Sure at the command line you have to prefix the space in the filename by a \ but I'm not at all sure that means Linux is not fond of spaces.
Thanks for clarifying this Peter. It was probably a limitation of the particular program or a lack of knowledge that the backslash would work. In a practical sense, going back and forth between Windows and Linux and throwing in backslashes probably is an invitation to confusion for me.
mrmikel is offline   Reply With Quote
Old 10-18-2013, 08:51 AM   #13
mrmikel
Book Twiddler
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,028
Karma: 1424487
Join Date: Apr 2008
Location: Central Oregon Coast
Device: PRS-300
Kerliza,

It might be possible to structure an epub this way, with additional image folders. It is just that Sigil doesn't support infinite variations in doing so. They wanted to be sure that anything produced was valid, so it is limited in its possible output as I understand it. It is already a million line program, and the idea of a ten million line program might have had not so much appeal to the developers.

You might be able to accomplish this in a way I have seen it done in some other books - by file name. A possible might be ch1Image1, ch1Image2, etc. Not elegant but it might be possible. You might select just a chapter's worth at a time and use the ch1, etc at the base as they get renamed. But it isn't going to give you descriptive names.

A clunky but useable work around could be to unzip the epub file to a work directory and open a graphics program which has a preview function which would allow to roll over each name and see the image.
mrmikel is offline   Reply With Quote
Old 10-18-2013, 08:52 AM   #14
Jellby
frumious Bandersnatch
Jellby ought to be getting tired of karma fortunes by now.Jellby ought to be getting tired of karma fortunes by now.Jellby ought to be getting tired of karma fortunes by now.Jellby ought to be getting tired of karma fortunes by now.Jellby ought to be getting tired of karma fortunes by now.Jellby ought to be getting tired of karma fortunes by now.Jellby ought to be getting tired of karma fortunes by now.Jellby ought to be getting tired of karma fortunes by now.Jellby ought to be getting tired of karma fortunes by now.Jellby ought to be getting tired of karma fortunes by now.Jellby ought to be getting tired of karma fortunes by now.
 
Jellby's Avatar
 
Posts: 6,148
Karma: 4792399
Join Date: Jan 2008
Location: Spaniard in Sweden
Device: Cybook Orizon, Kobo Aura
You can also use quotes:

Code:
$ rm "file name with spaces.txt"
But spaces in filenames are generally a "Bad Idea"™. Not all programs are designed with them in mind, and you'll be finding bugs every now and then.
Jellby is online now   Reply With Quote
Old 10-18-2013, 10:30 AM   #15
theducks
Grand Sorcerer
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: 14,630
Karma: 5628865
Join Date: Aug 2009
Location: (The original) Silicon Valley, USA
Device: Galaxy Tab 2, Astak Pocket Pro, K4NT
Quote:
Originally Posted by kerliza View Post
I used the Sigil process for one set of image files in a chapter (which made a huge task for reentering the "alt image" labels) but in merging the separately managed chapters into one epub the images regrouped according to alpha-numeric ordering to become a unanimous mess.

I'll have to work on the approach to have 11 chapters with a compilation of 500 pictures make sense for fine editing when there is no way to separate the images into distinct folders. One mistake and raking through the image list will be monstrous given the limitations of the search feature for image management.

What would be cool is if the images could be given separate folders to correspond to their parent chapter in Sigil.

Image archiving will be an ongoing task in this century due to the collage collections of the past that have historical significance to every community since photography began. E-publishing has to form a path in expecting the future of image management for story illustration will be a flourishing industry.

In the meantime, bulk renaming in Sigil has been daunting in trying to find a way to do it without losing the original image name which distinguishes it at a glance; a substitution I find handy given there is not a thumbnail feature in Sigil for visual image recognition ordering. The insert feature is a tedious image search approach.

Musing the mussiness
Why would renaming the image file make Alt= need work??

Alt= Should be a descriptive of the Image or "" for decorations

good
alt="Cover"
better
alt="Girl in tiny Red Bikini on a bright, sandy beach"
alt= is not a place to just repeat the files name (frequently seen)
theducks is offline   Reply With Quote
Reply

Tags
validation error

Thread Tools Search this Thread
Search this Thread:

Advanced Search

Forum Jump

Similar Threads
Thread Thread Starter Forum Replies Last Post
Validation Error help! SkyeSkye Sigil 4 07-10-2013 02:41 PM
Validation Error Adjust ePub 3 07-21-2011 12:06 AM
Validation error soparch ePub 2 04-15-2011 01:09 PM
Error during validation macdafydd ePub 19 12-01-2010 06:07 PM
Validation error rrosenwald Calibre 10 10-01-2010 11:12 AM


All times are GMT -4. The time now is 12:01 PM.


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