Register Guidelines E-Books Today's Posts Search

Go Back   MobileRead Forums > E-Book Readers > Android Devices

Notices

Reply
 
Thread Tools Search this Thread
Old 06-03-2023, 04:02 AM   #1
TheFrog
Junior Member
TheFrog began at the beginning.
 
Posts: 9
Karma: 10
Join Date: Jun 2023
Device: none
Question Error Submitting EPUB to Android Book Store.

Hello. I've been trying to submit my graphic novel/comic to google play books. The software I used to export my epub was built into Clip Paint Studio. I keep getting this error when submitting to google

66: Error while parsing file: value of attribute "width" is invalid; must be an integer
66: Error while parsing file: value of attribute "height" is invalid; must be an integer

I've looked everywhere for a solution, but I can't figure out what this actually means. I've changed the image size multiple times and it still wouldn't work. the images inside the epub are 1500x2250 currently without downsizing them. Changing the EPUB 2 to a EPUB 3 allowed me to submit the work, but in testing, it included massive margins that I never put in there, shrinking the comic book images, so I can't use EPUB 3.

If anyone can guide or tell me what these errors are and how to fix them, I would appreciate it, I can't find any info anywhere about this.
TheFrog is offline   Reply With Quote
Old 06-03-2023, 04:07 AM   #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: 73,998
Karma: 128903378
Join Date: Nov 2006
Location: Roslindale, Massachusetts
Device: Kobo Libra 2, Kobo Aura H2O, PRS-650, PRS-T1, nook STR, PW3
You cannot use a decimal point.
JSWolf is offline   Reply With Quote
Advert
Old 06-03-2023, 04:10 AM   #3
Karellen
Wizard
Karellen ought to be getting tired of karma fortunes by now.Karellen ought to be getting tired of karma fortunes by now.Karellen ought to be getting tired of karma fortunes by now.Karellen ought to be getting tired of karma fortunes by now.Karellen ought to be getting tired of karma fortunes by now.Karellen ought to be getting tired of karma fortunes by now.Karellen ought to be getting tired of karma fortunes by now.Karellen ought to be getting tired of karma fortunes by now.Karellen ought to be getting tired of karma fortunes by now.Karellen ought to be getting tired of karma fortunes by now.Karellen ought to be getting tired of karma fortunes by now.
 
Karellen's Avatar
 
Posts: 1,101
Karma: 4911876
Join Date: Sep 2021
Location: Australia
Device: Kobo Libra 2
Maybe you can post the code for the image.
Karellen is online now   Reply With Quote
Old 06-03-2023, 04:34 AM   #4
TheFrog
Junior Member
TheFrog began at the beginning.
 
Posts: 9
Karma: 10
Join Date: Jun 2023
Device: none
Quote:
Originally Posted by Karellen View Post
Maybe you can post the code for the image.
Here you go. I'm no expert when it comes to this stuff. I sorta just pressed the export button and assumed that was all I needed to do. This is just the second pages code. None of this was made by me, all done by clip paint studio.
Attached Thumbnails
Click image for larger version

Name:	file.PNG
Views:	88
Size:	43.7 KB
ID:	201842  
TheFrog is offline   Reply With Quote
Old 06-03-2023, 04:37 AM   #5
TheFrog
Junior Member
TheFrog began at the beginning.
 
Posts: 9
Karma: 10
Join Date: Jun 2023
Device: none
Quote:
Originally Posted by JSWolf View Post
You cannot use a decimal point.
Alright. I don't think I used decimals, but I'll double check, thanks.
TheFrog is offline   Reply With Quote
Advert
Old 06-03-2023, 04:41 AM   #6
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: 73,998
Karma: 128903378
Join Date: Nov 2006
Location: Roslindale, Massachusetts
Device: Kobo Libra 2, Kobo Aura H2O, PRS-650, PRS-T1, nook STR, PW3
Quote:
Originally Posted by TheFrog View Post
Here you go. I'm no expert when it comes to this stuff. I sorta just pressed the export button and assumed that was all I needed to do. This is just the second pages code. None of this was made by me, all done by clip paint studio.
Is this a fixed layout eBook? If it is, go fix it to make it reflow as nobody wants fixed layout.

Also, when someone asks you to post code, post the code and not a screen grab.
JSWolf is offline   Reply With Quote
Old 06-03-2023, 05:01 AM   #7
Karellen
Wizard
Karellen ought to be getting tired of karma fortunes by now.Karellen ought to be getting tired of karma fortunes by now.Karellen ought to be getting tired of karma fortunes by now.Karellen ought to be getting tired of karma fortunes by now.Karellen ought to be getting tired of karma fortunes by now.Karellen ought to be getting tired of karma fortunes by now.Karellen ought to be getting tired of karma fortunes by now.Karellen ought to be getting tired of karma fortunes by now.Karellen ought to be getting tired of karma fortunes by now.Karellen ought to be getting tired of karma fortunes by now.Karellen ought to be getting tired of karma fortunes by now.
 
