Register Guidelines E-Books Today's Posts Search

Go Back   MobileRead Forums > E-Book Software > Sigil

Notices

Reply
 
Thread Tools Search this Thread
Old 01-31-2012, 03:44 AM   #1
patrickyoung
Member
patrickyoung began at the beginning.
 
Posts: 23
Karma: 10
Join Date: Jan 2012
Device: Nook
frustrating error messages

We've recently converted a manuscript to epub (with lots of help from users on this forum) but when we check the document we get two error messages and no clue as to how to fix them.

The messages are:

OEBPS/Images/CHOICES-cover.jpg This resource is present in the OPF <manifest>, but it's not reachable (it's unused).


OEBPS/Text/Section0001.xhtml ID value 'heading_id_12' is not unique

Cover.jpg is the cover of the book and it show ok when you look at the epub so we're not sure why it says its not reachable.

We've also looked at the document in code view and can see only one mention of 'heading_id_12' so no idea why its saying its not unique. Can anyone help?
patrickyoung is offline   Reply With Quote
Old 01-31-2012, 05:48 AM   #2
WS64
WS64 ought to be getting tired of karma fortunes by now.WS64 ought to be getting tired of karma fortunes by now.WS64 ought to be getting tired of karma fortunes by now.WS64 ought to be getting tired of karma fortunes by now.WS64 ought to be getting tired of karma fortunes by now.WS64 ought to be getting tired of karma fortunes by now.WS64 ought to be getting tired of karma fortunes by now.WS64 ought to be getting tired of karma fortunes by now.WS64 ought to be getting tired of karma fortunes by now.WS64 ought to be getting tired of karma fortunes by now.WS64 ought to be getting tired of karma fortunes by now.
 
WS64's Avatar
 
Posts: 660
Karma: 506380
Join Date: Aug 2010
Location: Germany
Device: Kobo Aura / PB Lux 2 / Bookeen Frontlight / Kobo Mini / Nook Color
The cover image is not linked from somewhere, that's why it is unused.

For the heading, just remove all headings (search for ' id="heading_id_[0-9]+"' without the ' and replace it with nothing), then regenerate the TOC.
WS64 is offline   Reply With Quote
Advert
Old 01-31-2012, 06:26 AM   #3
patrickyoung
Member
patrickyoung began at the beginning.
 
Posts: 23
Karma: 10
Join Date: Jan 2012
Device: Nook
Hi,
Thanks for your reply. Re the headings issue: are you saying that where, for example it says

<h1 id="heading_id_25"><span class="sgc-3">Chapter 1</span></h1>

I should remove all the data around Chapter 1 so that I'm left with

<p>Chapter 1</p>

I've just tried that and it couldn't generate a TOC. Obvioulsy I'm getting the wrong end of the stick here. Can you clarify please?

As an example, where it says <h2 id="heading_id_26">Chapter 2</h2>
what do I delete and what do I leave?
patrickyoung is offline   Reply With Quote
Old 01-31-2012, 07:46 AM   #4
Perkin
Guru
Perkin calls his or her ebook reader Vera.Perkin calls his or her ebook reader Vera.Perkin calls his or her ebook reader Vera.Perkin calls his or her ebook reader Vera.Perkin calls his or her ebook reader Vera.Perkin calls his or her ebook reader Vera.Perkin calls his or her ebook reader Vera.Perkin calls his or her ebook reader Vera.Perkin calls his or her ebook reader Vera.Perkin calls his or her ebook reader Vera.Perkin calls his or her ebook reader Vera.
 
Perkin's Avatar
 
Posts: 655
Karma: 64171
Join Date: Sep 2010
Location: Kent, England, Sol 3, ZZ9 plural Z Alpha
Device: Sony PRS-300, Kobo Aura HD, iPad (Marvin)
As WS64 said, search for: (notice leading space)
Code:
 id="heading_id_[0-9]+"
Replace with blank, then regenerate TOC

So
<h1 id="heading_id_25"><span class="sgc-3">Chapter 1</span></h1>

will become
<h1><span class="sgc-3">Chapter 1</span></h1>

Still leaving the <h#> tags, which will be picked up in the regeneration
Perkin is offline   Reply With Quote
Old 01-31-2012, 08:07 AM   #5
user_none
Sigil & calibre developer
user_none ought to be getting tired of karma fortunes by now.user_none ought to be getting tired of karma fortunes by now.user_none ought to be getting tired of karma fortunes by now.user_none ought to be getting tired of karma fortunes by now.user_none ought to be getting tired of karma fortunes by now.user_none ought to be getting tired of karma fortunes by now.user_none ought to be getting tired of karma fortunes by now.user_none ought to be getting tired of karma fortunes by now.user_none ought to be getting tired of karma fortunes by now.user_none ought to be getting tired of karma fortunes by now.user_none ought to be getting tired of karma fortunes by now.
 
user_none's Avatar
 
Posts: 2,488
Karma: 1063785
Join Date: Jan 2009
Location: Florida, USA
Device: Nook STR
Quote:
Originally Posted by patrickyoung View Post
OEBPS/Images/CHOICES-cover.jpg This resource is present in the OPF <manifest>, but it's not reachable (it's unused).

