![]() |
#1 |
Member
![]() Posts: 24
Karma: 10
Join Date: Oct 2013
Device: none
|
![]()
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 |
![]() |
![]() |
![]() |
#2 |
Color me gone
![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() Posts: 2,089
Karma: 1445295
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. |
![]() |
![]() |
![]() |
#3 |
Well trained by Cats
![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() Posts: 30,908
Karma: 60358908
Join Date: Aug 2009
Location: The Central Coast of California
Device: Kobo Libra2,Kobo Aura2v1, K4NT(Fixed: New Bat.), Galaxy Tab A
|
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 |
![]() |
![]() |
![]() |
#4 |
Grand Sorcerer
![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() Posts: 28,358
Karma: 203720150
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). |
![]() |
![]() |
![]() |
#5 | |
Well trained by Cats
![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() Posts: 30,908
Karma: 60358908
Join Date: Aug 2009
Location: The Central Coast of California
Device: Kobo Libra2,Kobo Aura2v1, K4NT(Fixed: New Bat.), Galaxy Tab A
|
Quote:
IIRC that will NOT include looking at any non-html files (NCX, OPF) |
|
![]() |
![]() |
![]() |
#6 | |
Member
![]() Posts: 24
Karma: 10
Join Date: Oct 2013
Device: none
|
Quote:
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 |
|
![]() |
![]() |
![]() |
#7 | |
Member
![]() Posts: 24
Karma: 10
Join Date: Oct 2013
Device: none
|
Quote:
Thanks for your suggestion. |
|
![]() |
![]() |
![]() |
#8 |
Member
![]() Posts: 24
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. |
![]() |
![]() |
![]() |
#9 |
Color me gone
![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() Posts: 2,089
Karma: 1445295
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. |
![]() |
![]() |
![]() |
#10 |
Grand Sorcerer
![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() Posts: 13,306
Karma: 78876004
Join Date: Nov 2007
Location: Toronto
Device: Libra H2O, Libra Colour
|
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.
|
![]() |
![]() |
![]() |
#11 |
Member
![]() Posts: 24
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 |
![]() |
![]() |
![]() |
#12 |
Color me gone
![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() Posts: 2,089
Karma: 1445295
Join Date: Apr 2008
Location: Central Oregon Coast
Device: PRS-300
|
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.
|
![]() |
![]() |
![]() |
#13 |
Color me gone
![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() Posts: 2,089
Karma: 1445295
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. |
![]() |
![]() |
![]() |
#14 |
frumious Bandersnatch
![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() Posts: 7,543
Karma: 19001583
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" |
![]() |
![]() |
![]() |
#15 | |
Well trained by Cats
![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() Posts: 30,908
Karma: 60358908
Join Date: Aug 2009
Location: The Central Coast of California
Device: Kobo Libra2,Kobo Aura2v1, K4NT(Fixed: New Bat.), Galaxy Tab A
|
Quote:
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) |
|
![]() |
![]() |
![]() |
Tags |
validation error |
|
![]() |
||||
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 |