Register Guidelines E-Books Today's Posts Search

Go Back   MobileRead Forums > E-Book Software > Calibre > Conversion

Notices

Reply
 
Thread Tools Search this Thread
Old 10-27-2013, 03:51 PM   #1
maestroc
Junior Member
maestroc began at the beginning.
 
Posts: 5
Karma: 10
Join Date: Oct 2012
Device: ipad
Epub to iBooks validation failures after Calibre conversion

I am a musician that has arranged a bunch of songs into an ePub book using the music notation program Finale. It has an automatic ePub3 export feature. When I take the exported epub file (see attached) and import it into iTunes then load it into my iPad via iBooks it opens and displays beautifully.

Sadly when I take that same epub file and try to upload it to Apple through the iTunes Producer program it fails validation.

I have tried opening the same file in Calibre in the hopes of figuring out the errors. The original file opens and views correctly in Calibre as well. After adding a cover image and editing the meta data I then tried to save it out as an epub (basically just converting epub to epub) and received the log shown below.

==== Calibre Job Log =====
Code:
Convert book 1 of 1 (27 Christmas Carols For Clarinet)
Resolved conversion options
calibre version: 1.7.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|prologue|epilogue)(\\s+|$))', 'i')) or @class = 'chapter']",
 'chapter_mark': u'pagebreak',
 'comments': None,
 'cover': u'd:\\Users\\CHAD~1.PAR\\AppData\\Local\\Temp\\calibre_vk9ngz\\d94dr2.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 0x04BBCF90>,
 '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.GenericEink object at 0x04BCA1B0>,
 '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'd:\\Users\\CHAD~1.PAR\\AppData\\Local\\Temp\\calibre_vk9ngz\\x5dpb6.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 d:\Users\CHAD~1.PAR\AppData\Local\Temp\calibre_vk9ngz\qc5t1t.epub
Parsing all content...
Parsing OEBPS/p018.html ...
Parsing OEBPS/p010.html ...
Parsing OEBPS/p033.html ...
Parsing OEBPS/p004.html ...
Parsing OEBPS/p021.html ...
Parsing OEBPS/p011.html ...
Parsing OEBPS/p034.html ...
Parsing OEBPS/p003.html ...
Parsing OEBPS/p038.html ...
Parsing OEBPS/p005.html ...
Parsing OEBPS/p012.html ...
Parsing OEBPS/p035.html ...
Parsing OEBPS/p006.html ...
Parsing OEBPS/p027.html ...
Parsing OEBPS/p013.html ...
Parsing OEBPS/p030.html ...
Parsing OEBPS/p017.html ...
Parsing OEBPS/p007.html ...
Parsing OEBPS/p026.html ...
Parsing OEBPS/p014.html ...
Parsing OEBPS/p037.html ...
Parsing OEBPS/p008.html ...
Parsing OEBPS/p020.html ...
Parsing OEBPS/p025.html ...
Parsing OEBPS/p029.html ...
Parsing OEBPS/p023.html ...
Parsing OEBPS/p001.html ...
Parsing OEBPS/p036.html ...
Parsing OEBPS/p009.html ...
Parsing OEBPS/p019.html ...
Parsing OEBPS/p031.html ...
Parsing OEBPS/nav.xhtml ...
Parsing OEBPS/p039.html ...
Parsing OEBPS/p002.html ...
Parsing OEBPS/p015.html ...
Parsing OEBPS/p024.html ...
Parsing OEBPS/p022.html ...
Parsing OEBPS/p028.html ...
Parsing OEBPS/p032.html ...
Parsing OEBPS/p016.html ...
Reading TOC from NCX...
Merging user specified metadata...
Detecting structure...
Flattening CSS and remapping font sizes...
Source base font size is 12.00000pt
Removing fake margins...
Cleaning up manifest...
Trimming unused files from manifest...
Trimming u'OEBPS/nav.xhtml' from manifest
Creating EPUB Output...
Rescaling image from 1000x1600 to 469x751 cover.jpeg
Splitting markup on page breaks and flow limits, if any...
	Looking for large trees in OEBPS/p018.html...
	No large trees found
	Looking for large trees in OEBPS/p010.html...
	No large trees found
	Looking for large trees in OEBPS/p033.html...
	No large trees found
	Looking for large trees in OEBPS/p004.html...
	No large trees found
	Looking for large trees in OEBPS/p021.html...
	No large trees found
	Looking for large trees in OEBPS/p011.html...
	No large trees found
	Looking for large trees in OEBPS/p034.html...
	No large trees found
	Looking for large trees in OEBPS/p003.html...
	No large trees found
	Looking for large trees in OEBPS/p038.html...
	No large trees found
	Looking for large trees in OEBPS/p005.html...
	No large trees found
	Looking for large trees in OEBPS/p012.html...
	No large trees found
	Looking for large trees in OEBPS/p035.html...
	No large trees found
	Looking for large trees in OEBPS/p006.html...
	No large trees found
	Looking for large trees in OEBPS/p027.html...
	No large trees found
	Looking for large trees in OEBPS/p013.html...
	No large trees found
	Looking for large trees in OEBPS/p030.html...
	No large trees found
	Looking for large trees in OEBPS/p017.html...
	No large trees found
	Looking for large trees in OEBPS/p007.html...
	No large trees found
	Looking for large trees in OEBPS/p026.html...
	No large trees found
	Looking for large trees in OEBPS/p014.html...
	No large trees found
	Looking for large trees in OEBPS/p037.html...
	No large trees found
	Looking for large trees in OEBPS/p008.html...
	No large trees found
	Looking for large trees in OEBPS/p020.html...
	No large trees found
	Looking for large trees in OEBPS/p025.html...
	No large trees found
	Looking for large trees in OEBPS/p029.html...
	No large trees found
	Looking for large trees in OEBPS/p023.html...
	No large trees found
	Looking for large trees in OEBPS/p001.html...
	No large trees found
	Looking for large trees in OEBPS/p036.html...
	No large trees found
	Looking for large trees in OEBPS/p009.html...
	No large trees found
	Looking for large trees in OEBPS/p019.html...
	No large trees found
	Looking for large trees in OEBPS/p031.html...
	No large trees found
	Looking for large trees in OEBPS/p039.html...
	No large trees found
	Looking for large trees in OEBPS/p002.html...
	No large trees found
	Looking for large trees in OEBPS/p015.html...
	No large trees found
	Looking for large trees in OEBPS/p024.html...
	No large trees found
	Looking for large trees in OEBPS/p022.html...
	No large trees found
	Looking for large trees in OEBPS/p028.html...
	No large trees found
	Looking for large trees in OEBPS/p032.html...
	No large trees found
	Looking for large trees in OEBPS/p016.html...
	No large trees found
