Register Guidelines E-Books Today's Posts Search

Go Back   MobileRead Forums > E-Book Formats > ePub

Notices

Reply
 
Thread Tools Search this Thread
Old 07-02-2010, 01:48 PM   #16
charleski
Wizard
charleski ought to be getting tired of karma fortunes by now.charleski ought to be getting tired of karma fortunes by now.charleski ought to be getting tired of karma fortunes by now.charleski ought to be getting tired of karma fortunes by now.charleski ought to be getting tired of karma fortunes by now.charleski ought to be getting tired of karma fortunes by now.charleski ought to be getting tired of karma fortunes by now.charleski ought to be getting tired of karma fortunes by now.charleski ought to be getting tired of karma fortunes by now.charleski ought to be getting tired of karma fortunes by now.charleski ought to be getting tired of karma fortunes by now.
 
Posts: 1,196
Karma: 1281258
Join Date: Sep 2009
Device: PRS-505
Quote:
Originally Posted by MichaelGray View Post
Hello all
Just had this from Apple support:

[I]All characters in the URIs must be valid. Non-alphanumeric characters must be properly encoded. For example, a space should be encoded as '%20'. The problem most often surfaces in URIs in the NCX files.

1960 called, they want their teleprinters back.
charleski is offline   Reply With Quote
Old 07-03-2010, 10:54 AM   #17
Jellby
frumious Bandersnatch
Jellby ought to be getting tired of karma fortunes by now.Jellby ought to be getting tired of karma fortunes by now.Jellby ought to be getting tired of karma fortunes by now.Jellby ought to be getting tired of karma fortunes by now.Jellby ought to be getting tired of karma fortunes by now.Jellby ought to be getting tired of karma fortunes by now.Jellby ought to be getting tired of karma fortunes by now.Jellby ought to be getting tired of karma fortunes by now.Jellby ought to be getting tired of karma fortunes by now.Jellby ought to be getting tired of karma fortunes by now.Jellby ought to be getting tired of karma fortunes by now.
 
Jellby's Avatar
 
Posts: 7,550
Karma: 19500001
Join Date: Jan 2008
Location: Spaniard in Sweden
Device: Cybook Orizon, Kobo Aura
"id"s in XHTML should not start with a number, that might be an additional problem with the NCX.
Jellby is offline   Reply With Quote
Old 07-03-2010, 11:17 AM   #18
Valloric
Created Sigil, FlightCrew
Valloric ought to be getting tired of karma fortunes by now.Valloric ought to be getting tired of karma fortunes by now.Valloric ought to be getting tired of karma fortunes by now.Valloric ought to be getting tired of karma fortunes by now.Valloric ought to be getting tired of karma fortunes by now.Valloric ought to be getting tired of karma fortunes by now.Valloric ought to be getting tired of karma fortunes by now.Valloric ought to be getting tired of karma fortunes by now.Valloric ought to be getting tired of karma fortunes by now.Valloric ought to be getting tired of karma fortunes by now.Valloric ought to be getting tired of karma fortunes by now.
 
Valloric's Avatar
 
Posts: 1,982
Karma: 350515
Join Date: Feb 2008
Device: Kobo Clara HD
Quote:
Originally Posted by Jellby View Post
"id"s in XHTML should not start with a number, that might be an additional problem with the NCX.
That is most likely the problem. The latest version of epubcheck catches this error in the OPF. I'm guessing MichaelGray is using an older version, or epubcheck doesn't perform the same check for NCX files.
Valloric is offline   Reply With Quote
Old 07-08-2010, 11:29 PM   #19
eBookNoir
Member
eBookNoir began at the beginning.
 
eBookNoir's Avatar
 
Posts: 15
Karma: 10
Join Date: May 2010
Device: none
Quote:
Originally Posted by st_albert View Post
When I've gotten this via epubcheck, it means I've not specified one or more of:

author
title
publisher

in the metadata. (i.e. within content.opf in the epub archive) I've no clue if this is your problem, just thought I'd post it as it wasn't obvious to me from the error message, just what was lacking.

HTH
Actually it passes epub check perfectly, it's when i hit deliver on itunes producer that i get the error, which makes no sense. I have all of those in there from ID and from tweaking the metadata. Thanks for the suggestion though, if anyone else knows why, it'd be great. The one area apple is lacking in is help or service with itunes producer, they need to step it up.
eBookNoir is offline   Reply With Quote
Old 07-09-2010, 09:04 AM   #20
eBookNoir
Member
eBookNoir began at the beginning.
 
eBookNoir's Avatar
 
Posts: 15
Karma: 10
Join Date: May 2010
Device: none
Quote:
Originally Posted by MichaelGray View Post
Hello all
Just had this from Apple support:

All characters in the URIs must be valid. Non-alphanumeric characters must be properly encoded. For example, a space should be encoded as '%20'. The problem most often surfaces in URIs in the NCX files.

For more information, refer to Metadata, File Formats and Cataloging in the iBookstore FAQS. Thanks!


The ref to the FAQ's is quite handy as well (within iTunes connect) - it seems to have been expanded, last time I looked there were only two questions (both about using iBooks rather than making things for it!)

