View Single Post
Old 11-29-2011, 10:31 PM   #1
eholzwarth
Junior Member
eholzwarth began at the beginning.
 
Posts: 1
Karma: 10
Join Date: Nov 2011
Device: iPad, Kindle, Nook
EPUB to MOBI conversion error in 0.8.28

Hi,
I'm getting a crash converting an EPUB to MOBI in 0.8.28. Another thread suggested unchecking the "Insert metadata as page at start of book" option but it is already unchecked. Error message is pasted below. Any ideas?


calibre, version 0.8.28
ERROR: Conversion Error: <b>Failed</b>: Convert book 1 of 1 (CR BR Book Set 1)

Convert book 1 of 1 (CR BR Book Set 1)
Resolved conversion options
calibre version: 0.8.28
{'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(., 'chapter|book|section|part|prologue|epilogue\\s+', 'i')) or @class = 'chapter']",
'chapter_mark': u'pagebreak',
'comments': None,
'cover': '/var/folders/h4/h4SwwJo+EwibwC2cHFt2YU+++TI/-Tmp-/calibre_0.8.28_tmp_1Crdb5/m6tyuF.jpeg',
'debug_pipeline': None,
'dehyphenate': True,
'delete_blank_paragraphs': True,
'disable_font_rescaling': False,
'dont_compress': False,
'duplicate_links_in_toc': False,
'enable_heuristics': False,
'extra_css': None,
'extract_to': None,
'filter_css': u'',
'fix_indents': True,
'font_size_mapping': None,
'format_scene_breaks': True,
'html_unwrap_factor': 0.4,
'input_encoding': None,
'input_profile': <calibre.customize.profiles.InputProfile object at 0x1084639d0>,
'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': 0.0,
'margin_left': 0.0,
'margin_right': 0.0,
'margin_top': 0.0,
'markup_chapter_headings': True,
'max_toc_links': 50,
'minimum_line_height': 120.0,
'mobi_ignore_margins': False,
'mobi_toc_at_start': False,
'no_chapters_in_toc': False,
'no_inline_navbars': True,
'no_inline_toc': False,
'output_profile': <calibre.customize.profiles.KindleOutput object at 0x108464050>,
'page_breaks_before': u'/',
'personal_doc': u'[PDOC]',
'prefer_author_sort': False,
'prefer_metadata_cover': False,
'pretty_print': False,
'pubdate': None,
'publisher': None,
'rating': None,
'read_metadata_from_opf': '/var/folders/h4/h4SwwJo+EwibwC2cHFt2YU+++TI/-Tmp-/calibre_0.8.28_tmp_1Crdb5/wEAyeX.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'',
'rescale_images': False,
'series': None,
'series_index': None,
'share_not_sync': False,
'smarten_punctuation': False,
'sr1_replace': None,
'sr1_search': None,
'sr2_replace': None,
'sr2_search': None,
'sr3_replace': None,
'sr3_search': None,
'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/h4/h4SwwJo+EwibwC2cHFt2YU+++TI/-Tmp-/calibre_0.8.28_tmp_1Crdb5/FRn7kU.epub
Found HTML cover OEBPS/Text/cover-set.xhtml
Parsing all content...
Parsing OEBPS/Text/Section0011.xhtml ...
Parsing OEBPS/Text/Section0010.xhtml ...
Parsing OEBPS/Styles/stylesheet.css ...
Parsing OEBPS/Text/Section0003.xhtml ...
Parsing OEBPS/Text/Section0007.xhtml ...
Parsing OEBPS/Text/Section0004.xhtml ...
Parsing OEBPS/Text/Section0001.xhtml ...
Parsing OEBPS/Text/Section0006.xhtml ...
Parsing OEBPS/Text/Section0002.xhtml ...
Parsing OEBPS/Text/Section0008.xhtml ...
Parsing OEBPS/Text/Section0005.xhtml ...
Parsing OEBPS/Text/Section00001.xhtml ...
Parsing OEBPS/Text/Section0009.xhtml ...
Parsing OEBPS/Text/cover-fan.xhtml ...
Parsing OEBPS/Text/cover-set.xhtml ...
Reading TOC from NCX...
Merging user specified metadata...
Detecting structure...
Python function terminated unexpectedly: maximum recursion depth exceeded while calling a Python object
Flattening CSS and remapping font sizes...
Traceback (most recent call last):
File "/Applications/calibre.app/Contents/Resources/Python/lib/python2.7/site.py", line 147, in main
return run_entry_point()
File "/Applications/calibre.app/Contents/Resources/Python/lib/python2.7/site.py", line 116, in run_entry_point
return getattr(pmod, func)()
File "site-packages/calibre/utils/ipc/worker.py", line 187, 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/oeb/transforms/flatcss.py", line 135, in __call__
File "site-packages/calibre/ebooks/oeb/transforms/flatcss.py", line 180, in baseline_spine
File "site-packages/calibre/ebooks/oeb/transforms/flatcss.py", line 169, in baseline_node
File "site-packages/calibre/ebooks/oeb/transforms/flatcss.py", line 169, in baseline_node
File "site-packages/calibre/ebooks/oeb/transforms/flatcss.py", line 165, in baseline_node
File "site-packages/calibre/ebooks/oeb/stylizer.py", line 523, in __getitem__
File "site-packages/calibre/ebooks/oeb/stylizer.py", line 542, in _unit_convert
File "site-packages/calibre/ebooks/oeb/stylizer.py", line 630, in fontSize
File "site-packages/calibre/ebooks/oeb/stylizer.py", line 613, in normalize_fontsize
File "site-packages/calibre/ebooks/oeb/stylizer.py", line 542, in _unit_convert
File "site-packages/calibre/ebooks/oeb/stylizer.py", line 630, in fontSize
File "site-packages/calibre/ebooks/oeb/stylizer.py", line 613, in normalize_fontsize
[.... sequence repeated many times .....]
File "site-packages/calibre/ebooks/oeb/stylizer.py", line 542, in _unit_convert
File "site-packages/calibre/ebooks/oeb/stylizer.py", line 630, in fontSize
File "site-packages/calibre/ebooks/oeb/stylizer.py", line 613, in normalize_fontsize
File "site-packages/calibre/ebooks/oeb/stylizer.py", line 542, in _unit_convert
RuntimeError: maximum recursion depth exceeded while calling a Python object

Last edited by eholzwarth; 11-29-2011 at 10:35 PM.
eholzwarth is offline   Reply With Quote