Karellen's Avatar
 
Posts: 1,101
Karma: 4911876
Join Date: Sep 2021
Location: Australia
Device: Kobo Libra 2
I think it is complaining about the %

Is your image 1500x2250?
Try <img width="1500" height="2250"
Karellen is online now   Reply With Quote
Old 06-03-2023, 07:01 AM   #8
Doitsu
Grand Sorcerer
Doitsu ought to be getting tired of karma fortunes by now.Doitsu ought to be getting tired of karma fortunes by now.Doitsu ought to be getting tired of karma fortunes by now.Doitsu ought to be getting tired of karma fortunes by now.Doitsu ought to be getting tired of karma fortunes by now.Doitsu ought to be getting tired of karma fortunes by now.Doitsu ought to be getting tired of karma fortunes by now.Doitsu ought to be getting tired of karma fortunes by now.Doitsu ought to be getting tired of karma fortunes by now.Doitsu ought to be getting tired of karma fortunes by now.Doitsu ought to be getting tired of karma fortunes by now.
 
Doitsu's Avatar
 
Posts: 5,584
Karma: 22735033
Join Date: Dec 2010
Device: Kindle PW2
You'll need to delete the img width and height attributes and replace them with a stylesheet reference. For more information see this post.
Doitsu is offline   Reply With Quote
Old 06-03-2023, 01:43 PM   #9
TheFrog
Junior Member
TheFrog began at the beginning.
 
Posts: 9
Karma: 10
Join Date: Jun 2023
Device: none
Quote:
Originally Posted by JSWolf View Post
Is this a fixed layout eBook? If it is, go fix it to make it reflow as nobody wants fixed layout.

Also, when someone asks you to post code, post the code and not a screen grab.
Sorry, but yes it is a fixed layout. Its style is "fixed-layout-jp.css". Do I need to delete it or is there something I need to replace it with? I don't think I have anything that I could replace it with, no idea where to get something like that.
TheFrog is offline   Reply With Quote
Old 06-03-2023, 01:45 PM   #10
TheFrog
Junior Member
TheFrog began at the beginning.
 
Posts: 9
Karma: 10
Join Date: Jun 2023
Device: none
Quote:
Originally Posted by Karellen View Post
I think it is complaining about the %

Is your image 1500x2250?
Try <img width="1500" height="2250"
Alright. Is that something I have to manually do in calibre for all 190 images? Or am I able to mass edit in some way?
TheFrog is offline   Reply With Quote
Old 06-03-2023, 05:20 PM   #11
Karellen
Wizard
Karellen ought to be getting tired of karma fortunes by now.Karellen ought to be getting tired of karma fortunes by now.Karellen ought to be getting tired of karma fortunes by now.Karellen ought to be getting tired of karma fortunes by now.Karellen ought to be getting tired of karma fortunes by now.Karellen ought to be getting tired of karma fortunes by now.Karellen ought to be getting tired of karma fortunes by now.Karellen ought to be getting tired of karma fortunes by now.Karellen ought to be getting tired of karma fortunes by now.Karellen ought to be getting tired of karma fortunes by now.Karellen ought to be getting tired of karma fortunes by now.
 
Karellen's Avatar
 
Posts: 1,101
Karma: 4911876
Join Date: Sep 2021
Location: Australia
Device: Kobo Libra 2
Quote:
Originally Posted by TheFrog View Post
Alright. Is that something I have to manually do in calibre for all 190 images? Or am I able to mass edit in some way?
My suggestion was only a bit of guesswork. You have provided only a tiny portion of the whole book. Also I have never tried to upload to Android Book Store, so I have no idea what their checker does. Sorry.

In answer to your above question, it depends. If the images are all the same at 1500x2250, then it should be pretty easy to fix the image code with a regex. If you have many different sizes, you will need to do a fix for each different size.

Are you using Calibre or Sigil? Have you run the EpubCheck and native Check Book to check your ebook? Do this first. Once you find the errors using this method, you can then explore ways to fix them, either using the method by @Doitsu or my suggestion above. Once all the errors are fixed, you can try uploading again.
Karellen is online now   Reply With Quote
Old 06-04-2023, 05:39 AM   #12
Quoth
the rook, bossing Never.
Quoth ought to be getting tired of karma fortunes by now.Quoth ought to be getting tired of karma fortunes by now.Quoth ought to be getting tired of karma fortunes by now.Quoth ought to be getting tired of karma fortunes by now.Quoth ought to be getting tired of karma fortunes by now.Quoth ought to be getting tired of karma fortunes by now.Quoth ought to be getting tired of karma fortunes by now.Quoth ought to be getting tired of karma fortunes by now.Quoth ought to be getting tired of karma fortunes by now.Quoth ought to be getting tired of karma fortunes by now.Quoth ought to be getting tired of karma fortunes by now.
 
Quoth's Avatar
 
