Rémybis

Q: 137 ITMS ERRORS IN MY EPUB!!!

Ok guys, I know that this question had been poped up probably a thousand times but I really need your help !

 

Apple just relased a new version of iTunes Producer (3.0) and I had great expecations about an easier sending process for e-books but it is actually worth.

 

I am FRENCH and I just created a free lanced e-book support. I have been helping more than 250 indies and small editing companies (mostly in Europe), my business is growing up every month but, this time time, I am serioulsy thinking of asking my customers to avoid Apple and give it up with the iBook Store.

 

I know that we are far from the US but in Europe, an area of almost 500 millions of inhabitants and potential customers, there are a lot of people who don't speak English at all and I let you imagine how many frustrations Apple is creating with its products which are more and more complicated to use... (sorry, I am getting angry)

 

All of this to tell you that there are more than 100 ITMS errors in an Epub of one of my customers and I really don't know how to deal with that.

 

The Epub is legitimate, I made it with Sigil, there are no photos inside it except for the cover (in the right dimensions (1400 x 2087 e.i)).

 

Can anybody tell me in English how to solve this ?

 

Many thanks for your help.

 

Rémy.

 

Here are the errors :

 

Package Summary:

 

1 package(s) were not uploaded because they had problems:

          /Users/remygiemza/Desktop/Une_si_jolie_rencontre.itmsp - Error Messages:

                    Apple's web service operation was not successful

                    Unable to authenticate the package: Une_si_jolie_rencontre.itmsp

                    ERROR ITMS-9000: "Images larger than 3,200,000 pixels are not allowed in books.  The following images are too large: /OEBPS/Images/Cover(OK).jpg   

" at Book (MZItmspBookPackage)

                    ERROR ITMS-9000: "Une_si_jolie_rencontre.epub: OEBPS/content.opf(8): element "metadata" incomplete; missing required elements "dc:language" and "dc:title"" at Book (MZItmspBookPackage)

                    ERROR ITMS-9000: "Une_si_jolie_rencontre.epub: OEBPS/Text/Section0009.xhtml(11): attribute "clear" not allowed here; expected attribute "class", "id", "style" or "title". This error occurs 17 times." at Book (MZItmspBookPackage)

                    ERROR ITMS-9000: "Une_si_jolie_rencontre.epub: OEBPS/Text/Section0009.xhtml(12): attribute "align" not allowed here; expected attribute "class", "dir", "id", "lang", "style", "title" or "xml:lang". This error occurs 45 times." at Book (MZItmspBookPackage)

                    ERROR ITMS-9000: "Une_si_jolie_rencontre.epub: OEBPS/Text/Section0009.xhtml(12): attribute "size" not allowed here; expected attribute "class", "dir", "id", "lang", "style", "title" or "xml:lang"" at Book (MZItmspBookPackage)

                    ERROR ITMS-9000: "Une_si_jolie_rencontre.epub: OEBPS/Text/Section0009.xhtml(12): attribute "width" not allowed here; expected attribute "class", "dir", "id", "lang", "style", "title" or "xml:lang"" at Book (MZItmspBookPackage)

                    ERROR ITMS-9000: "Une_si_jolie_rencontre.epub: OEBPS/Text/Section0009.xhtml(16): attribute "name" 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 92 times." at Book (MZItmspBookPackage)

                    ERROR ITMS-9000: "Une_si_jolie_rencontre.epub: OEBPS/Text/Section0010.xhtml(11): attribute "align" not allowed here; expected attribute "dir", "id", "lang", "style", "title" or "xml:lang". This error occurs 14 times." at Book (MZItmspBookPackage)

                    ERROR ITMS-9000: "Extrait-Une_si_jolie_rencontre.epub: OEBPS/content.opf(8): element "metadata" incomplete; missing required elements "dc:language" and "dc:title"" at Book (MZItmspBookPackage)

                    ERROR ITMS-9000: "Extrait-Une_si_jolie_rencontre.epub: OEBPS/Text/Section0009.xhtml(11): attribute "clear" not allowed here; expected attribute "class", "id", "style" or "title". This error occurs 4 times." at Book (MZItmspBookPackage)

                    ERROR ITMS-9000: "Extrait-Une_si_jolie_rencontre.epub: OEBPS/Text/Section0009.xhtml(12): attribute "align" not allowed here; expected attribute "class", "dir", "id", "lang", "style", "title" or "xml:lang". This error occurs 21 times." at Book (MZItmspBookPackage)

                    ERROR ITMS-9000: "Extrait-Une_si_jolie_rencontre.epub: OEBPS/Text/Section0009.xhtml(12): attribute "size" not allowed here; expected attribute "class", "dir", "id", "lang", "style", "title" or "xml:lang"" at Book (MZItmspBookPackage)

                    ERROR ITMS-9000: "Extrait-Une_si_jolie_rencontre.epub: OEBPS/Text/Section0009.xhtml(12): attribute "width" not allowed here; expected attribute "class", "dir", "id", "lang", "style", "title" or "xml:lang"" at Book (MZItmspBookPackage)

                    ERROR ITMS-9000: "Extrait-Une_si_jolie_rencontre.epub: OEBPS/Text/Section0009.xhtml(16): attribute "name" 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 28 times." at Book (MZItmspBookPackage)

                    ERROR ITMS-9000: "Extrait-Une_si_jolie_rencontre.epub: OEBPS/Text/Section0010.xhtml(16): attribute "align" not allowed here; expected attribute "dir", "id", "lang", "style", "title" or "xml:lang". This error occurs 6 times." at Book (MZItmspBookPackage)

                    Could not start delivery: all transports failed diagnostics

 

