It's rare but there's something wrong with this ePub to ePub conversion.
I just downloaded the metadata and changed some fields. The converted ePub is still readable by the built-in Calibre reader and iBooks but rejected by the Google Play Books after uploaded. The EPUB Validator detects a bunch of errors compared with the original one. All the errors follow the similar format below.
ERROR OEBPS/Hear_9780345522535_epub_ack_r1.htm 5 88 attribute "value" not allowed here; expected attribute "content", "dir", "http-equiv", "lang", "scheme" or "xml:lang"
Moreover, the size decreases greatly from 1.92MB to 0.4MB. Others ePub conversions do not have significant file size decrease. The conversion job details are attached as follows. I'd like to know if there's any idea to fix the conversion errors since I rely on Google Play Books to read ePubs on my tablet.
Thanks.
Spoiler:
Convert book 1 of 1 (Hounded)
Resolved conversion options
calibre version: 2.4.0
{'asciiize': False,
'author_sort': None,
'authors': None,
'base_font_size': 0.0,
'book_producer': None,
'change_justification': u'original',
'chapter': u"//*[((name()='h1' or name()='h2') and re:test(., '\\s*((chapter|book|section|part)\\s+)|((prolog|pr ologue|epilogue)(\\s+|$))', 'i')) or @class = 'chapter']",
'chapter_mark': u'pagebreak',
'comments': None,
'cover': u'/var/folders/8m/nq2kbsjj3c55c6k06yjq3p2w0000gn/T/calibre_2.4.0_tmp_5zoIrp/Ve4kXw.jpeg',
'debug_pipeline': None,
'dehyphenate': True,
'delete_blank_paragraphs': True,
'disable_font_rescaling': False,
'dont_split_on_page_breaks': False,
'duplicate_links_in_toc': False,
'embed_all_fonts': False,
'embed_font_family': None,
'enable_heuristics': False,
'epub_flatten': False,
'epub_inline_toc': False,
'epub_toc_at_end': False,
'expand_css': False,
'extra_css': None,
'extract_to': None,
'filter_css': u'',
'fix_indents': True,
'flow_size': 260,
'font_size_mapping': None,
'format_scene_breaks': True,
'html_unwrap_factor': 0.4,
'input_encoding': None,
'input_profile': <calibre.customize.profiles.InputProfile object at 0x10880f590>,
'insert_blank_line': False,
'insert_blank_line_size': 0.5,
'insert_metadata': False,
'isbn': None,
'italicize_common_cases': True,
'keep_ligatures': False,
'language': None,
'level1_toc': None,
'level2_toc': None,
'level3_toc': None,
'line_height': 0.0,
'linearize_tables': False,
'margin_bottom': 5.0,
'margin_left': 5.0,
'margin_right': 5.0,
'margin_top': 5.0,
'markup_chapter_headings': True,
'max_toc_links': 50,
'minimum_line_height': 120.0,
'no_chapters_in_toc': False,
'no_default_epub_cover': False,
'no_inline_navbars': False,
'no_svg_cover': False,
'output_profile': <calibre.customize.profiles.TabletOutput object at 0x10881f110>,
'page_breaks_before': u'/',
'prefer_metadata_cover': False,
'preserve_cover_aspect_ratio': False,
'pretty_print': True,
'pubdate': None,
'publisher': None,
'rating': None,
'read_metadata_from_opf': u'/var/folders/8m/nq2kbsjj3c55c6k06yjq3p2w0000gn/T/calibre_2.4.0_tmp_5zoIrp/iigG2Q.opf',
'remove_fake_margins': True,
'remove_first_image': False,
'remove_paragraph_spacing': False,
'remove_paragraph_spacing_indent_size': 1.5,
'renumber_headings': True,
'replace_scene_breaks': u'',
'search_replace': '[]',
'series': None,
'series_index': None,
'smarten_punctuation': False,
'sr1_replace': None,
'sr1_search': None,
'sr2_replace': None,
'sr2_search': None,
'sr3_replace': None,
'sr3_search': None,
'start_reading_at': None,
'subset_embedded_fonts': False,
'tags': None,
'timestamp': None,
'title': None,
'title_sort': None,
'toc_filter': None,
'toc_threshold': 6,
'toc_title': None,
'unsmarten_punctuation': False,
'unwrap_lines': True,
'use_auto_toc': False,
'verbose': 2}
InputFormatPlugin: EPUB Input running
on /var/folders/8m/nq2kbsjj3c55c6k06yjq3p2w0000gn/T/calibre_2.4.0_tmp_5zoIrp/mjX40J.epub
Found HTML cover OEBPS/Hear_9780345522535_epub_cvi_r1.htm
Parsing all content...
Parsing OEBPS/Hear_9780345522535_epub_c01_r1.htm ...
Parsing OEBPS/Hear_9780345522535_epub_cop_r1.htm ...
Parsing OEBPS/Hear_9780345522535_epub_cvi_r1.htm ...
Parsing OEBPS/Hear_9780345522535_epub_epl_r1.htm ...
Parsing OEBPS/Hear_9780345522535_epub_c15_r1.htm ...
Parsing OEBPS/Hear_9780345522535_epub_c21_r1.htm ...
Parsing OEBPS/Hear_9780345522535_epub_c02_r1.htm ...
Parsing OEBPS/Hear_9780345522535_epub_bm3_r1.htm ...
Parsing OEBPS/Hear_9780345522535_epub_c23_r1.htm ...
Parsing OEBPS/Hear_9780345522535_epub_c16_r1.htm ...
Parsing OEBPS/Hear_9780345522535_epub_tp_r1.htm ...
Parsing OEBPS/Hear_9780345522535_epub_c17_r1.htm ...
Parsing OEBPS/Hear_9780345522535_epub_c20_r1.htm ...
Parsing OEBPS/Hear_9780345522535_epub_c04_r1.htm ...
Parsing OEBPS/Hear_9780345522535_epub_bm2_r1.htm ...
Parsing OEBPS/Hear_9780345522535_epub_c09_r1.htm ...
Parsing OEBPS/Hear_9780345522535_epub_c22_r1.htm ...
Parsing OEBPS/Hear_9780345522535_epub_css_r1.css ...
Parsing OEBPS/Hear_9780345522535_epub_c10_r1.htm ...
Parsing OEBPS/Hear_9780345522535_epub_c05_r1.htm ...
Parsing OEBPS/Hear_9780345522535_epub_toc_r1.htm ...
Parsing OEBPS/Hear_9780345522535_epub_c11_r1.htm ...
Parsing OEBPS/Hear_9780345522535_epub_c19_r1.htm ...
Parsing OEBPS/Hear_9780345522535_epub_c06_r1.htm ...
Parsing OEBPS/Hear_9780345522535_epub_bm1_r1.htm ...
Parsing OEBPS/Hear_9780345522535_epub_c25_r1.htm ...
Parsing OEBPS/Hear_9780345522535_epub_c12_r1.htm ...
Parsing OEBPS/Hear_9780345522535_epub_c03_r1.htm ...
Parsing OEBPS/Hear_9780345522535_epub_c07_r1.htm ...
Parsing OEBPS/Hear_9780345522535_epub_col2_r1.htm ...
Parsing OEBPS/Hear_9780345522535_epub_ack_r1.htm ...
Parsing OEBPS/Hear_9780345522535_epub_c13_r1.htm ...
Parsing OEBPS/Hear_9780345522535_epub_c18_r1.htm ...
Parsing OEBPS/Hear_9780345522535_epub_c08_r1.htm ...
Parsing OEBPS/Hear_9780345522535_epub_bm4_r1.htm ...
Parsing OEBPS/Hear_9780345522535_epub_c24_r1.htm ...
Parsing OEBPS/Hear_9780345522535_epub_c14_r1.htm ...
Parsing OEBPS/Hear_9780345522535_epub_fm1_r1.htm ...
Spine-referenced file u'OEBPS/Hear_9780345522535_epub_cvi_r1.htm' not in spine
Reading TOC from NCX...
Merging user specified metadata...
Detecting structure...
Detected chapter: Irish Pronunciation Guide
Detected chapter: Chapter 1
Detected chapter: Chapter 2
Detected chapter: Chapter 3
Detected chapter: Chapter 4
Detected chapter: Chapter 5
Detected chapter: Chapter 6
Detected chapter: Chapter 7
Detected chapter: Chapter 8
Detected chapter: Chapter 9
Detected chapter: Chapter 10
Detected chapter: Chapter 11
Detected chapter: Chapter 12
Detected chapter: Chapter 13
Detected chapter: Chapter 14
Detected chapter: Chapter 15
Detected chapter: Chapter 16
Detected chapter: Chapter 17
Detected chapter: Chapter 18
Detected chapter: Chapter 19
Detected chapter: Chapter 20
Detected chapter: Chapter 21
Detected chapter: Chapter 22
Detected chapter: Chapter 23
Detected chapter: Chapter 24
Detected chapter: Chapter 25
Detected chapter: Epilogue
Detected chapter: Acknowledgments
Detected chapter: Chapter 1
Flattening CSS and remapping font sizes...
Source base font size is 12.00000pt
Removing fake margins...
Found 38 items of level: div_1
Found 1 items of level: div_2
Found 147 items of level: p_2
Found 2691 items of level: p_1
div_1 left margin stats: Counter({u'': 2, u'12pt': 2, u'0': 1})
div_1 right margin stats: Counter({u'': 5})
div_2 left margin stats: Counter()
div_2 right margin stats: Counter()
Negative text indent detected at level p_2, ignoring this level
p_1 left margin stats: Counter({u'0': 2691})
p_1 right margin stats: Counter({u'0': 2691})
Cleaning up manifest...
Trimming unused files from manifest...
Trimming u'OEBPS/images/Hear_9780345522535_epub_cvt_r1.jpg' from manifest
Creating EPUB Output...
Splitting markup on page breaks and flow limits, if any...
Looking for large trees in OEBPS/Hear_9780345522535_epub_c01_r1.htm...
No large trees found
Looking for large trees in OEBPS/Hear_9780345522535_epub_cop_r1.htm...
No large trees found
Looking for large trees in OEBPS/Hear_9780345522535_epub_cvi_r1.htm...
No large trees found
Looking for large trees in OEBPS/Hear_9780345522535_epub_epl_r1.htm...
No large trees found
Looking for large trees in OEBPS/Hear_9780345522535_epub_c15_r1.htm...
No large trees found
Looking for large trees in OEBPS/Hear_9780345522535_epub_c21_r1.htm...
No large trees found
Looking for large trees in OEBPS/Hear_9780345522535_epub_c02_r1.htm...
No large trees found
Looking for large trees in OEBPS/Hear_9780345522535_epub_bm3_r1.htm...
No large trees found
Looking for large trees in OEBPS/Hear_9780345522535_epub_c23_r1.htm...
No large trees found
Looking for large trees in OEBPS/Hear_9780345522535_epub_c16_r1.htm...
No large trees found
Looking for large trees in OEBPS/Hear_9780345522535_epub_tp_r1.htm...
No large trees found
Looking for large trees in OEBPS/Hear_9780345522535_epub_c17_r1.htm...
No large trees found
Looking for large trees in OEBPS/Hear_9780345522535_epub_c20_r1.htm...
No large trees found
Looking for large trees in OEBPS/Hear_9780345522535_epub_c04_r1.htm...
No large trees found
Looking for large trees in OEBPS/Hear_9780345522535_epub_bm2_r1.htm...
No large trees found
Looking for large trees in OEBPS/Hear_9780345522535_epub_c09_r1.htm...
No large trees found
Looking for large trees in OEBPS/Hear_9780345522535_epub_c22_r1.htm...
No large trees found
Looking for large trees in OEBPS/Hear_9780345522535_epub_c10_r1.htm...
No large trees found
Looking for large trees in OEBPS/Hear_9780345522535_epub_c05_r1.htm...
No large trees found
Looking for large trees in OEBPS/Hear_9780345522535_epub_toc_r1.htm...
No large trees found
Looking for large trees in OEBPS/Hear_9780345522535_epub_c11_r1.htm...
No large trees found
Looking for large trees in OEBPS/Hear_9780345522535_epub_c19_r1.htm...
No large trees found
Looking for large trees in OEBPS/Hear_9780345522535_epub_c06_r1.htm...
No large trees found
Splitting on page-break at id=calibre_pb_0
Splitting on page-break at id=calibre_pb_1
Adjusted split point to ancestor
Looking for large trees in OEBPS/Hear_9780345522535_epub_bm1_r1.htm...
No large trees found
Split into 2 parts
Looking for large trees in OEBPS/Hear_9780345522535_epub_c25_r1.htm...
No large trees found
Looking for large trees in OEBPS/Hear_9780345522535_epub_c12_r1.htm...
No large trees found
Looking for large trees in OEBPS/Hear_9780345522535_epub_c03_r1.htm...
No large trees found
Looking for large trees in OEBPS/Hear_9780345522535_epub_c07_r1.htm...
No large trees found
Looking for large trees in OEBPS/Hear_9780345522535_epub_col2_r1.htm...
No large trees found
Looking for large trees in OEBPS/Hear_9780345522535_epub_ack_r1.htm...
No large trees found
Looking for large trees in OEBPS/Hear_9780345522535_epub_c13_r1.htm...
No large trees found
Looking for large trees in OEBPS/Hear_9780345522535_epub_c18_r1.htm...
No large trees found
Looking for large trees in OEBPS/Hear_9780345522535_epub_c08_r1.htm...
No large trees found
Looking for large trees in OEBPS/Hear_9780345522535_epub_bm4_r1.htm...
No large trees found
Looking for large trees in OEBPS/Hear_9780345522535_epub_c24_r1.htm...
No large trees found
Looking for large trees in OEBPS/Hear_9780345522535_epub_c14_r1.htm...
No large trees found
Looking for large trees in OEBPS/Hear_9780345522535_epub_fm1_r1.htm...
No large trees found
EPUB output written to /var/folders/8m/nq2kbsjj3c55c6k06yjq3p2w0000gn/T/calibre_2.4.0_tmp_5zoIrp/4rQ3n_.epub
Last edited by theducks; 09-28-2014 at 11:03 AM.
Reason: wrap huge paste in spoiler
Doing a Calibre conversion of ePub > ePub especially for sale is a really bad idea.
You want HAND CRAFTED eBook for any eBooks you are going to sell. You do not want to rely on any sort of conversion. Use Calibre's eBook editor or Sigil to edit your ePub and get rid of anything that comes from a conversion. This means you might have to completely redo the entire CSS and every single class in your eBook. But that's OK. It will be a better eBook when it's done.