Register Guidelines E-Books Today's Posts Search

Go Back   MobileRead Forums > E-Book Software > Sigil

Notices

Reply
 
Thread Tools Search this Thread
Old 10-12-2019, 08:41 AM   #1
BillPearl
Junior Member
BillPearl ought to be getting tired of karma fortunes by now.BillPearl ought to be getting tired of karma fortunes by now.BillPearl ought to be getting tired of karma fortunes by now.BillPearl ought to be getting tired of karma fortunes by now.BillPearl ought to be getting tired of karma fortunes by now.BillPearl ought to be getting tired of karma fortunes by now.BillPearl ought to be getting tired of karma fortunes by now.BillPearl ought to be getting tired of karma fortunes by now.BillPearl ought to be getting tired of karma fortunes by now.BillPearl ought to be getting tired of karma fortunes by now.BillPearl ought to be getting tired of karma fortunes by now.
 
Posts: 7
Karma: 591908
Join Date: Jun 2011
Device: Kindle
Sigil - FlightCrew Errors & Solutions

Some common errors I have encounter and the solutions I've found.

ERROR:~~~~~~~~~~~~~~~~~~~~~~~~~~~~
This resource is reachable but not present in the OPF <manifest>. ...

SOLUTION:
Check path name is correct, e.g. ../Styles/Style.css and caps or lower case in name, etc.
or
For Stylesheet error
Select one or more HTML files in the Book Browser.
Right-click on the selection.
Choose Link Stylesheets from the context menu:
Click on the stylesheet(s) you want to be used for the files and select OK.

ERROR:~~~~~~~~~~~~~~~~~~~~~~~~~~~~
This resource is reachable but not present in the OPF <maifest> or <spine>. ...

SOULTION:
In Book Browser, right click filename, Add Semantics ...
Check files in right order,
Possible reference in .css files

ERROR:~~~~~~~~~~~~~~~~~~~~~~~~~~~~
ID value ,_James_P_-_Voyage_from_Yesteryear not valid value

SOLUTION:
Value may not be formatted correctly, uses , [blank], etc.
OR
Rename ID value

ERROR:~~~~~~~~~~~~~~~~~~~~~~~~~~~~
Element 'XXX' in not allowed for content ...

SOLUTION:
<div>
<svg>
<image width="379" height="616" xlink:href="../Images/cover.jpeg"/>
</svg>
</div>
OR put <div> inside of <blockquote> and outside of XXX
OR USE <span> for element 'XXX' may need <p> as well
<p><span style="font-weight:bold">text</span></p>


ERROR:~~~~~~~~~~~~~~~~~~~~~~~~~~~~
no character data is allowed by content model
<blockquote>

SOLUTION:
replace within <head> or CSS
<style type="text/css">
blockquote.style {
margin-top: 10px;
margin-bottom: 10px;
margin-left: 50px;
padding-left: 15px;
}
</style>

EXAMPLE:
blockquote class="style">
alksdfja;lsdkfja;sldkfjasdklfja;sdklfj
</blockquote>

INDENT TEXT LINE
<style>
.pindent {
margin-left: 4em;
margin-right: 4em;
}
</style>
<p class="pindent">Here lies one from a distant star,<br />
but the soil is not alien to him, for in death he belongs to the universe.</p>

ERROR:~~~~~~~~~~~~~~~~~~~~~~~~~~~~
<span> not allowed inside <blockquote>
SOLUTION:
<blockquote><div><span>

ERROR:~~~~~~~~~~~~~~~~~~~~~~~~~~~~
Related to the file toc.ncx
SOLUTION:
Sometimes
Tools > Table of Contents > Generate ToC
will resolve the issue

ERROR:~~~~~~~~~~~~~~~~~~~~~~~~~~~~
element 'span' not allowed. ...

SOLUTION:
if the span is for formatting, e.g. italics,
delete it and re-apply format using editor function for it.
(if a lot of occurances note old and new code and use replace all)

<head>
<meta http-equiv="content-type" content="text/html; charset=UTF-8" />
</head>

ERROR:~~~~~~~~~~~~~~~~~~~~~~~~~~~~
Element or class not declared eg. <u> <strike>

SOLUTION:
Use <span style="text-decoration: underline;">
<span style="text-decoration: line-through">

ERROR:~~~~~~~~~~~~~~~~~~~~~~~~~~~~
schema not satisfied: attribute width <hr width="50%">
<p align="center">

SOLUTION:
<hr style="width:50%" />
<p style="text-align:center">
<p style="center"></p>

<p style="text-align: center; color: rgb(0, 0, 128);">.....</p>

~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~con tent.OPF stuff~~~~~~~~~~~~~~~~~~~~~~~~~~~~

<guide> reference types are:

*cover the book cover(s), jacket information, etc.
*text First "real" page of content (e.g. "Chapter 1")
*toc table of contents
title-page page with possibly title, author, publisher, and other

metadata
index
back-of-book
style
index
glossary
acknowledgements
bibliography
colophon
copyright-page
dedication
epigraph
foreword
loi list of illustrations
lot list of tables
notes
preface

* only ones Amazon really uses

include only these three <guide> elements since it doesn’t appear that anything besides these three items are accessed by any reading platform.
<guide>
<reference type="cover" title="Cover" href="Text/titlepage.xhtml"/>
<reference type="toc" title="Contents" href="Text/contents001.xhtml"/>
<reference type="text" title="Start" href="Text/part002.xhtml"/>
</guide>

~~~~~~~~~~~~~~~~~~
<package version="2.0" unique-identifier="URI" .....
.......need to match.....
<dc:identifier id="URI">BookId</dc:identifier>

<dc:language>en</dc:language>
<dc:title>BookTitle</dc:title>
BillPearl is offline   Reply With Quote
Reply


Forum Jump

Similar Threads
Thread Thread Starter Forum Replies Last Post
FlightCrew Error in Sigil oenopion ePub 8 07-24-2017 02:31 PM
Question about Flightcrew errors Bookripper Sigil 9 01-22-2013 04:37 PM
Flightcrew says Errors, but Sigil says no Errors… Barcelona Sigil 4 02-09-2012 07:13 AM
Sigil 0.4.0 and FlightCrew 0.7.2 Released user_none Sigil 13 08-23-2011 02:18 PM
Hacks checksum errors - any solutions?? Opus Amazon Kindle 10 06-21-2010 03:58 PM


All times are GMT -4. The time now is 05:45 PM.


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