Register Guidelines E-Books Today's Posts Search

Go Back   MobileRead Forums > E-Book Software > Calibre > Conversion

Notices

Reply
 
Thread Tools Search this Thread
Old 05-02-2011, 06:03 AM   #1
druntar
Junior Member
druntar began at the beginning.
 
Posts: 1
Karma: 10
Join Date: May 2011
Device: Nook Color
Issue with converting TXT to Epub

Hey there guys I just tried to convert a book from TXT to Epub. Never had this issue before but is kicking out this error.

calibre, version 0.7.58
ERROR: Conversion Error: <b>Failed</b>: Convert book 1 of 1 (The Treasured One)

Convert book 1 of 1 (The Treasured One)
Resolved conversion options
calibre version: 0.7.58
{'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': u'c:\\users\\erik\\appdata\\local\\temp\\calibre_0 .7.58_tmp_lgqwga\\calibre_0.7.58_6iznd5.jpeg',
'debug_pipeline': None,
'dehyphenate': True,
'delete_blank_paragraphs': True,
'disable_font_rescaling': False,
'dont_split_on_page_breaks': False,
'enable_heuristics': True,
'epub_flatten': False,
'extra_css': None,
'extract_to': None,
'fix_indents': True,
'flow_size': 260,
'font_size_mapping': None,
'format_scene_breaks': True,
'formatting_type': u'auto',
'html_unwrap_factor': 0.4,
'input_encoding': None,
'input_profile': <calibre.customize.profiles.InputProfile object at 0x05903E90>,
'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,
'markdown_disable_toc': True,
'markup_chapter_headings': True,
'max_toc_links': 50,
'minimum_line_height': 120.0,
'no_chapters_in_toc': False,
'no_default_epub_cover': False,
'no_inline_navbars': False,
'no_svg_cover': False,
'output_profile': <calibre.customize.profiles.NookColorOutput object at 0x0590B290>,
'page_breaks_before': u"//*[name()='h1' or name()='h2']",
'paragraph_type': u'auto',
'prefer_metadata_cover': False,
'preserve_cover_aspect_ratio': False,
'preserve_spaces': False,
'pretty_print': True,
'pubdate': None,
'publisher': None,
'rating': None,
'read_metadata_from_opf': u'c:\\users\\erik\\appdata\\local\\temp\\calibre_0 .7.58_tmp_lgqwga\\calibre_0.7.58_e142sn.opf',
'remove_fake_margins': False,
'remove_first_image': False,
'remove_paragraph_spacing': False,
'remove_paragraph_spacing_indent_size': 1.5,
'renumber_headings': True,
'replace_scene_breaks': u'',
'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,
'txt_in_remove_indents': False,
'unwrap_lines': True,
'use_auto_toc': False,
'verbose': 2}
InputFormatPlugin: TXT Input running
on C:\Users\Erik\Calibre Library\David Eddings\The Treasured One (125)\The Treasured One - David Eddings.txt
Reading text from file...
Detected input encoding as ISO-8859-2 with a confidence of 86.2932528587%
Auto detected paragraph type as single
Auto detected formatting as markdown
Running text through markdown conversion...
Python function terminated unexpectedly
list index out of range (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 920, in run
File "site-packages\calibre\customize\conversion.py", line 204, in __call__
File "site-packages\calibre\ebooks\txt\input.py", line 161, in convert
File "site-packages\calibre\ebooks\txt\processor.py", line 103, in convert_markdown
File "site-packages\calibre\ebooks\markdown\markdown.py", line 1729, in convert
File "site-packages\calibre\ebooks\markdown\markdown.py", line 487, in run
File "site-packages\calibre\ebooks\markdown\markdown.py", line 445, in _get_left_tag
IndexError: list index out of range

It's total gibberish to me. Any and all help would be appreciated thanks.
druntar is offline   Reply With Quote
Old 05-02-2011, 06:45 AM   #2
user_none
Sigil & calibre developer
user_none ought to be getting tired of karma fortunes by now.user_none ought to be getting tired of karma fortunes by now.user_none ought to be getting tired of karma fortunes by now.user_none ought to be getting tired of karma fortunes by now.user_none ought to be getting tired of karma fortunes by now.user_none ought to be getting tired of karma fortunes by now.user_none ought to be getting tired of karma fortunes by now.user_none ought to be getting tired of karma fortunes by now.user_none ought to be getting tired of karma fortunes by now.user_none ought to be getting tired of karma fortunes by now.user_none ought to be getting tired of karma fortunes by now.
 
user_none's Avatar
 
Posts: 2,488
Karma: 1063785
Join Date: Jan 2009
Location: Florida, USA
Device: Nook STR
Open a bug at bugs.launchpad.net/calibre and attach the file.
user_none is offline   Reply With Quote
Advert
Reply


Forum Jump

Similar Threads
Thread Thread Starter Forum Replies Last Post
TXT to EPUB conversion issue rockeh Conversion 2 03-18-2011 10:50 AM
Opus Txt files issue with epub firmware davidli Bookeen 1 11-30-2010 06:01 AM
Help: Converting from .txt to .epub for Aldiko on Android SlowRain Calibre 4 10-24-2010 11:25 AM
Issue with converting xhtml to epub using Calibre sg31 Calibre 0 10-20-2009 06:26 PM
Converting from txt to epub using defaults p3aul Calibre 7 10-09-2009 07:23 PM


All times are GMT -4. The time now is 10:39 PM.


MobileRead.com is a privately owned, operated and funded community.