Register Guidelines E-Books Search Today's Posts Mark Forums Read

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

Notices

Reply
 
Thread Tools Search this Thread
Old 08-20-2015, 12:22 PM   #1
Chocky
Addict
Chocky can program the VCR without an owner's manual.Chocky can program the VCR without an owner's manual.Chocky can program the VCR without an owner's manual.Chocky can program the VCR without an owner's manual.Chocky can program the VCR without an owner's manual.Chocky can program the VCR without an owner's manual.Chocky can program the VCR without an owner's manual.Chocky can program the VCR without an owner's manual.Chocky can program the VCR without an owner's manual.Chocky can program the VCR without an owner's manual.Chocky can program the VCR without an owner's manual.
 
Chocky's Avatar
 
Posts: 257
Karma: 162122
Join Date: Jul 2012
Device: Kobo Touch
Conversion to KEPUB doesn't work

But only on a couple of books, so it's probably the EPUB's fault.
Spoiler:

calibre, version 2.35.0 (win32, isfrozen: True)
Conversion Error: Failed: Convert book 1 of 1 (Brother Cadfael's Penance: The Twentieth Chronicle of Brother Cadfael)

Convert book 1 of 1 (Brother Cadfael's Penance: The Twentieth Chronicle of Brother Cadfael)
Resolved conversion options
calibre version: 2.35.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'C:\\Users\\Steve\\AppData\\Local\\Temp\\calibre_ gmguya\\zotooo.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 0x0000000006245EF0>,
'insert_blank_line': False,
'insert_blank_line_size': 0.5,
'insert_metadata': False,
'isbn': None,
'italicize_common_cases': True,
'keep_ligatures': False,
'kepub_clean_markup': True,
'kepub_disable_hyphenation': False,
'kepub_hyphenate': True,
'kepub_replace_lang': True,
'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.KoboReaderOutput object at 0x00000000062545F8>,
'page_breaks_before': u"//*[name()='h1' or name()='h2']",
'prefer_metadata_cover': False,
'preserve_cover_aspect_ratio': False,
'pretty_print': True,
'pubdate': None,
'publisher': None,
'rating': None,
'read_metadata_from_opf': u'C:\\Users\\Steve\\AppData\\Local\\Temp\\calibre_ gmguya\\ipmk6b.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 C:\Users\Steve\AppData\Local\Temp\calibre_gmguya\r ucvkl.epub
Found HTML cover content/calibre_title_page.html
Parsing all content...
Manifest item u'content/Brother Cadfael\u2019s Penance_split_0.html' not found
Manifest item u'content/Brother Cadfael\u2019s Penance_split_1.html' not found
Manifest item u'content/Brother Cadfael\u2019s Penance_split_2.html' not found
Manifest item u'content/Brother Cadfael\u2019s Penance_split_3.html' not found
Manifest item u'content/Brother Cadfael\u2019s Penance_split_4.html' not found
Manifest item u'content/Brother Cadfael\u2019s Penance_split_5.html' not found
Manifest item u'content/Brother Cadfael\u2019s Penance_split_6.html' not found
Manifest item u'content/Brother Cadfael\u2019s Penance_split_7.html' not found
Manifest item u'content/Brother Cadfael\u2019s Penance_split_8.html' not found
Manifest item u'content/Brother Cadfael\u2019s Penance_split_9.html' not found
Manifest item u'content/Brother Cadfael\u2019s Penance_split_10.html' not found
Manifest item u'content/Brother Cadfael\u2019s Penance_split_11.html' not found
Manifest item u'content/Brother Cadfael\u2019s Penance_split_12.html' not found
Manifest item u'content/Brother Cadfael\u2019s Penance_split_13.html' not found
Manifest item u'content/Brother Cadfael\u2019s Penance_split_14.html' not found
Manifest item u'content/Brother Cadfael\u2019s Penance_split_15.html' not found
Manifest item u'content/Brother Cadfael\u2019s Penance_split_16.html' not found
Manifest item u'content/Brother Cadfael\u2019s Penance_split_17.html' not found
Manifest item u'content/Brother Cadfael\u2019s Penance_split_18.html' not found
Manifest item u'content/resources/Brother Cadfael\u2019s Penance_calibre_2.css' not found
Manifest item u'content/resources/Brother Cadfael\u2019s Penance_calibre_1.css' not found
Manifest item u'content/resources/Brother Cadfael\u2019s Penance_calibre_0.css' not found
Parsing content/calibre_title_page.html ...
Referenced file u'content/Brother%20Cadfael\u2019s%20Penance_split_3.html' not found
Referenced file u'content/Brother%20Cadfael\u2019s%20Penance_split_16.html' not found
Referenced file u'content/Brother%20Cadfael\u2019s%20Penance_split_4.html' not found
Referenced file u'content/Brother%20Cadfael\u2019s%20Penance_split_6.html' not found
Referenced file u'content/Brother%20Cadfael\u2019s%20Penance_split_13.html' not found
Referenced file u'content/Brother%20Cadfael\u2019s%20Penance_split_14.html' not found
Referenced file u'content/Brother%20Cadfael\u2019s%20Penance_split_2.html' not found
Referenced file u'content/Brother%20Cadfael\u2019s%20Penance_split_10.html' not found
Referenced file u'content/Brother%20Cadfael\u2019s%20Penance_split_8.html' not found
Referenced file u'content/Brother%20Cadfael\u2019s%20Penance_split_9.html' not found
Referenced file u'content/Brother%20Cadfael\u2019s%20Penance_split_17.html' not found
Referenced file u'content/Brother%20Cadfael\u2019s%20Penance_split_5.html' not found
Referenced file u'content/Brother%20Cadfael\u2019s%20Penance_split_12.html' not found
Referenced file u'content/Brother%20Cadfael\u2019s%20Penance_split_7.html' not found
Referenced file u'content/Brother%20Cadfael\u2019s%20Penance_split_15.html' not found
Referenced file u'content/Brother%20Cadfael\u2019s%20Penance_split_11.html' not found
Spine item 'id2.1' not found
Spine item 'id2.2' not found
Spine item 'id2.3' not found
Spine item 'id2.4' not found
Spine item 'id2.5' not found
Spine item 'id2.6' not found
Spine item 'id2.7' not found
Spine item 'id2.8' not found
Spine item 'id2.9' not found
Spine item 'id2.10' not found
Spine item 'id2.11' not found
Spine item 'id2.12' not found
Spine item 'id2.13' not found
Spine item 'id2.14' not found
Spine item 'id2.15' not found
Spine item 'id2.16' not found
Spine item 'id2.17' not found
Spine item 'id2.18' not found
Spine item 'id2.19' not found
Python function terminated unexpectedly
Spine is empty (Error Code: 1)
Traceback (most recent call last):
File "site.py", line 132, in main
File "site.py", line 109, in run_entry_point
File "site-packages\calibre\utils\ipc\worker.py", line 193, in main
File "site-packages\calibre\gui2\convert\gui_conversion.py", line 31, in gui_convert_override
File "site-packages\calibre\gui2\convert\gui_conversion.py", line 25, in gui_convert
File "site-packages\calibre\ebooks\conversion\plumber.py", line 1053, in run
File "site-packages\calibre\ebooks\conversion\plumber.py", line 1234, in create_oebbook
File "site-packages\calibre\ebooks\oeb\reader.py", line 71, in __call__
File "site-packages\calibre\ebooks\oeb\reader.py", line 696, in _all_from_opf
File "site-packages\calibre\ebooks\oeb\reader.py", line 343, in _spine_from_opf
OEBError: Spine is empty

Last edited by theducks; 08-20-2015 at 12:24 PM. Reason: wrap long paste in spoiler
Chocky is offline   Reply With Quote
Old 08-20-2015, 09:21 PM   #2
jackie_w
Grand Sorcerer
jackie_w ought to be getting tired of karma fortunes by now.jackie_w ought to be getting tired of karma fortunes by now.jackie_w ought to be getting tired of karma fortunes by now.jackie_w ought to be getting tired of karma fortunes by now.jackie_w ought to be getting tired of karma fortunes by now.jackie_w ought to be getting tired of karma fortunes by now.jackie_w ought to be getting tired of karma fortunes by now.jackie_w ought to be getting tired of karma fortunes by now.jackie_w ought to be getting tired of karma fortunes by now.jackie_w ought to be getting tired of karma fortunes by now.jackie_w ought to be getting tired of karma fortunes by now.
 
Posts: 5,556
Karma: 13867344
Join Date: Sep 2009
Location: UK
Device: Kobo: H2O, GloHD, KA1, ClaraHD, Forma
Quote:
Originally Posted by Chocky View Post
But only on a couple of books, so it's probably the EPUB's fault.
Spoiler:

calibre, version 2.35.0 (win32, isfrozen: True)
Conversion Error: Failed: Convert book 1 of 1 (Brother Cadfael's Penance: The Twentieth Chronicle of Brother Cadfael)

Convert book 1 of 1 (Brother Cadfael's Penance: The Twentieth Chronicle of Brother Cadfael)
Resolved conversion options
calibre version: 2.35.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'C:\\Users\\Steve\\AppData\\Local\\Temp\\calibre_ gmguya\\zotooo.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 0x0000000006245EF0>,
'insert_blank_line': False,
'insert_blank_line_size': 0.5,
'insert_metadata': False,
'isbn': None,
'italicize_common_cases': True,
'keep_ligatures': False,
'kepub_clean_markup': True,
'kepub_disable_hyphenation': False,
'kepub_hyphenate': True,
'kepub_replace_lang': True,
'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.KoboReaderOutput object at 0x00000000062545F8>,
'page_breaks_before': u"//*[name()='h1' or name()='h2']",
'prefer_metadata_cover': False,
'preserve_cover_aspect_ratio': False,
'pretty_print': True,
'pubdate': None,
'publisher': None,
'rating': None,
'read_metadata_from_opf': u'C:\\Users\\Steve\\AppData\\Local\\Temp\\calibre_ gmguya\\ipmk6b.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 C:\Users\Steve\AppData\Local\Temp\calibre_gmguya\r ucvkl.epub
Found HTML cover content/calibre_title_page.html
Parsing all content...
Manifest item u'content/Brother Cadfael\u2019s Penance_split_0.html' not found
Manifest item u'content/Brother Cadfael\u2019s Penance_split_1.html' not found
Manifest item u'content/Brother Cadfael\u2019s Penance_split_2.html' not found
Manifest item u'content/Brother Cadfael\u2019s Penance_split_3.html' not found
Manifest item u'content/Brother Cadfael\u2019s Penance_split_4.html' not found
Manifest item u'content/Brother Cadfael\u2019s Penance_split_5.html' not found
Manifest item u'content/Brother Cadfael\u2019s Penance_split_6.html' not found
Manifest item u'content/Brother Cadfael\u2019s Penance_split_7.html' not found
Manifest item u'content/Brother Cadfael\u2019s Penance_split_8.html' not found
Manifest item u'content/Brother Cadfael\u2019s Penance_split_9.html' not found
Manifest item u'content/Brother Cadfael\u2019s Penance_split_10.html' not found
Manifest item u'content/Brother Cadfael\u2019s Penance_split_11.html' not found
Manifest item u'content/Brother Cadfael\u2019s Penance_split_12.html' not found
Manifest item u'content/Brother Cadfael\u2019s Penance_split_13.html' not found
Manifest item u'content/Brother Cadfael\u2019s Penance_split_14.html' not found
Manifest item u'content/Brother Cadfael\u2019s Penance_split_15.html' not found
Manifest item u'content/Brother Cadfael\u2019s Penance_split_16.html' not found
Manifest item u'content/Brother Cadfael\u2019s Penance_split_17.html' not found
Manifest item u'content/Brother Cadfael\u2019s Penance_split_18.html' not found
Manifest item u'content/resources/Brother Cadfael\u2019s Penance_calibre_2.css' not found
Manifest item u'content/resources/Brother Cadfael\u2019s Penance_calibre_1.css' not found
Manifest item u'content/resources/Brother Cadfael\u2019s Penance_calibre_0.css' not found
Parsing content/calibre_title_page.html ...
Referenced file u'content/Brother%20Cadfael\u2019s%20Penance_split_3.html' not found
Referenced file u'content/Brother%20Cadfael\u2019s%20Penance_split_16.html' not found
Referenced file u'content/Brother%20Cadfael\u2019s%20Penance_split_4.html' not found
Referenced file u'content/Brother%20Cadfael\u2019s%20Penance_split_6.html' not found
Referenced file u'content/Brother%20Cadfael\u2019s%20Penance_split_13.html' not found
Referenced file u'content/Brother%20Cadfael\u2019s%20Penance_split_14.html' not found
Referenced file u'content/Brother%20Cadfael\u2019s%20Penance_split_2.html' not found
Referenced file u'content/Brother%20Cadfael\u2019s%20Penance_split_10.html' not found
Referenced file u'content/Brother%20Cadfael\u2019s%20Penance_split_8.html' not found
Referenced file u'content/Brother%20Cadfael\u2019s%20Penance_split_9.html' not found
Referenced file u'content/Brother%20Cadfael\u2019s%20Penance_split_17.html' not found
Referenced file u'content/Brother%20Cadfael\u2019s%20Penance_split_5.html' not found
Referenced file u'content/Brother%20Cadfael\u2019s%20Penance_split_12.html' not found
Referenced file u'content/Brother%20Cadfael\u2019s%20Penance_split_7.html' not found
Referenced file u'content/Brother%20Cadfael\u2019s%20Penance_split_15.html' not found
Referenced file u'content/Brother%20Cadfael\u2019s%20Penance_split_11.html' not found
Spine item 'id2.1' not found
Spine item 'id2.2' not found
Spine item 'id2.3' not found
Spine item 'id2.4' not found
Spine item 'id2.5' not found
Spine item 'id2.6' not found
Spine item 'id2.7' not found
Spine item 'id2.8' not found
Spine item 'id2.9' not found
Spine item 'id2.10' not found
Spine item 'id2.11' not found
Spine item 'id2.12' not found
Spine item 'id2.13' not found
Spine item 'id2.14' not found
Spine item 'id2.15' not found
Spine item 'id2.16' not found
Spine item 'id2.17' not found
Spine item 'id2.18' not found
Spine item 'id2.19' not found
Python function terminated unexpectedly
Spine is empty (Error Code: 1)
Traceback (most recent call last):
File "site.py", line 132, in main
File "site.py", line 109, in run_entry_point
File "site-packages\calibre\utils\ipc\worker.py", line 193, in main
File "site-packages\calibre\gui2\convert\gui_conversion.py", line 31, in gui_convert_override
File "site-packages\calibre\gui2\convert\gui_conversion.py", line 25, in gui_convert
File "site-packages\calibre\ebooks\conversion\plumber.py", line 1053, in run
File "site-packages\calibre\ebooks\conversion\plumber.py", line 1234, in create_oebbook
File "site-packages\calibre\ebooks\oeb\reader.py", line 71, in __call__
File "site-packages\calibre\ebooks\oeb\reader.py", line 696, in _all_from_opf
File "site-packages\calibre\ebooks\oeb\reader.py", line 343, in _spine_from_opf
OEBError: Spine is empty
Based on your error log, I wonder if it's because your source epub contains filenames (and possibly also spine ids) with 'unsafe characters'? If you open the epub in the calibre Editor and run Check Book I'm pretty sure it will flag many errors because of these names. It might be worth running the Editor's auto-fix to clear up the name problems before retrying the epub-to-kepub conversion.
jackie_w is offline   Reply With Quote
Advert
Old 08-21-2015, 09:32 AM   #3
Chocky
Addict
Chocky can program the VCR without an owner's manual.Chocky can program the VCR without an owner's manual.Chocky can program the VCR without an owner's manual.Chocky can program the VCR without an owner's manual.Chocky can program the VCR without an owner's manual.Chocky can program the VCR without an owner's manual.Chocky can program the VCR without an owner's manual.Chocky can program the VCR without an owner's manual.Chocky can program the VCR without an owner's manual.Chocky can program the VCR without an owner's manual.Chocky can program the VCR without an owner's manual.
 
Chocky's Avatar
 
Posts: 257
Karma: 162122
Join Date: Jul 2012
Device: Kobo Touch
Ha,

just checked and 2 books have only got the front page..
Chocky is offline   Reply With Quote
Reply

Thread Tools Search this Thread
Search this Thread:

Advanced Search

Forum Jump

Similar Threads
Thread Thread Starter Forum Replies Last Post
Kepub that doesn't change the formatting? JSWolf Kobo Reader 9 10-01-2014 10:17 PM
Kepub -> epub conversion? bartveld Kobo Reader 9 05-18-2014 05:37 AM
Output font doesn't work in conversion 1gnition Calibre 1 10-12-2013 12:00 AM
Kepub - how does it work? Lynx-lynx Kobo Reader 5 01-31-2013 06:09 AM
Touch Any hack/work-around to sync bookmarks of non Kobo ePub (kepub) andsoitgoes Kobo Reader 3 04-03-2012 03:56 PM


All times are GMT -4. The time now is 04:44 AM.


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