!

MacBook Pro, iOS 7.1, SIGIL

Posted on Mar 16, 2014 9:40 AM

Close

Q: 137 ITMS ERRORS IN MY EPUB!!!

  • All replies
  • Helpful answers

  • by vizca,

    vizca vizca Mar 26, 2014 9:08 AM in response to Rémybis
    Level 1 (0 points)
    Mar 26, 2014 9:08 AM in response to Rémybis

    Bonjour Rébys,

     

    I'm tired about Apple services, my clients always ask me about cryptic and mysterious errors related to this application...

     

    whatever, could send me any of this xhtml? but i'm sure that is an invalid attribute in a <p> style or maybe a <table> that appear a couple of time in diferents book's chapters...

  • by haramjadah,

    haramjadah haramjadah Apr 17, 2014 12:06 AM in response to Rémybis
    Level 1 (0 points)
    Apr 17, 2014 12:06 AM in response to Rémybis

    Hi, Bonjour..

     

    Before starting converting to epub.. First, You must "package" the code of HTML/XTML (mean: use CSS for "package the code")... Before becomes epub, what file are that?

  • by cjewel,

    cjewel cjewel Jul 4, 2014 11:20 PM in response to Rémybis
    Level 1 (0 points)
    Jul 4, 2014 11:20 PM in response to Rémybis

    I assume you have already gotten answers, however, since there's no reply, here is mine, in case this helps someone else:

     

    Your epub is not valid. Sigil is a great tool, but you cannot rely on its internal validator. Download a copy of Pagina or use one of the online 3rd party validators. The language, by the way, is mostly not Apple's (The 9000 bit is and the image size error is) Most of it is straight from the ePub validation tool language, which is annoying as heck, but actually does tell you exactly what is wrong. Figuring out to fix it is another issue.

     

    1.   ERROR ITMS-9000: "Images larger than 3,200,000 pixels are not allowed in books.  The following images are too large: /OEBPS/Images/Cover

    This one is easy. Your image is too reported as too big, so I would double check that your image is the size you say. Try sizing your interior image down a bit and confirm that the documented height x width is a value less than 3.2 million.

     

    2.OEBPS/Text/Section0009.xhtml(11): attribute "clear" not allowed here; expected attribute "class", "id", "style" or "title". This error occurs 17 times."

    You probably have an html error, probably underneath the body tag -- likely an unclosed tag and most of your errors are cascading from there. The fact that some of the errors reference "coords" makes me think your error starts with with an image, and further than you may have had a file that poorly converted to html. This is common when someone uses Calibre to convert a file to ePub, so start with the file that contains your cover.

     

    One other possibility is that the problem is with your stylesheet. Confirm that your stylesheet does not have a typo in it. I have seen two instances where the epub, for reasons that mystify me, was unable to parse the stylesheet, even after I confirmed that the stylesheet was parseable in a normal html editor. As I recall, I had to unzip the file, manually replace the stylesheet, and rezip THEN open it in Sigil.

     

    Because of your "coordinates" language, I think your cover page is poorly converted from your source file. I suggest you replace the html with something like this:

     

    [etc]

    <body>

      <div id="toccover">

      <p class="covercontainer"><img alt="Cover of Une si Jolie Rencontre" src="../Images/Name_Of_Your_Cover_Image.jpg" /></p>

      </div>

    [etc]

     

     

    * Remove the id= in the div if you are not using an internal html toc. If you are, replace it with whatever Id you are using for the cover.

    * Where the class "covercontainer" in your css file looks something like this  (I have found that the iPad centering issues go away when all margins are explicitly set)

     

    .covercontainer

    {

    width:90%;

    text-align:center;

    margin-top:0;

    margin-right:0;

    margin-bottom:0;

    margin-left:0;

    }

     

    As an aside: NEVER allow Sigil to automatically repair errors. It will make a huge mess that will be more work to fix than tracking down the unclosed tag.

    I suspect the rest of the "not allowed" errors are cascading from your first error, and that you let Sigil automatically fix things. You'll need to start over as your file by now is likely hours of work to repair.

     

    3. incomplete; missing required elements "dc:language" and "dc:title""

         Your content.opf is missing at least two required tags.

    Add this to your opf (assuming I have correctly derived the title of your book and assuming the language is French):

     

      <dc:title>Une si Jolie Rencontre</dc:title>

      <dc:language>fr</dc:language>