View Single Post
Old 10-02-2010, 12:06 AM   #19
pmhickey2000
Junior Member
pmhickey2000 began at the beginning.
 
Posts: 1
Karma: 10
Join Date: Oct 2010
Device: none
IndexError: list index out of range

I am converting an epub created in indesign to a mobi ebook. i had no trouble until I started using version 0.7.2.1

Any help appreciated.

ERROR: Conversion Error: <b>Failed</b>: Convert book 1 of 1 (Kwanmukan Book 4)

Convert book 1 of 1 (Kwanmukan Book 4)
Resolved conversion options
calibre version: 0.7.21
{'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/+O/+OmneM3FFQ4yaWAUfEvG8++++TI/-Tmp-/calibre_0.7.21_tmp_04pot7/calibre_0.7.21_4_atsV.jpeg',
'debug_pipeline': None,
'disable_font_rescaling': False,
'dont_compress': False,
'extra_css': None,
'font_size_mapping': None,
'footer_regex': u'(?i)(?<=<hr>)((\\s*<a name=\\d+></a>((<img.+?>)*<br>\\s*)?\\d+<br>\\s*.*?\\s*)|(\\s* <a name=\\d+></a>((<img.+?>)*<br>\\s*)?.*?<br>\\s*\\d+))(?=<br>)' ,
'header_regex': u'(?i)(?<=<hr>)((\\s*<a name=\\d+></a>((<img.+?>)*<br>\\s*)?\\d+<br>\\s*.*?\\s*)|(\\s* <a name=\\d+></a>((<img.+?>)*<br>\\s*)?.*?<br>\\s*\\d+))(?=<br>)' ,
'html_unwrap_factor': 0.40000000000000002,
'input_encoding': None,
'input_profile': <calibre.customize.profiles.InputProfile object at 0x6804250>,
'insert_blank_line': False,
'insert_metadata': False,
'isbn': None,
'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,
'max_toc_links': 50,
'no_chapters_in_toc': False,
'no_inline_navbars': False,
'no_inline_toc': False,
'output_profile': <calibre.customize.profiles.OutputProfile object at 0x6804430>,
'page_breaks_before': u'/',
'personal_doc': u'[PDOC]',
'prefer_author_sort': False,
'prefer_metadata_cover': False,
'preprocess_html': False,
'pretty_print': False,
'pubdate': None,
'publisher': None,
'rating': None,
'read_metadata_from_opf': '/var/folders/+O/+OmneM3FFQ4yaWAUfEvG8++++TI/-Tmp-/calibre_0.7.21_tmp_04pot7/calibre_0.7.21_W3juqj.opf',
'remove_first_image': False,
'remove_footer': False,
'remove_header': False,
'remove_paragraph_spacing': False,
'remove_paragraph_spacing_indent_size': 1.5,
'rescale_images': False,
'series': None,
'series_index': None,
'smarten_punctuation': False,
'tags': None,
'timestamp': None,
'title': None,
'title_sort': None,
'toc_filter': None,
'toc_threshold': 6,
'toc_title': None,
'use_auto_toc': False,
'verbose': 2}
Python function terminated unexpectedly: list index out of range
InputFormatPlugin: EPUB Input running
on /Users/phickey/Calibre Library/Patrick M. Hickey/Kwanmukan Book 4 (7)/Kwanmukan Book 4 - Patrick M. Hickey.epub
Parsing all content...
Parsing OEBPS/Chapter%203d%20Annotations.xhtml ...
Parsing OEBPS/Chapter%203a%20Photos.xhtml ...
Parsing OEBPS/Chapter%205a%20Photos.xhtml ...
Parsing OEBPS/Chapter%205e%20Additional%201.xhtml ...
Parsing OEBPS/In%20Memoriam.xhtml ...
Parsing OEBPS/Chapter%204b%20Pattern.xhtml ...
Parsing OEBPS/Chapter%203b%20Pattern.xhtml ...
Parsing OEBPS/Cover%20Page.xhtml ...
Parsing OEBPS/Forward.xhtml ...
Parsing OEBPS/Chapter%202.xhtml ...
Parsing OEBPS/Chapter%203c%20Bunkai.xhtml ...
Parsing OEBPS/Chapter%204.xhtml ...
Parsing OEBPS/Prolog.xhtml ...
Parsing OEBPS/Chapter%204c%20Bunkai.xhtml ...
Parsing OEBPS/template.css ...
Parsing OEBPS/Introduction.xhtml ...
Parsing OEBPS/Chapter%201.xhtml ...
Parsing OEBPS/Chapter%204a%20Photos.xhtml ...
Parsing OEBPS/Chapter%204e%20Additional.xhtml ...
Parsing OEBPS/Chapter%205d%20Annotations.xhtml ...
Parsing OEBPS/Chapter%206.xhtml ...
Parsing OEBPS/Park%20Chull%20Hee.xhtml ...
Parsing OEBPS/Chapter%205c%20Bunkai.xhtml ...
Parsing OEBPS/Chapter%204d%20Annotations.xhtml ...
Parsing OEBPS/Info%20Page.xhtml ...
Parsing OEBPS/Chapter%205b%20Pattern.xhtml ...
Parsing OEBPS/Chapter%205f%20Additional%202.xhtml ...
Parsing OEBPS/About%20the%20Author.xhtml ...
Parsing OEBPS/Chapter%203.xhtml ...
Parsing OEBPS/Chapter%205.xhtml ...
Parsing OEBPS/Title.xhtml ...
Referenced file u'OEBPS/Fonts/Century%20Schoolbook' not in manifest
Referenced file u'OEBPS/Fonts/Times.dfont' not in manifest
Referenced file u'OEBPS/Fonts/Times%20New%20Roman' not in manifest
Reading TOC from NCX...
Traceback (most recent call last):
File "/Applications/calibre.app/Contents/Resources/Python/lib/python2.6/site.py", line 147, in main
return run_entry_point()
File "/Applications/calibre.app/Contents/Resources/Python/lib/python2.6/site.py", line 116, in run_entry_point
return getattr(pmod, func)()
File "site-packages/calibre/utils/ipc/worker.py", line 107, in main
File "site-packages/calibre/gui2/convert/gui_conversion.py", line 24, in gui_convert
File "site-packages/calibre/ebooks/conversion/plumber.py", line 841, in run
File "site-packages/calibre/ebooks/conversion/plumber.py", line 968, in create_oebbook
File "site-packages/calibre/ebooks/oeb/reader.py", line 72, in __call__
File "site-packages/calibre/ebooks/oeb/reader.py", line 596, in _all_from_opf
File "site-packages/calibre/ebooks/oeb/reader.py", line 460, in _toc_from_opf
File "site-packages/calibre/ebooks/oeb/reader.py", line 367, in _toc_from_ncx
IndexError: list index out of range
pmhickey2000 is offline   Reply With Quote