Oh, thank you for the heads-up about the spoiler tags - it's been a while since I was last here and I couldn't remember how to do that, so I was worried about spamming the board with the gigantic error log. Sorry! Here it is, this time in full.
Spoiler:
calibre, version 0.7.53
ERROR: Conversion Error: <b>Failed</b>: Convert book 1 of 1 (BookTitle)
Convert book 1 of 1 (BookTitle)
Resolved conversion options
calibre version: 0.7.53
{'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\\s+', 'i')) or @class = 'chapter']",
'chapter_mark': u'pagebreak',
'comments': None,
'cover': 'c:\\users\\username\\appdata\\local\\temp\\calibr e_0.7.53_tmp_ujlnzk\\calibre_0.7.53_lminnd.jpeg',
'debug_pipeline': None,
'dehyphenate': True,
'delete_blank_paragraphs': True,
'disable_font_rescaling': False,
'dont_compress': False,
'enable_heuristics': False,
'extra_css': None,
'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 0x05932870>,
'insert_blank_line': False,
'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,
'mobi_ignore_margins': False,
'no_chapters_in_toc': False,
'no_inline_navbars': True,
'no_inline_toc': True,
'output_profile': <calibre.customize.profiles.KindleOutput object at 0x05932B90>,
'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': 'c:\\users\\username\\appdata\\local\\temp\\calibr e_0.7.53_tmp_ujlnzk\\calibre_0.7.53_gmidri.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,
'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,
'unwrap_lines': True,
'use_auto_toc': False,
'verbose': 2}
InputFormatPlugin: EPUB Input running
on C:\Users\username\Documents\E-Book Library\Calibre Archive\Author\BookTitle (160)\BookTitle - Author.epub
Parsing all content...
Parsing OEBPS/Text/Chap47.xhtml ...
Parsing OEBPS/Text/Chap17.xhtml ...
Parsing OEBPS/Text/Chap32.xhtml ...
Parsing OEBPS/Text/Chap18.xhtml ...
Parsing OEBPS/Text/Chap19.xhtml ...
Parsing OEBPS/Text/Chap43.xhtml ...
Parsing OEBPS/Text/Chap20.xhtml ...
Parsing OEBPS/Text/Chap21.xhtml ...
Parsing OEBPS/Text/Chap38.xhtml ...
Parsing OEBPS/Text/Chap22.xhtml ...
Parsing OEBPS/Text/Chap46b.xhtml ...
Parsing OEBPS/Text/Chap23.xhtml ...
Parsing OEBPS/Text/Chap33.xhtml ...
Parsing OEBPS/Text/Chap24.xhtml ...
Parsing OEBPS/Text/Chap25.xhtml ...
Parsing OEBPS/Text/Chap39.xhtml ...
Parsing OEBPS/Text/Chap44.xhtml ...
Parsing OEBPS/Text/Summary.xhtml ...
Parsing OEBPS/Text/Chap26.xhtml ...
Parsing OEBPS/Text/Chap27.xhtml ...
Parsing OEBPS/Text/AboutAuthor.xhtml ...
Parsing OEBPS/Text/Part05.xhtml ...
Parsing OEBPS/Text/Chap28.xhtml ...
Parsing OEBPS/Text/Chap29.xhtml ...
Parsing OEBPS/Text/Chap34.xhtml ...
Parsing OEBPS/Text/Part04.xhtml ...
Parsing OEBPS/Styles/StyleNovel.css ...
Parsing OEBPS/Text/Chap31.xhtml ...
Parsing OEBPS/Text/Chap45.xhtml ...
Parsing OEBPS/Text/Part03.xhtml ...
Parsing OEBPS/Text/Chap01.xhtml ...
Parsing OEBPS/Text/Chap02.xhtml ...
Parsing OEBPS/Text/Chap40.xhtml ...
Parsing OEBPS/Text/Part02.xhtml ...
Parsing OEBPS/Text/Chap03.xhtml ...
Parsing OEBPS/Text/Chap04.xhtml ...
Parsing OEBPS/Text/Chap35.xhtml ...
Parsing OEBPS/Text/Part01.xhtml ...
Parsing OEBPS/Text/Chap05.xhtml ...
Parsing OEBPS/Text/Chap06.xhtml ...
Parsing OEBPS/Text/Chap30.xhtml ...
Parsing OEBPS/Text/Glossary.xhtml ...
Parsing OEBPS/Text/Chap07.xhtml ...
Parsing OEBPS/Text/TOC.xhtml ...
Parsing OEBPS/Text/Chap08.xhtml ...
Parsing OEBPS/Text/Chap41.xhtml ...
Parsing OEBPS/Text/Chap09.xhtml ...
Parsing OEBPS/Text/Chap10.xhtml ...
Parsing OEBPS/Text/Chap36.xhtml ...
Parsing OEBPS/Text/Chap11.xhtml ...
Parsing OEBPS/Text/Chap12.xhtml ...
Parsing OEBPS/Text/Chap46.xhtml ...
Parsing OEBPS/Text/Chap13.xhtml ...
Parsing OEBPS/Text/Chap14.xhtml ...
Parsing OEBPS/Text/Chap42.xhtml ...
Parsing OEBPS/Text/Chap15.xhtml ...
Parsing OEBPS/Text/Chap16.xhtml ...
Parsing OEBPS/Text/Chap37.xhtml ...
Reading TOC from NCX...
Merging user specified metadata...
Detecting structure...
Detected chapter: Part I
Detected chapter: Part II
Detected chapter: Part III
Detected chapter: Part IV
Detected chapter: Part V
Flattening CSS and remapping font sizes...
Source base font size is 12.00000pt
Removing fake margins...
Parsing stylesheet.css ...
Found 321 items of level: div_1
Found 2 items of level: p_2
Found 4354 items of level: p_1
Ignoring level p_2
div_1 left margin stats: Counter()
div_1 right margin stats: Counter()
p_1 left margin stats: Counter({u'0': 4354})
p_1 right margin stats: Counter({u'0': 4354})
Cleaning up manifest...
Trimming unused files from manifest...
Creating MOBI Output...
Applying case-transforming CSS...
Parsing manglecase.css ...
Python function terminated unexpectedly
(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\calibre\utils\ipc\worker.py", line 119, 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 1035, in run
File "site-packages\calibre\ebooks\mobi\output.py", line 173, in convert
File "site-packages\calibre\ebooks\oeb\transforms\manglecase. py", line 38, in __call__
File "site-packages\calibre\ebooks\oeb\transforms\manglecase. py", line 48, in mangle_spine
File "site-packages\calibre\ebooks\oeb\stylizer.py", line 199, in __init__
File "site-packages\calibre\ebooks\oeb\stylizer.py", line 99, in __init__
File "site-packages\lxml\cssselect.py", line 523, in css_to_xpath
File "site-packages\lxml\cssselect.py", line 648, in parse
File "site-packages\lxml\cssselect.py", line 663, in parse_selector_group
File "site-packages\lxml\cssselect.py", line 685, in parse_selector
File "site-packages\lxml\cssselect.py", line 697, in parse_simple_selector
File "site-packages\lxml\cssselect.py", line 969, in next
MemoryError
I definitely have enough room on my hard drive, so that's not the issue here. I have not run Memtest, but (in case it is relevant at all) my physical memory usage does not climb beyond 76% during conversion before the process cuts out.
OS-wise, this computer is nothing very unusual: Windows 7 (64-bit version) with Service Pack 1.
Edited to add: At your suggestion, I've just tried the conversion from .epub to .rtf format - still no luck. I get the same error dialogue after the "Python function terminated unexpectedly" line.