EPUB output written to d:\Users\CHAD~1.PAR\AppData\Local\Temp\calibre_vk9ngz\xv2tjj.epub
Unfortunately even after this conversion the file still does not validate. I am pretty sure it is due to the fonts and glyphs being used to create the music notation. Also, when I upload the Calibre converted file to my iPad and try to open it it crashes iBooks every time I try to open it.

==== The QUESTION ====
Is there any way that I can make this epub file work properly to the extent that Apple will accept it and it will validate properly? I have attached a copy of the epub file for you to look at. Please let me know if you need any additional information and thank you for any help you might be able to provide.
Attached Files
File Type: epub ChristmasCarolsClarinetiBookv3.epub (467.0 KB, 133 views)
maestroc is offline   Reply With Quote
Old 10-28-2013, 02:29 AM   #2
kovidgoyal
creator of calibre
kovidgoyal ought to be getting tired of karma fortunes by now.kovidgoyal ought to be getting tired of karma fortunes by now.kovidgoyal ought to be getting tired of karma fortunes by now.kovidgoyal ought to be getting tired of karma fortunes by now.kovidgoyal ought to be getting tired of karma fortunes by now.kovidgoyal ought to be getting tired of karma fortunes by now.kovidgoyal ought to be getting tired of karma fortunes by now.kovidgoyal ought to be getting tired of karma fortunes by now.kovidgoyal ought to be getting tired of karma fortunes by now.kovidgoyal ought to be getting tired of karma fortunes by now.kovidgoyal ought to be getting tired of karma fortunes by now.
 
kovidgoyal's Avatar
 
Posts: 43,850
Karma: 22666666
Join Date: Oct 2006
Location: Mumbai, India
Device: Various
calibre is not going to generate a valid epub 2 file from an epub 3 source. The only guarantee that calibre makes is that if you feed it a valid epub 2 it will output a valid epub 2.

I dont know of any automated solution that will get you valid epub 2 from epub 3. I would suggest you contact the developers of the epub creating program and tell them to output epub 2 in the first place.
kovidgoyal is offline   Reply With Quote
Advert
Old 10-28-2013, 08:08 AM   #3
maestroc
Junior Member
maestroc began at the beginning.
 
Posts: 5
Karma: 10
Join Date: Oct 2012
Device: ipad
Quote:
Originally Posted by kovidgoyal View Post
calibre is not going to generate a valid epub 2 file from an epub 3 source. The only guarantee that calibre makes is that if you feed it a valid epub 2 it will output a valid epub 2.

I dont know of any automated solution that will get you valid epub 2 from epub 3. I would suggest you contact the developers of the epub creating program and tell them to output epub 2 in the first place.
I wasn't aware that Calibre only did epub 2. Is there a tool somewhere that works with epub 3 files? Epub 3 has been out since October 2011 so I guess I assumed that Calibre was able to handle it...
maestroc is offline   Reply With Quote
Reply


Forum Jump

Similar Threads
Thread Thread Starter Forum Replies Last Post
Why, During ePub to ePub Conversion does Calibre changes existing CSS classes? JSWolf Conversion 7 08-06-2011 07:32 PM
Can Calibre convert iBooks to ePub format? dandelioncottage Conversion 1 01-22-2011 03:08 PM
Conversion failures after 0.7.29 Stash123 Calibre 7 01-10-2011 06:16 PM
epub to pdf conversion using calibre rblearn Calibre 0 02-23-2010 04:57 PM
ebooks.adelaide Mobi Conversion Failures ascherjim Calibre 16 07-14-2009 12:16 PM


All times are GMT -4. The time now is 07:23 PM.


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