![]() |
#1 |
Junior Member
![]() Posts: 4
Karma: 10
Join Date: Jan 2018
Device: none
|
![]()
Hello, Calibres!
I'm hoping one or more you might be able to shed some light on an issue I'm having. I have repeatedly tried to submit the EPUB I created in Calibre to iTunes; though Kindle had no issue with it, iTunes constantly rejects it and the EPUB Validator brings up dozens of error messages, with no hint as to how to fix the "problem." The majority of the pings come from one specific section of HTML, which contains several hundred ↺ characters meant to link readers back to the sections from which my endnotes originate. I've tried tweaking that, but no such luck. I don't want to fill up a post with error codes until someone here asks for the specifically, but as an indicator, they all include "Error while parsing file 'attribute..." Ironically, the EPUB in question works fine on the iBooks Reader. I have a feeling the problem is on their end and not through Calibre's creation of the EPUB, but they suggested connecting with my "third-party" program before further pressing them for a solution. So here I am! Thanks in advance for any light you guys can shed on this frustrating turn of events! Mike |
![]() |
![]() |
![]() |
#2 |
Wizard
![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() Posts: 1,613
Karma: 6718541
Join Date: Dec 2004
Location: Paradise (Key West, FL)
Device: Current:Surface Go & Kindle 3 - Retired: DellV8p, Clie UX50, ...
|
|
![]() |
![]() |
Advert | |
|
![]() |
#3 |
Junior Member
![]() Posts: 4
Karma: 10
Join Date: Jan 2018
Device: none
|
Hi, Dwig! Thanks for the response. With ↺ I was actually going for a counterclockwise circle arrow, but, inspired by your reply I figured maybe that character was too fancy for iTunes Producer so I redid my EPUB 9 times with a different character each time, and they all flagged. I don't know why iTunes is making this so difficult when it cut through Kindle like butter. After this, I am convinced the problem is with iTunes and not my EPUB. I appreciate your attempt to help, though!
|
![]() |
![]() |
![]() |
#4 |
creator of calibre
![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() Posts: 44,265
Karma: 23661992
Join Date: Oct 2006
Location: Mumbai, India
Device: Various
|
The problem is really with epubcheck, which iTunes uses under the hood. epubcheck generates tons of useless errors/warnings for things that are not actually problems. If you paste some of those error messages someone can probably tell you how to fix them. Note that calibre guarantees that the epub it produces will satisfy epubcheck only if you give it input HTML/CSS that satisfies epubcheck. https://manual.calibre-ebook.com/faq...e-is-not-valid
|
![]() |
![]() |
![]() |
#5 |
Junior Member
![]() Posts: 4
Karma: 10
Join Date: Jan 2018
Device: none
|
Hello, Kovid! I'm honored that Calibre's creator is willing to try and help me solve this EPUB conundrum.
![]() ![]() Anyway, now that we've gotten into it, here are the first three error messages I've gotten (there are more, but you get the idea): ERROR ITMS-9000: "I_Samantha_Take_This_Mortal_Darrin_-_Adam-Michael_James.epub: /Users/brighthorse/Music/iTunes Producer/Playlists/9780692979266.itmsp/I_Samantha_Take_This_Mortal_Darrin_-_Adam-Michael_James.epub/iSam_ebook_fixed_split_023.html(14): [RSC-005] Error while parsing file 'attribute "_title" not allowed here; expected attribute "accesskey", "charset", "class", "coords", "dir", "hreflang", "id", "lang", "rel", "rev", "shape", "style", "tabindex", "target", "title", "type" or "xml:lang"'.. This error occurs 465 times. (For more information refer to http://support.apple.com/kb/HT6213)" at Book/BookAssets ERROR ITMS-9000: "I_Samantha_Take_This_Mortal_Darrin_-_Adam-Michael_James.epub: /Users/brighthorse/Music/iTunes Producer/Playlists/9780692979266.itmsp/I_Samantha_Take_This_Mortal_Darrin_-_Adam-Michael_James.epub/iSam_ebook_fixed_split_023.html(14): [RSC-005] Error while parsing file 'attribute "to" not allowed here; expected attribute "accesskey", "charset", "class", "coords", "dir", "hreflang", "id", "lang", "rel", "rev", "shape", "style", "tabindex", "target", "title", "type" or "xml:lang"'.. This error occurs 465 times. (For more information refer to http://support.apple.com/kb/HT6213)" at Book/BookAssets ERROR ITMS-9000: "I_Samantha_Take_This_Mortal_Darrin_-_Adam-Michael_James.epub: /Users/brighthorse/Music/iTunes Producer/Playlists/9780692979266.itmsp/I_Samantha_Take_This_Mortal_Darrin_-_Adam-Michael_James.epub/iSam_ebook_fixed_split_023.html(14): [RSC-005] Error while parsing file 'attribute "chapter" not allowed here; expected attribute "accesskey", "charset", "class", "coords", "dir", "hreflang", "id", "lang", "rel", "rev", "shape", "style", "tabindex", "target", "title", "type" or "xml:lang"'.. This error occurs 465 times. (For more information refer to http://support.apple.com/kb/HT6213)" at Book/BookAssets It turns out "...split_023.html" is the section that contains all my endnotes. Of which there are...465. So that narrows that down. Here is a small sampling of my HTML that includes links meant to take my readers back to the the passage from where they clicked on the endnote: <p id="e1016">16. <em>The Bewitched Continuum</em>, pg. 223<a href="#ref1016" "title=return to Chapter 10">↺</a></p><br> <p id="e1017">17. “Mrs. Stephens, Where Are You?” (#160)<a href="#ref1017" "title=return to Chapter 10">↺</a></p><br> <p id="e1018">18. “Samantha on Thin Ice” (#246)<a href="#ref1018" "title=return to Chapter 10">↺</a></p><br> This all works fine on the eReaders I've tested it on...including iBooks! So if this fills in any blanks...! ![]() |
![]() |
![]() |
Advert | |
|
![]() |
#6 |
creator of calibre
![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() Posts: 44,265
Karma: 23661992
Join Date: Oct 2006
Location: Mumbai, India
Device: Various
|
You will need to remove or rename the attributes mentioned int he those error messages, use the calibre editor to do it.
|
![]() |
![]() |
![]() |
#7 | |
Bibliophagist
![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() Posts: 38,953
Karma: 153098470
Join Date: Jul 2010
Location: Vancouver
Device: Kobo Sage, Libra Colour, Lenovo M8 FHD, Paperwhite 4, Tolino epos
|
Quote:
For epub3, I would suggest using Sigil instead of calibre's editor. At this time, it simply supports epub3 better than calibre's editor does. Last edited by DNSB; 01-21-2018 at 03:14 AM. |
|
![]() |
![]() |
![]() |
#8 | ||
creator of calibre
![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() Posts: 44,265
Karma: 23661992
Join Date: Oct 2006
Location: Mumbai, India
Device: Various
|
Quote:
Quote:
|
||
![]() |
![]() |
![]() |
#9 | |||
Bibliophagist
![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() Posts: 38,953
Karma: 153098470
Join Date: Jul 2010
Location: Vancouver
Device: Kobo Sage, Libra Colour, Lenovo M8 FHD, Paperwhite 4, Tolino epos
|
Quote:
Quote:
Quote:
Last edited by DNSB; 01-21-2018 at 04:32 AM. |
|||
![]() |
![]() |
![]() |
#10 |
Bibliophagist
![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() Posts: 38,953
Karma: 153098470
Join Date: Jul 2010
Location: Vancouver
Device: Kobo Sage, Libra Colour, Lenovo M8 FHD, Paperwhite 4, Tolino epos
|
Further looking at your code;
Code:
<p id="e1016">16. <em>The Bewitched Continuum</em>, pg. 223<a href="#ref1016" "title=return to Chapter 10">↺</a></p><br> <p id="e1017">17. “Mrs. Stephens, Where Are You?” (#160)<a href="#ref1017" "title=return to Chapter 10">↺</a></p><br> <p id="e1018">18. “Samantha on Thin Ice” (#246)<a href="#ref1018" "title=return to Chapter 10">↺</a></p><br>
Code:
<p id="e1016">16. <em>The Bewitched Continuum</em>, pg. 223<a href="#ref1016" title="return to Chapter 10">↺</a></p><br /> <p id="e1017">17. “Mrs. Stephens, Where Are You?” (#160)<a href="#ref1017" title="return to Chapter 10">↺</a></p><br /> <p id="e1018">18. “Samantha on Thin Ice” (#246)<a href="#ref1018" title="return to Chapter 10">↺</a></p><br /> Last edited by DNSB; 01-21-2018 at 04:10 AM. |
![]() |
![]() |
![]() |
#11 | ||
creator of calibre
![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() Posts: 44,265
Karma: 23661992
Join Date: Oct 2006
Location: Mumbai, India
Device: Various
|
Quote:
Quote:
Last edited by kovidgoyal; 01-21-2018 at 04:48 AM. |
||
![]() |
![]() |
![]() |
#12 |
creator of calibre
![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() Posts: 44,265
Karma: 23661992
Join Date: Oct 2006
Location: Mumbai, India
Device: Various
|
@writingboy: Do the following:
1) Open your book in the calibre editor. Run Tools->Beautify all files 2) Click the Check Book icon (the one with the bug symbol on it) 3) Click try to fix all errors automatically in the resulting report 4) Install the epubcheck plugin for the editor from https://www.mobileread.com/forums/sh...d.php?t=282067 Plugins can be installed in the main calibre program via Preferences->Plugins->Get new plugins 5) Fix whatever remaining errors it reports. They will almost all be of the form 'attribute "XXX" not allowed here Just locate the file and line number in the error message and delete the attribute it mentions. At the end of that you should have a book Apple will accept. |
![]() |
![]() |
![]() |
#13 | |
Resident Curmudgeon
![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() Posts: 75,694
Karma: 134319572
Join Date: Nov 2006
Location: Roslindale, Massachusetts
Device: Kobo Libra 2, Kobo Aura H2O, PRS-650, PRS-T1, nook STR, PW3
|
Quote:
Also, as for ePub 3, you can install the epubcheck plugin for the Calibre editor and use it to validate ePub 3 code in the editor. |
|
![]() |
![]() |
![]() |
#14 | |
Grand Sorcerer
![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() Posts: 6,212
Karma: 16534894
Join Date: Sep 2009
Location: UK
Device: Kobo: KA1, ClaraHD, Forma, Libra2, Clara2E. PocketBook: TouchHD3
|
Quote:
Code:
<a href="#ref1016" title="return to Chapter 10">
Code:
<a href="#ref1016" "title=return to Chapter 10"> |
|
![]() |
![]() |
![]() |
#15 | ||
Bibliophagist
![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() Posts: 38,953
Karma: 153098470
Join Date: Jul 2010
Location: Vancouver
Device: Kobo Sage, Libra Colour, Lenovo M8 FHD, Paperwhite 4, Tolino epos
|
Quote:
I was quite happy to notice the F7 error check in calibre gives a named entities present error after correcting the "title= error. Quote:
I do use both Sigil and the calibre editor. For some tasks, I find Sigil to be the better tool, for others, calibre's editor. |
||
![]() |
![]() |
![]() |
Tags |
calibre, ibooks, itunes |
|
![]() |
||||
Thread | Thread Starter | Forum | Replies | Last Post |
ePub created with Sigil : empty when loaded with Calibre | jpomart | Calibre | 12 | 12-12-2015 01:48 PM |
An image doesn't show in Calibre created Epub | happyjon | Conversion | 2 | 08-22-2014 08:24 PM |
epub created with Sigil invisible on iTunes | IAmGrammy | Apple Devices | 6 | 11-01-2013 06:13 PM |
Amazon rejects books that are created by Calibre? | wiped | Calibre | 9 | 06-07-2012 11:00 AM |
Problem with Calibre created ePub on sony 505 | skyfish | Calibre | 4 | 01-14-2010 04:10 PM |