![]() |
#1 |
Member
![]() Posts: 12
Karma: 10
Join Date: Dec 2010
Location: Utah
Device: ipad; kindle
|
ePub files on upload to iTunes Connect
Hope this is the right forum to post this to.
I have successfully created an epub file from InDesign CS5, have put it through Calibre, have made some fixes in the xhtml file to allow cross references to work, the file passes ePub Checker, and have successfully converted it to mobi for upload to Amazon (which has been successful as well). But when I upload it to iTunes Connect I'm getting error messages like this: ERROR ITMS-9000: "Invalid URI in manifest OEBPS/1 part page.xhtml : Illegal character in path at index 7: OEBPS/1 part page.xhtml" at Book (MZItmspBookPackage) ERROR ITMS-9000: "Invalid URI in manifest OEBPS/2 part page.xhtml : Illegal character in path at index 7: OEBPS/2 part page.xhtml" at Book (MZItmspBookPackage) ERROR ITMS-9000: "Invalid URI in manifest OEBPS/3 part page.xhtml : Illegal character in path at index 7: OEBPS/3 part page.xhtml" at Book (MZItmspBookPackage) Any suggestions on how I can fix this? I don't have a problem going into the particular xhtml file to fix it, I just need to know what to write. |
![]() |
![]() |
![]() |
#2 |
eBook Enthusiast
![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() Posts: 85,544
Karma: 93383043
Join Date: Nov 2006
Location: UK
Device: Kindle Oasis 2, iPad Pro 10.5", iPhone 6
|
Moved to the ePub forum. You're more likely to get help here.
|
![]() |
![]() |
Advert | |
|
![]() |
#3 |
Booklegger
![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() Posts: 1,801
Karma: 7999816
Join Date: Jun 2009
Location: Toronto, Ontario, Canada
Device: BeBook(1 & 2010), PEZ, PRS-505, Kobo BT, PRS-T1, Playbook, Kobo Touch
|
It could be that iTunes Connect is having trouble with the spaces in the file names. If I count correctly, starting at 0, index 7 points to a space. You could try changing all those spaces to _ (everywhere), or only in this manifest, changing the spaces to %20. This is only a guess, as I avoid spaces in file names out of long habit.
You could also try validating with FlightCrew (part of Sigil), for better error messages. Of course, it this is peculiar to Apple, FlightCrew won't complain. |
![]() |
![]() |
![]() |
#4 |
Member
![]() Posts: 12
Karma: 10
Join Date: Dec 2010
Location: Utah
Device: ipad; kindle
|
Thanks for this insight. I did look in some of the files and found this command:
<a id="anthor-94-anchor" class="calibre4"></a> This command gave me problems once before and just getting rid of it fixed the problem. However it was in almost all my files. I don't know if Calibre generated this or where it came from. This is another one of the errors from iTunes Connect: ERROR ITMS-9000: "Invalid URI in manifest OEBPS/Addl FC page.xhtml : Illegal character in path at index 10: OEBPS/Addl FC page.xhtml" at Book (MZItmspBookPackage) This is the file it is referring to: <?xml version='1.0' encoding='utf-8'?> <html xmlns="http://www.w3.org/1999/xhtml"> <head> <title>Addl FC page.xhtml</title> <meta content="http://www.w3.org/1999/xhtml; charset=utf-8" http-equiv="Content-Type"/><link href="../stylesheet.css" type="text/css" rel="stylesheet"/><style type="text/css"> @page { margin-bottom: 5.000000pt; margin-top: 5.000000pt; }</style></head> <body class="calibre"> <div id="addl-fc-page" class="calibre1"> <div class="calibre1"> <img src="images/Addl%20forgotton%20classic_fmt.jpeg" alt="Addl forgotton classics.jpg" class="calibre2"/> </div> </div> </body> </html> I just don't know enough of the language here to know what is invalid. But this same error is occurring in several other files and I would get rid of it if I knew what to look for. Any help you could offer would be appreciated. |
![]() |
![]() |
![]() |
#5 |
Booklegger
![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() Posts: 1,801
Karma: 7999816
Join Date: Jun 2009
Location: Toronto, Ontario, Canada
Device: BeBook(1 & 2010), PEZ, PRS-505, Kobo BT, PRS-T1, Playbook, Kobo Touch
|
I believe the problem is in your manifest file, not in the named files. Again this time, I note that there is a space at index 10 in the URI <OEBPS/Addl FC page.xhtml>. Note in the named xhtml file use of %20 in the file name: src="images/Addl%20forgotton%20classic_fmt.jpeg" - I beliee this is the correct form for an XHTML URI.
|
![]() |
![]() |
Advert | |
|
![]() |
#6 |
Developer
![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() Posts: 345
Karma: 3473
Join Date: Apr 2007
Location: Brooklyn, NY, USA
Device: iRex iLiad v1, Blackberry Tour, Kindle DX, iPad.
|
Yes, pholy is correct. The foolproof solution is to change the actual filename to OEBPS/Addl_FC_page.xhtml and change the reference in the manifest to match. You'll need to do this with every filename that contains spaces.
In the future, I strongly recommend always using filenames that contain no spaces. |
![]() |
![]() |
![]() |
#7 |
Enquiring Mind
![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() Posts: 562
Karma: 42350
Join Date: Aug 2010
Location: London, UK
Device: Kindle 3 (WiFi)
|
Just to expand a little on what the previous posters have said:
Where these error messages refer to "manifest", they're referring to the manifest section of the .opf file which is contained in the EPUB file. The manifest section in the .opf file lists all of the files contained in the EPUB file, and as the previous posters have noted, it would appear that iTunes Connect has problems with file names that contain spaces. You could unzip the EPUB file, change all of the file names to replace spaces with underscore characters, then use global "find and replace" on the XHTML, .opf and .ncx files to replace all references to these file names with the revised file names. (When you then create the new zip/epub file with the revised files, make sure the "mimetype" file is the first file in the zip file, and that it is uncompressed and unencrypted.) |
![]() |
![]() |
![]() |
#8 |
Member
![]() Posts: 12
Karma: 10
Join Date: Dec 2010
Location: Utah
Device: ipad; kindle
|
Thank you all so much for this great information. I took all the spaces out of all the file names as suggested and reuploaded the file and IT WORKED!!! Such a simple fix once you understand what's going on.
Once again, thanks to all of you for helping me fix this! |
![]() |
![]() |
![]() |
#9 |
Enquiring Mind
![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() Posts: 562
Karma: 42350
Join Date: Aug 2010
Location: London, UK
Device: Kindle 3 (WiFi)
|
Glad to hear you got it sorted out successfully, larlarcook. You're welcome!
![]() |
![]() |
![]() |
![]() |
|
![]() |
||||
Thread | Thread Starter | Forum | Replies | Last Post |
Failed file in iTunes Connect | larlarcook | Calibre | 4 | 01-08-2011 01:37 AM |
iTunes epub upload errors | alcuneo | Calibre | 1 | 12-09-2010 07:23 PM |
itunes connect publisher user guide ( ipad <meta> info) | meika | Sigil | 3 | 07-09-2010 06:10 PM |
iTunes iBook upload problems | michaele | Apple Devices | 1 | 06-10-2010 08:40 PM |
Change PDF title in Connect/Import files w/o Connect | jessesn | Sony Reader | 6 | 10-02-2006 12:55 PM |