Conversion Error - TypeError: select_nth_last_child() takes exactly 3 arguments (2 given)
Affects | Status | Importance | Assigned to | Milestone | |
---|---|---|---|---|---|
calibre |
Fix Released
|
Undecided
|
Unassigned |
Bug Description
I am using Calibre 2.23.0 on OSX.
I am trying to convert an AZW3 to MOBI format (filetype "both").
When I try to convert it, I get the following error (Gistfile at https:/
Convert book 1 of 1 (Beginning Python Programming: Learn Python Programming in 7 Days (Treading on Python Book 1))
Resolved conversion options
calibre version: 2.23.0
{'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(., '\\s*((
'chapter_mark': u'pagebreak',
'comments': None,
'cover': u'/var/
'debug_pipeline': None,
'dehyphenate': True,
'delete_
'disable_
'dont_compress': False,
'duplicate_
'embed_all_fonts': False,
'embed_
'enable_
'expand_css': False,
'extra_css': None,
'extract_to': None,
'filter_css': u'',
'fix_indents': True,
'font_
'format_
'html_
'input_encoding': None,
'input_profile': <calibre.
'insert_
'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_file_type': u'both',
'mobi_
'mobi_
'mobi_
'no_chapters_
'no_inline_
'no_inline_toc': False,
'output_profile': <calibre.
'page_
'personal_doc': u'[EBOK]',
'prefer_
'prefer_
'pretty_print': False,
'pubdate': None,
'publisher': None,
'rating': None,
'read_
'remove_
'remove_
'remove_
'remove_
'renumber_
'replace_
'search_replace': '[]',
'series': None,
'series_index': None,
'share_not_sync': False,
'smarten_
'sr1_replace': None,
'sr1_search': None,
'sr2_replace': None,
'sr2_search': None,
'sr3_replace': None,
'sr3_search': None,
'start_
'subset_
'tags': None,
'timestamp': None,
'title': None,
'title_sort': None,
'toc_filter': None,
'toc_threshold': 6,
'toc_title': None,
'unsmarten_
'unwrap_lines': True,
'use_auto_toc': False,
'verbose': 2}
InputFormatPlugin: MOBI Input running
on /var/folders/
Found KF8 MOBI of type 'standalone'
Extracting text...
Parsing all content...
Parsing text/part0033.html ...
Parsing text/part0018.html ...
Parsing text/part0026.html ...
Parsing text/part0013.html ...
Parsing text/part0006.html ...
Parsing text/part0000.html ...
Parsing text/part0032.html ...
Parsing text/part0007.html ...
Parsing text/part0017.html ...
Parsing styles/0001.css ...
Parsing text/part0016.html ...
Parsing text/part0024.html ...
Parsing text/part0012.html ...
Parsing text/part0008.html ...
Parsing text/part0023.html ...
Parsing text/part0009.html ...
Parsing text/part0031.html ...
Parsing text/part0025.html ...
Parsing text/part0003.html ...
Parsing text/part0014.html ...
Parsing text/part0022.html ...
Parsing text/part0030.html ...
Parsing text/part0010.html ...
Parsing text/part0002.html ...
Parsing text/part0027.html ...
Parsing text/part0011.html ...
Parsing text/part0021.html ...
Parsing text/part0029.html ...
Parsing text/part0020.html ...
Parsing text/part0028.html ...
Parsing text/part0004.html ...
Parsing text/part0001.html ...
Parsing text/part0034.html ...
Parsing text/part0015.html ...
Parsing text/part0005.html ...
Parsing text/part0019.html ...
Referenced file u'styles/
Reading TOC from NCX...
Merging user specified metadata...
Detecting structure...
Detected chapter: Ebook Formatting: KF8, Mobi & EPUB
Python function terminated unexpectedly: select_
Flattening CSS and remapping font sizes...
Traceback (most recent call last):
File "/Applications/
return run_entry_point()
File "/Applications/
return getattr(pmod, func)()
File "site-packages/
File "site-packages/
File "site-packages/
File "site-packages/
File "site-packages/
File "site-packages/
File "site-packages/
File "site-packages/
File "site-packages/
File "site-packages/
TypeError: select_
Attach the AZW3 file demonstrating/ reproducing the problem to this bug report. You can do that by clicking the "Add attachment or patch" link at the bottom of the bug's page. If the file you are attaching is copyrighted, mark the bug as private. You can do this by clicking the tiny lock icon next to "This report contains Public information" in the top right area of the bug's page.
status incomplete