10 Replies Latest reply: Apr 5, 2013 10:41 AM by David Bourne
David Bourne Level 2 Level 2 (345 points)

I've been trying to upload an update to my paid book on the bookstore. I believe I'm using the latest versions of iBooks Author and iTunes Producer. In the past the Signiant delivery mechanism has caused problems and now takes a long time (> 2 hours - previously > 24 hr) and doesn't deliver so I've turned that off in Preferences:Advanced. I've made changes, uploaded new versions of the book, sample and screenshots. Saved the .itmsp file and clicked Deliver. After 20-30 minutes I get the green checkmark. Checking status shows import in process or some such. However, after another 10-15 minutes checking status shows Import Error. Tried a few times. Asked Apple, they suggested try one more time, that didn't work, replied to Apple and they are looking into it. Reply in two business days from Thursday... I thought I'd ask here if someone had a similar experience and if there was something that worked from them. Probably user error :-)

 

Thanks

  • 1. Re: Import Error after upload
    David Bourne Level 2 Level 2 (345 points)

    Update: Received an email from Apple. 'The error that we are getting on our end is that there are invalid characters in your books. Do you know if you are using some characters that may be invalid (emojis for example).'

     

    No emojis or other 'strange' characters on purpose. Maybe a typo.

     

    Changes that may have caused a problem.

     

    a) Re-drawn most of the graphical figures exported as png files

    b) Re-drawn all the equations using the equation editor (Tex) in iBook Author

    c) Revised many of the html widgets using Dashcode

    d) Other text editing mistakes

     

    The updated book verifies with iTunes Producer, uploads and gives a green checkmark, but 10-20 minutes later status shows 'Import Error'.

     

    I revisited the book as a preview on my iPad and noticed some anomalies with some equations and figures. That is, in portrait mode touching some equations in the side bar didn't display the full equation correctly (maybe only one character or blank). A second attempt gives the correct response, the full equation or figure. I've tried re-editing one equation without success, same anomaly. I will try re-drawing the equation from scratch. I don't know if this is the problem.

     

    I may need to try uploading parts of the book to try an isolate the problem.

     

    I'm hoping that Apple responds with a list of invalid characters that they see at their end.

  • 2. Re: Import Error after upload
    David Bourne Level 2 Level 2 (345 points)

    I found the problem by trial and error, divide and conquer. Turns out I had entered a tau symbol as a double byte character. Probably found it with the character editor... now uploaded and imported successfully.

  • 3. Re: Import Error after upload
    Tom Gewecke Level 9 Level 9 (71,715 points)

    David Bourne wrote:

     

    Turns out I had entered a tau symbol as a double byte character.

     

    I am curious about that:  The Greek letter Tau (03c4 or 03a4) always has 2 bytes in the standard UTF-8 encoding for ebooks.  It should not matter even if the entire book were in Greek.   Was yours in some special location?  What did you replace it with?

     

    Or was it a "mathematical" Tau like U+1d6bb,   , which actually has 4 bytes?

  • 4. Re: Import Error after upload
    David Bourne Level 2 Level 2 (345 points)

    Pasting the charater into BBEdit and doing a file hex dump gave:

     

    35 D8     bad character part 1

    0F DF     bad character part 2

     

    That is tau = 35D80FDF I think? In BBEdit the cursor jumped around a little, that is left cursor went right two spaces, or something like that (something like that at least). Pasting into Papers gave an empty space, i.e. no character.

     

    I think I got the 'symbol' from the Character Viewer which has a variety of tau's. The one that worked was in the regular Gill... font. I was porbably a case of using the 'standard' font/character for most of the text and then adding something later and geting the character from somewhere else.

  • 5. Re: Import Error after upload
    Tom Gewecke Level 9 Level 9 (71,715 points)

    David Bourne wrote:

     

    Pasting the charater into BBEdit and doing a file hex dump gave:

     

    35 D8     bad character part 1

    0F DF     bad character part 2

     

     

    Thanks!  Those numbers don't fit anything real however.  Could you paste your bad tau in an email to me (tom at bluesky dot org)?  And here as well?  I think this may be a bug in iTunes Producer I'd like to report to Apple.

  • 6. Re: Import Error after upload
    David Bourne Level 2 Level 2 (345 points)

    This is the character  

     

    Hex dump

     

    0000: 35 D8 0F DF                                

  • 7. Re: Import Error after upload
    Tom Gewecke Level 9 Level 9 (71,715 points)

    It's a math tau 1D70F, UTF-8 bytes F0 9D 9C 8F.

     

    For some reason the bbedit hex dump is giving the bytes for a different encoding normally only used internally and not for document exchange.  If you save a doc as UTF-8 and then do the dump it should come out right.

     

    iBooks can display such things, so it's presumably a bug in Apple's software for checking books that it gets rejected.

     

    Thanks for all the info.

  • 8. Re: Import Error after upload
    David Bourne Level 2 Level 2 (345 points)

    ;-) if I save the front window containing the bad tau as a UTF-8 file and try to Hex Dump File it crashes BBEdit. The indicator at the bottom of the BBEdit window containing the bad tau shows UTF-8/Unix LF and Hex Dump front window works and gives the result above??

  • 9. Re: Import Error after upload
    Tom Gewecke Level 9 Level 9 (71,715 points)

    David Bourne wrote:

     

    ;-) if I save the front window containing the bad tau as a UTF-8 file and try to Hex Dump File it crashes BBEdit.

     

    That's odd.  I am using TextWrangler (free version of bbedit) and there is no crash when I do Hex Dump File.  The indicator at the bottom reflects the app preference settings for Saving, but apparently doesn't apply to Hex Dump Front Window, which is giving the bytes for UTF-16 (used internally by OS X).

  • 10. Re: Import Error after upload
    David Bourne Level 2 Level 2 (345 points)

    I tried my copy of TextWrangler and got

     

    0000: F0 9D 9C 8F                                

     

    No crash. I haven't been so happy with the latest version of BBEdit.