Posts: 11,161
Karma: 85874891
Join Date: Jun 2017
Location: Ireland
Device: All 4 Kinds: epub eink, Kindle, android eink, NxtPaper11
If the ebook is reflowable, passes epub check and Smashwords upload premium (redistributes to Apple, Kobo, Barnes & Noble etc) and Amazon KDP, then it always passes Google/Alphabet's Playbook Playstore upload.

We upload the exact same epub to all three. However any new format/style rather than different content with already published format/styles is also checked in other ways:
Small 4.3″ phone and Android App
5″ eink 800x600
Mobi on eink DXG and K3
Azw3 on ink PW3 and K3
8″ or 7″ Kobo eink
Android 6″ 10″ various apps

In the case of new format/style rather than different content with already published format/styles we'll also do a test purchase in Mobi, azw3 and KFX on Amazon as their conversion from epub can sometimes be odd.
The Google and Smashwords downloads match epub upload.

Last edited by Quoth; 06-04-2023 at 05:47 AM.
Quoth is offline   Reply With Quote
Old 06-04-2023, 05:43 AM   #13
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: 73,998
Karma: 128903378
Join Date: Nov 2006
Location: Roslindale, Massachusetts
Device: Kobo Libra 2, Kobo Aura H2O, PRS-650, PRS-T1, nook STR, PW3
Quote:
Originally Posted by TheFrog View Post
Sorry, but yes it is a fixed layout. Its style is "fixed-layout-jp.css". Do I need to delete it or is there something I need to replace it with? I don't think I have anything that I could replace it with, no idea where to get something like that.
Does this eBook really need to be fixed layout? Given you want to sell it on an Android store, you are going to have a lot of problems as most eBook reader apps for Android won't work with it.

Fixed layout is a very limiting factor. If I bought an eBook that was fixed layout, I'd want my money back right away.
JSWolf is offline   Reply With Quote
Old 06-04-2023, 06:16 AM   #14
Doitsu
Grand Sorcerer
Doitsu ought to be getting tired of karma fortunes by now.Doitsu ought to be getting tired of karma fortunes by now.Doitsu ought to be getting tired of karma fortunes by now.Doitsu ought to be getting tired of karma fortunes by now.Doitsu ought to be getting tired of karma fortunes by now.Doitsu ought to be getting tired of karma fortunes by now.Doitsu ought to be getting tired of karma fortunes by now.Doitsu ought to be getting tired of karma fortunes by now.Doitsu ought to be getting tired of karma fortunes by now.Doitsu ought to be getting tired of karma fortunes by now.Doitsu ought to be getting tired of karma fortunes by now.
 
Doitsu's Avatar
 
Posts: 5,584
Karma: 22735033
Join Date: Dec 2010
Device: Kindle PW2
Quote:
Originally Posted by Cyberseeker View Post
My width value said width="50%" So, whats wrong with that? Doesn't epub like percentages?
Quote:
Originally Posted by Quoth View Post
If the ebook is reflowable, passes epub check [...]
The OP's book failed EPUBCheck because it's an epub3 book and the <img> tags had with and height attributes with percentage values, which aren't allowed in HTML5.
Doitsu is offline   Reply With Quote
Old 06-04-2023, 10:14 AM   #15
Quoth
the rook, bossing Never.
Quoth ought to be getting tired of karma fortunes by now.Quoth ought to be getting tired of karma fortunes by now.Quoth ought to be getting tired of karma fortunes by now.Quoth ought to be getting tired of karma fortunes by now.Quoth ought to be getting tired of karma fortunes by now.Quoth ought to be getting tired of karma fortunes by now.Quoth ought to be getting tired of karma fortunes by now.Quoth ought to be getting tired of karma fortunes by now.Quoth ought to be getting tired of karma fortunes by now.Quoth ought to be getting tired of karma fortunes by now.Quoth ought to be getting tired of karma fortunes by now.
 
Quoth's Avatar
 
Posts: 11,161
Karma: 85874891
Join Date: Jun 2017
Location: Ireland
Device: All 4 Kinds: epub eink, Kindle, android eink, NxtPaper11
Image sizes in ANY epub are best in a class.
When I Save As to docx and import to Calibre and convert to epub it automatically creates the css for each image.
Quoth is offline   Reply With Quote
Reply


Forum Jump

Similar Threads
Thread Thread Starter Forum Replies Last Post
Error Adding Book Bought Through iBooks Store t357021 Library Management 4 04-03-2018 05:32 AM
What dimension should I use if I am submitting my ePub to BookBaby? krausj ePub 16 08-23-2013 09:52 AM
Help with Apple error - ERROR ITMS-9000: ".epub: wrong namespace in filename.epub fil muzammil ePub 1 11-30-2012 05:25 AM
Submitting apps to Amazon App Store Utumno Kindle Developer's Corner 0 01-04-2012 05:17 AM
Android Android news stumbles upon not-yet-released Amazon Android App store sarah11918 enTourage Archive 7 03-22-2011 01:07 PM


All times are GMT -4. The time now is 03:45 AM.


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