Cover.jpg is the cover of the book and it show ok when you look at the epub so we're not sure why it says its not reachable.
Is Cover.jpg the cover or is CHOICES-cover.jpg the cover? Where does it show? In Sigil? In another reader? EPUB supports specifying a cover that is used by readers but is never used in the actual book.
user_none is offline   Reply With Quote
Advert
Old 01-31-2012, 08:45 AM   #6
patrickyoung
Member
patrickyoung began at the beginning.
 
Posts: 23
Karma: 10
Join Date: Jan 2012
Device: Nook
Thanks. That makes sense. As for the first part of my posting, any ideas why we're getting an error that says:

OEBPS/Images/CHOICES-cover.jpg

This resource is present in the OPF <manifest>, but it's not reachable (it's unused).

cover.jpg is the cover of the book and, when the document is transferrred to a reading device, the book appears with the cover. Any idea how we can fix this?
patrickyoung is offline   Reply With Quote
Old 01-31-2012, 08:55 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
Quote:
Originally Posted by patrickyoung View Post
Thanks. That makes sense. As for the first part of my posting, any ideas why we're getting an error that says:

OEBPS/Images/CHOICES-cover.jpg

This resource is present in the OPF <manifest>, but it's not reachable (it's unused).

cover.jpg is the cover of the book and, when the document is transferrred to a reading device, the book appears with the cover. Any idea how we can fix this?
As user_none said - the error message says CHOICES-cover.jpg is missing, and you are saying the file name is cover.jpg
meme is offline   Reply With Quote
Old 01-31-2012, 09:16 AM   #8
patrickyoung
Member
patrickyoung began at the beginning.
 
Posts: 23
Karma: 10
Join Date: Jan 2012
Device: Nook
My apologies, the file name for our cover image is CHOICES-cover.jpg. I've been told we have to declare the file in OPF so that we can get rid of the message. Is this straight forward to do?
patrickyoung is offline   Reply With Quote
Old 01-31-2012, 09:51 AM   #9
Toxaris
Wizard
Toxaris ought to be getting tired of karma fortunes by now.Toxaris ought to be getting tired of karma fortunes by now.Toxaris ought to be getting tired of karma fortunes by now.Toxaris ought to be getting tired of karma fortunes by now.Toxaris ought to be getting tired of karma fortunes by now.Toxaris ought to be getting tired of karma fortunes by now.Toxaris ought to be getting tired of karma fortunes by now.Toxaris ought to be getting tired of karma fortunes by now.Toxaris ought to be getting tired of karma fortunes by now.Toxaris ought to be getting tired of karma fortunes by now.Toxaris ought to be getting tired of karma fortunes by now.
 
Toxaris's Avatar
 
Posts: 4,520
Karma: 121692313
Join Date: Oct 2009
Location: Heemskerk, NL
Device: PRS-T1, Kobo Touch, Kobo Aura
You have the image in you OPF, but you don't use it in any xhtml files. Therefore the message 'is not used'.
Toxaris is offline   Reply With Quote
Reply


Forum Jump

Similar Threads
Thread Thread Starter Forum Replies Last Post
Error Messages in Calibre didiyy Devices 17 01-11-2013 03:31 PM
error messages on new PC huskerruth Devices 1 02-16-2011 11:56 AM
Help with resolving error messages? zebedee Introduce Yourself 10 01-02-2011 05:34 PM
Error Messages in Calibre didiyy Introduce Yourself 4 09-10-2010 10:45 AM
Contradictory error messages in ConvertLit Fledchen Workshop 6 02-21-2009 12:38 PM


All times are GMT -4. The time now is 06:07 PM.


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