Register Guidelines E-Books Today's Posts Search

Go Back   MobileRead Forums > E-Book Software > Calibre > Conversion

Notices

Reply
 
Thread Tools Search this Thread
Old 10-16-2023, 05:32 PM   #1
JeanDolphin
Member
JeanDolphin began at the beginning.
 
Posts: 11
Karma: 10
Join Date: Oct 2020
Device: ipad, galaxy tab
Calibre Epub to Apple iturn connect

I convert my book to epub, when I tried to upload to

https://authors.apple.com/epub-upload/start#new-upload

I keep the getting error, works fine on google, barnes and nobles etc. but not apple.


here is the error example

ERROR ITMS-9000: Software System Design Modeling - SLPSoft.epub: There are 166 additional locations for this message.(-1): [RSC-005] Error while parsing file: attribute "border" not allowed here; expected attribute "alt", "class", "dir", "height", "id", "ismap", "lang", "longdesc", "src", "style", "title", "usemap", "width" or "xml:lang". This error occurs 26 times. (For more information refer to https://help.apple.com/itc/booksassetguide)

then I follow this instruction

https://discussions.apple.com/thread...2#251397644022

then I got the the following error

1 asset was not validated successfully because it had problems:
Software System Design Modeling.epub
ERROR ITMS-9000: Software System Design Modeling.epub: There are 166 additional locations for this message.(-1): [RSC-005] Error while parsing file: attribute "border" not allowed here; expected attribute "alt", "class", "dir", "height", "id", "ismap", "lang", "longdesc", "src", "style", "title", "usemap", "width" or "xml:lang". This error occurs 26 times. (For more information refer to https://help.apple.com/itc/booksassetguide)

Does anybody know how to get this problem resolve?

thanks
JeanDolphin is offline   Reply With Quote
Old 10-16-2023, 07:47 PM   #2
JSWolf
Resident Curmudgeon
JSWolf ought to be getting tired of karma fortunes by now.JSWolf ought to be getting tired of karma fortunes by now.JSWolf ought to be getting tired of karma fortunes by now.JSWolf ought to be getting tired of karma fortunes by now.JSWolf ought to be getting tired of karma fortunes by now.JSWolf ought to be getting tired of karma fortunes by now.JSWolf ought to be getting tired of karma fortunes by now.JSWolf ought to be getting tired of karma fortunes by now.JSWolf ought to be getting tired of karma fortunes by now.JSWolf ought to be getting tired of karma fortunes by now.JSWolf ought to be getting tired of karma fortunes by now.
 
JSWolf's Avatar
 
Posts: 74,037
Karma: 129333114
Join Date: Nov 2006
Location: Roslindale, Massachusetts
Device: Kobo Libra 2, Kobo Aura H2O, PRS-650, PRS-T1, nook STR, PW3
You will need to show us the code in order to see what the error is.
JSWolf is offline   Reply With Quote
Old 10-16-2023, 08:47 PM   #3
JeanDolphin
Member
JeanDolphin began at the beginning.
 
Posts: 11
Karma: 10
Join Date: Oct 2020
Device: ipad, galaxy tab
Quote:
Originally Posted by JSWolf View Post
You will need to show us the code in order to see what the error is.
What code do you mean, can you guide me so I can show it, because above is the error returned from apple website when it tried to process the epub
JeanDolphin is offline   Reply With Quote
Old 10-16-2023, 09:23 PM   #4
DNSB
Bibliophagist
DNSB ought to be getting tired of karma fortunes by now.DNSB ought to be getting tired of karma fortunes by now.DNSB ought to be getting tired of karma fortunes by now.DNSB ought to be getting tired of karma fortunes by now.DNSB ought to be getting tired of karma fortunes by now.DNSB ought to be getting tired of karma fortunes by now.DNSB ought to be getting tired of karma fortunes by now.DNSB ought to be getting tired of karma fortunes by now.DNSB ought to be getting tired of karma fortunes by now.DNSB ought to be getting tired of karma fortunes by now.DNSB ought to be getting tired of karma fortunes by now.
 
DNSB's Avatar
 
Posts: 35,507
Karma: 145557716
Join Date: Jul 2010
Location: Vancouver
Device: Kobo Sage, Forma, Clara HD, Lenovo M8 FHD, Paperwhite 4, Tolino epos
Have you tried running your epub through epubcheck? Using either Sigil or calibre's ebook editor with the epubcheck plugin installed will give you the locations of the errors. In this case, it sounds as if you are trying to use border in a place where the epub specification does not allow it to be used.

One common source is attempting to use a border with an image in an img tag.

You could use the ScrambleEbook plugin (see the Reload this Page [GUI Plugin] ScrambleEbook: Getting help with copyrighted books thread) and then attach the scrambled version to a message in this forum.
DNSB is offline   Reply With Quote
Old 10-17-2023, 04:13 AM   #5
BetterRed
null operator (he/him)
BetterRed ought to be getting tired of karma fortunes by now.BetterRed ought to be getting tired of karma fortunes by now.BetterRed ought to be getting tired of karma fortunes by now.BetterRed ought to be getting tired of karma fortunes by now.BetterRed ought to be getting tired of karma fortunes by now.BetterRed ought to be getting tired of karma fortunes by now.BetterRed ought to be getting tired of karma fortunes by now.BetterRed ought to be getting tired of karma fortunes by now.BetterRed ought to be getting tired of karma fortunes by now.BetterRed ought to be getting tired of karma fortunes by now.BetterRed ought to be getting tired of karma fortunes by now.
 
Posts: 20,587
Karma: 26954694
Join Date: Mar 2012
Location: Sydney Australia
Device: none
@David - could it be related to Apple's penchant of unpacking epubs into directories with an epub extension.

BR
BetterRed is online now   Reply With Quote
Old 10-17-2023, 11:04 AM   #6
JeanDolphin
Member
JeanDolphin began at the beginning.
 
Posts: 11
Karma: 10
Join Date: Oct 2020
Device: ipad, galaxy tab
Quote:
Originally Posted by DNSB View Post
Have you tried running your epub through epubcheck? Using either Sigil or calibre's ebook editor with the epubcheck plugin installed will give you the locations of the errors. In this case, it sounds as if you are trying to use border in a place where the epub specification does not allow it to be used.

One common source is attempting to use a border with an image in an img tag.

You could use the ScrambleEbook plugin (see the Reload this Page [GUI Plugin] ScrambleEbook: Getting help with copyrighted books thread) and then attach the scrambled version to a message in this forum.
you are probably Right, using Sigil, see image below for error, so how can I fix it now
Attached Thumbnails
Click image for larger version

Name:	bordererror.png
Views:	45
Size:	101.9 KB
ID:	204310  
JeanDolphin is offline   Reply With Quote
Old 10-17-2023, 01:29 PM   #7
DNSB
Bibliophagist
DNSB ought to be getting tired of karma fortunes by now.DNSB ought to be getting tired of karma fortunes by now.DNSB ought to be getting tired of karma fortunes by now.DNSB ought to be getting tired of karma fortunes by now.DNSB ought to be getting tired of karma fortunes by now.DNSB ought to be getting tired of karma fortunes by now.DNSB ought to be getting tired of karma fortunes by now.DNSB ought to be getting tired of karma fortunes by now.DNSB ought to be getting tired of karma fortunes by now.DNSB ought to be getting tired of karma fortunes by now.DNSB ought to be getting tired of karma fortunes by now.
 
DNSB's Avatar
 
Posts: 35,507
Karma: 145557716
Join Date: Jul 2010
Location: Vancouver
Device: Kobo Sage, Forma, Clara HD, Lenovo M8 FHD, Paperwhite 4, Tolino epos
Looking at that, one issue is that border-style is what you need and that is not well supported in ePub2 (hidden and none work, everything else will display as solid). Since Apple is ePub3, most of the border-style properties should work. A quick and dirty fix might be to use Sigil's Epub3-itizer plugin to convert your ePub to ePub3.
DNSB is offline   Reply With Quote
Old 10-19-2023, 02:04 PM   #8
JeanDolphin
Member
JeanDolphin began at the beginning.
 
Posts: 11
Karma: 10
Join Date: Oct 2020
Device: ipad, galaxy tab
I convert to epub 3 then I got this error, I think if I can fix that, it will probably work

see image

error
==============
FATAL RSC-016 /OEBPS/content.opf
(line 756, col 3) Fatal Error while parsing file: The element type "spine" must be terminated by the matching end-tag "</spine>".

see image for line number pointed to

is there a way to fix that now?
Attached Thumbnails
Click image for larger version

Name:	error.png
Views:	37
Size:	11.1 KB
ID:	204344  
JeanDolphin is offline   Reply With Quote
Old 10-19-2023, 05:03 PM   #9
DNSB
Bibliophagist
DNSB ought to be getting tired of karma fortunes by now.DNSB ought to be getting tired of karma fortunes by now.DNSB ought to be getting tired of karma fortunes by now.DNSB ought to be getting tired of karma fortunes by now.DNSB ought to be getting tired of karma fortunes by now.DNSB ought to be getting tired of karma fortunes by now.DNSB ought to be getting tired of karma fortunes by now.DNSB ought to be getting tired of karma fortunes by now.DNSB ought to be getting tired of karma fortunes by now.DNSB ought to be getting tired of karma fortunes by now.DNSB ought to be getting tired of karma fortunes by now.
 
DNSB's Avatar
 
Posts: 35,507
Karma: 145557716
Join Date: Jul 2010
Location: Vancouver
Device: Kobo Sage, Forma, Clara HD, Lenovo M8 FHD, Paperwhite 4, Tolino epos
You should find a <metadata ....> section closed by a </metadata>, a <manifest> closed by a </manifest> and a <spine> closed by a </spine>. This error may indicate that either the <spine> is missing or there is more than 1 <spine>.

If you can post the entire content.opf, it would be easier to see what is wrong. You can rename to to .txt and attach it or copy/paste the content (preferably inside [spoiler][code] . . . . [/code][/spoiler].
DNSB is offline   Reply With Quote
Old 10-19-2023, 10:53 PM   #10
JeanDolphin
Member
JeanDolphin began at the beginning.
 
Posts: 11
Karma: 10
Join Date: Oct 2020
Device: ipad, galaxy tab
here is the file, I rename it to .txt, so you can check and let me know
Attached Files
File Type: txt content.txt (56.7 KB, 32 views)
JeanDolphin is offline   Reply With Quote
Reply


Forum Jump

Similar Threads
Thread Thread Starter Forum Replies Last Post
Cannot connect my H2O to new MacBook Pro with Apple M1 chip. Seth H Kobo Reader 47 01-12-2021 08:53 PM
EPUB views fine in Apple Books but formatting distorted in Calibre epub viewer kirk8677 Viewer 5 10-28-2020 01:46 PM
Apple iBookstore n'accepte pas les ePub Calibre Magnolia Software 0 06-14-2013 04:25 AM
Calibre epub rejected by Apple store starrigger Conversion 11 08-23-2011 03:55 PM
Calibre - Connect to iTunes Epub Filename christophlin Devices 3 08-09-2011 02:47 PM


All times are GMT -4. The time now is 08:42 PM.


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