Will investigate further and post any progress.

@eBookNoir I'm sure you've thought of this, but I think I've had that error with missing out a closing tag in the TOC or in the HTML files. If the latter, you could try validating each file at http://validator.w3.org (or with the developer toolbar in Firefox) to pinpoint the error. Hope that helps...

Michael
validated the xhtml files - came up with all passing, but the cover one had this error - No Character encoding declared at document level - might be the culprit, now I need to fix and see if that works. that site won't validate toc.ncx files, may have to look at that on its own/. Thanks.
eBookNoir is offline   Reply With Quote
Old 07-09-2010, 10:38 AM   #21
MichaelGray
Member
MichaelGray began at the beginning.
 
Posts: 13
Karma: 10
Join Date: Feb 2010
Device: None
Just to come back on my problem file – problem solved: not the numbers at the beginning of the TOC id's, but the spaces in the paths. It was spaces not in the XHTML file names, but in the name of the folder containing them. Changed those to %20 in the NCX file and it worked. Thanks for your help, everyone - much appreciated.
MichaelGray is offline   Reply With Quote
Old 08-12-2010, 09:46 AM   #22
sueneu
eBook Designer
sueneu began at the beginning.
 
sueneu's Avatar
 
Posts: 29
Karma: 10
Join Date: Jun 2010
Location: New Jersey
Device: ipad, nook, kindle
My client is uploading my epub file to the ibookstore, and has been getting the "ERROR ITMS-9000." I'm cringing as my epub that passed the threepress epub check causes my clients grief.

No luck finding the Metadata, File Formats and Cataloging in the iBookstore FAQs.
I did find an article about which characters are allowed in URIs, including "%encoding"

http://www.rfc-editor.org/rfc/rfc3986.txt. There's an appendix that gives a hierarchy of reserved and unreserved characters.

Susan
sueneu is offline   Reply With Quote
Old 08-12-2010, 06:42 PM   #23
ldespain
Member
ldespain began at the beginning.
 
Posts: 14
Karma: 10
Join Date: Aug 2010
Device: iPad, Nook, Kindle
Have you seen this error message from iTunes Producer?

I worked on my ePub file in Sigil and now my customer is having trouble uploading it with iTunes Producer. This is the error message that he got:

1 package(s) were not uploaded because they had problems:
/Users/jeffgoforth/Music/iTunes Producer/Playlists/1424316545.itmsp - Error Messages:
Apple's web service operation was not successful
Unable to authenticate the package: 1424316545.itmsp
ERROR ITMS-4000: "Line 88 column 92: bad character content for element at XPath /package/book/assets/asset[1]/data_file/file_name"

This went through the ePub validator with no problems. Any ideas?
ldespain is offline   Reply With Quote
Old 08-12-2010, 11:14 PM   #24
st_albert
Guru
st_albert gives new meaning to the word 'superlative.'st_albert gives new meaning to the word 'superlative.'st_albert gives new meaning to the word 'superlative.'st_albert gives new meaning to the word 'superlative.'st_albert gives new meaning to the word 'superlative.'st_albert gives new meaning to the word 'superlative.'st_albert gives new meaning to the word 'superlative.'st_albert gives new meaning to the word 'superlative.'st_albert gives new meaning to the word 'superlative.'st_albert gives new meaning to the word 'superlative.'st_albert gives new meaning to the word 'superlative.'
 
Posts: 698
Karma: 150000
Join Date: Feb 2010
Device: none
Are you uploading a file already seen by iTunes? If so, maybe you should try the unaltered epub file (i.e. before it was assimilated into iTunes).

Gotta say this is among the most unrevealing error messages I have seen in a long time!
st_albert is offline   Reply With Quote
Old 08-13-2010, 01:25 AM   #25
charleski
Wizard
charleski ought to be getting tired of karma fortunes by now.charleski ought to be getting tired of karma fortunes by now.charleski ought to be getting tired of karma fortunes by now.charleski ought to be getting tired of karma fortunes by now.charleski ought to be getting tired of karma fortunes by now.charleski ought to be getting tired of karma fortunes by now.charleski ought to be getting tired of karma fortunes by now.charleski ought to be getting tired of karma fortunes by now.charleski ought to be getting tired of karma fortunes by now.charleski ought to be getting tired of karma fortunes by now.charleski ought to be getting tired of karma fortunes by now.
 
Posts: 1,196
Karma: 1281258
Join Date: Sep 2009
Device: PRS-505
What is the first asset listed on the asset tab of iTunes Producer? Info from the other thread on Apple's crappy validation system suggests there'll be something in that file that doesn't match their requirements (probably completely unrelated to the file name).
charleski is offline   Reply With Quote
Old 08-13-2010, 08:30 AM   #26
ldespain
Member
ldespain began at the beginning.
 
