Conversion from specific LRF books gives "RuntimeError: maximum recursion depth exceeded"
Affects | Status | Importance | Assigned to | Milestone | |
---|---|---|---|---|---|
calibre |
Fix Released
|
Undecided
|
Unassigned |
Bug Description
* The calibre version (get this by looking at the bottom of the main calibre screen)
calibre, version 0.7.52
* The operating system you are running calibre on (Windows, OS X, Linux)
Vista
* If you are reporting a conversion problem, attach the input file and the output file and describe exactly what the problem is.
Conversion of LRF, in two found instances, gives the following stack:
calibre, version 0.7.52
Resolved conversion options
calibre version: 0.7.52
{'asciiize': False,
'author_sort': None,
'authors': None,
'base_font_size': 0.0,
'book_producer': None,
'change_
'chapter': u"//*[((name()='h1' or name()='h2') and re:test(., 'chapter|
'chapter_mark': u'pagebreak',
'comments': None,
'cover': None,
'debug_pipeline': None,
'dehyphenate': True,
'delete_
'disable_
'dont_compress': False,
'enable_
'extra_css': None,
'fix_indents': True,
'font_
'format_
'html_
'input_encoding': None,
'input_profile': <calibre.
'insert_
'insert_metadata': False,
'isbn': None,
'italicize_
'keep_ligatures': False,
'language': None,
'level1_toc': None,
'level2_toc': None,
'level3_toc': None,
'line_height': 0.0,
'linearize_
'margin_bottom': 5.0,
'margin_left': 5.0,
'margin_right': 5.0,
'margin_top': 5.0,
'markup_
'max_toc_links': 50,
'minimum_
'mobi_
'no_chapters_
'no_inline_
'no_inline_toc': False,
'output_profile': <calibre.
'page_
'personal_doc': u'[PDOC]',
'prefer_
'prefer_
'pretty_print': False,
'pubdate': None,
'publisher': None,
'rating': None,
'read_
'remove_
'remove_
'remove_
'remove_
'renumber_
'replace_
'rescale_images': False,
'series': None,
'series_index': None,
'smarten_
'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,
'unwrap_lines': True,
'use_auto_toc': False,
'verbose': 2}
InputFormatPlugin: LRF Input running
on C:\Users\
Generating XML
Converting XML to HTML...
Python function terminated unexpectedly
maximum recursion depth exceeded (Error Code: 1)
Traceback (most recent call last):
File "site.py", line 103, in main
File "site.py", line 85, in run_entry_point
File "site-packages\
File "site-packages\
File "site-packages\
File "site-packages\
File "site-packages\
File "site-packages\
File "xslt.pxi", line 542, in lxml.etree.
File "lxml.etree.pyx", line 230, in lxml.etree.
File "xsltext.pxi", line 120, in lxml.etree.
File "site-packages\
File "site-packages\
File "site-packages\
File "site-packages\
[[ Above 2 Line 193 & 172 errors repeated about 1000 times ]]
File "site-packages\
RuntimeError: maximum recursion depth exceeded
LRF files attached.
Fixed in branch lp:calibre. The fix will be in the next release. calibre is usually released every Friday.
status fixreleased