Posts: 14
Karma: 10
Join Date: Aug 2010
Device: iPad, Nook, Kindle
I think I figured my problem out. I had multiple image files in the ePub package that had spaces in their names. Sigil understood this in the HTML coding by adding %20 but the file names still had spaces in the images folder. When I renamed them without spaces: like title_page.jpg the file uploaded successfully. Sigil was even smart enough to know to change the image name in the HTML for me so I didn't have to change them myself. Such a simple solution, really, but absolutely NO indication in the error messages that that was the problem. What a relief!
ldespain is offline   Reply With Quote
Old 08-13-2010, 09:17 AM   #27
Valloric
Created Sigil, FlightCrew
Valloric ought to be getting tired of karma fortunes by now.Valloric ought to be getting tired of karma fortunes by now.Valloric ought to be getting tired of karma fortunes by now.Valloric ought to be getting tired of karma fortunes by now.Valloric ought to be getting tired of karma fortunes by now.Valloric ought to be getting tired of karma fortunes by now.Valloric ought to be getting tired of karma fortunes by now.Valloric ought to be getting tired of karma fortunes by now.Valloric ought to be getting tired of karma fortunes by now.Valloric ought to be getting tired of karma fortunes by now.Valloric ought to be getting tired of karma fortunes by now.
 
Valloric's Avatar
 
Posts: 1,982
Karma: 350515
Join Date: Feb 2008
Device: Kobo Clara HD
Quote:
Originally Posted by ldespain View Post
I think I figured my problem out. I had multiple image files in the ePub package that had spaces in their names. Sigil understood this in the HTML coding by adding %20 but the file names still had spaces in the images folder. When I renamed them without spaces: like title_page.jpg the file uploaded successfully. Sigil was even smart enough to know to change the image name in the HTML for me so I didn't have to change them myself. Such a simple solution, really, but absolutely NO indication in the error messages that that was the problem. What a relief!
Apple is really being silly here. As long as a space is percent-encoded in the URI's, an RS should be able to handle it just fine. That's why we have percent-encoding. Not to mention that this is exactly what the spec says should be done in these instances, since spaces in filenames are allowed.
Valloric is offline   Reply With Quote
Old 08-13-2010, 03:14 PM   #28
sueneu
eBook Designer
sueneu began at the beginning.
 
sueneu's Avatar
 
Posts: 29
Karma: 10
Join Date: Jun 2010
Location: New Jersey
Device: ipad, nook, kindle
Michael,
I've checked the characters in my URIs, even files without any spaces or non-alphanumeric characters are "unmanifested" even though they are listed in my content.opf file between <manifest></manifest>tags.

Here's the error message:
ERROR ITMS-9000: "Unmanifested file found : tofu_quilt.epub:/__MACOSX/OEBPS/._Acknowledgements.xhtml" at Book (MZItmspBookPackage)
ERROR ITMS-9000: "Wrong namespace in tofu_quilt.epub:/__MACOSX/OEBPS/._Acknowledgements.xhtml : null - expecting http://www.w3.org/1999/xhtml" at Book (MZItmspBookPackage)

I double-checked, the namespace is at the top of the xhtml file.

I can't figure out why iTunes Producer is finding a "__MACOSX/" "._ " before all the filenames.

Any ideas?

Thanks! Susan
sueneu is offline   Reply With Quote
Old 08-13-2010, 03:40 PM   #29
charleski
Wizard
charleski ought to be getting tired of karma fortunes by now.charleski ought to be getting tired of karma fortunes by now.charleski ought to be getting tired of karma fortunes by now.charleski ought to be getting tired of karma fortunes by now.charleski ought to be getting tired of karma fortunes by now.charleski ought to be getting tired of karma fortunes by now.charleski ought to be getting tired of karma fortunes by now.charleski ought to be getting tired of karma fortunes by now.charleski ought to be getting tired of karma fortunes by now.charleski ought to be getting tired of karma fortunes by now.charleski ought to be getting tired of karma fortunes by now.
 
Posts: 1,196
Karma: 1281258
Join Date: Sep 2009
Device: PRS-505
Whatever tool you're using to produce your epub is zipping up the resource forks as well.
charleski is offline   Reply With Quote
Old 08-13-2010, 05:02 PM   #30
sueneu
eBook Designer
sueneu began at the beginning.
 
sueneu's Avatar
 
Posts: 29
Karma: 10
Join Date: Jun 2010
Location: New Jersey
Device: ipad, nook, kindle
charleski,
Thanks! Now I understand the strange filepaths.
I switched to Sigil, and the file uploaded just fine. Many thanks to Valloric.
Susan
sueneu is offline   Reply With Quote
Reply

Tags
calibre, epub, itunes connect, itunes producer, validation


Forum Jump

Similar Threads
Thread Thread Starter Forum Replies Last Post
is my epub valid or not ? NASCARaddicted ePub 2 02-10-2010 05:56 AM
Smashwords - Valid Until 03.01.10 Miladysa Deals and Resources (No Self-Promotion or Affiliate Links) 4 12-28-2009 09:10 AM
With a valid CC and U.S. Address..... clobber Sony Reader 2 12-05-2008 10:04 AM
This book is not valid! James Bryant Bookeen 8 06-20-2008 11:09 PM


All times are GMT -4. The time now is 11:44 AM.


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