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 06-02-2013, 09:50 PM   #1
chronomaster5042
Junior Member
chronomaster5042 began at the beginning.
 
Posts: 2
Karma: 10
Join Date: Jun 2013
Device: None
Error converting Txt to epub

I'm trying to convert the walkthrough here (Link removed - received a External Link Disallowed error from GameFAQ site) to an epub to use on my tablet. The only settings I changed were Output profile to tablet and Input profile to default input profile. The error output is attached. So what am I doing wrong?

Spoiler:
calibre, version 0.9.33 (win32, isfrozen: True)
Conversion Error: Failed: Convert book 1 of 1 (tales of symphonia)

Convert book 1 of 1 (tales of symphonia)
Resolved conversion options
calibre version: 0.9.33
{'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(., '\\s*((chapter|book|section|part)\\s+)|((prolog|pr ologue|epilogue)(\\s+|$))', 'i')) or @class = 'chapter']",
'chapter_mark': u'pagebreak',
'comments': None,
'cover': None,
'debug_pipeline': None,
'dehyphenate': True,
'delete_blank_paragraphs': True,
'disable_font_rescaling': False,
'dont_split_on_page_breaks': False,
'duplicate_links_in_toc': False,
'embed_font_family': None,
'enable_heuristics': False,
'epub_flatten': False,
'extra_css': None,
'extract_to': None,
'filter_css': u'',
'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 0x0000000004E98198>,
'insert_blank_line': False,
'insert_blank_line_size': 0.5,
'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': False,
'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.TabletOutput object at 0x0000000004E98B38>,
'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\\Cory_2\\AppData\\Local\\Temp\\calibre _lzvrhk\\mz25e9.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'',
'search_replace': '[]',
'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,
'start_reading_at': None,
'subset_embedded_fonts': False,
'tags': None,
'timestamp': None,
'title': None,
'title_sort': None,
'toc_filter': None,
'toc_threshold': 6,
'txt_in_remove_indents': False,
'unsmarten_punctuation': False,
'unwrap_lines': True,
'use_auto_toc': False,
'verbose': 2}
InputFormatPlugin: TXT Input running
on C:\Users\Cory_2\AppData\Local\Temp\calibre_lzvrhk\ ne5v1p.txt
Reading text from file...
Detected input encoding as ascii with a confidence of 100.0%
Auto detected paragraph type as block
Auto detected formatting as markdown
Running text through markdown conversion...
Python function terminated unexpectedly
child index out of range (Error Code: 1)
Traceback (most recent call last):
File "site.py", line 132, in main
File "site.py", line 109, in run_entry_point
File "site-packages\calibre\utils\ipc\worker.py", line 189, 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 1010, in run
File "site-packages\calibre\customize\conversion.py", line 239, in __call__
File "site-packages\calibre\ebooks\conversion\plugins\txt_inp ut.py", line 181, in convert
File "site-packages\calibre\ebooks\txt\processor.py", line 106, in convert_markdown
File "site-packages\calibre\ebooks\markdown\markdown.py", line 391, in convert
File "site-packages\calibre\ebooks\markdown\blockparser.py", line 60, in parseDocument
File "site-packages\calibre\ebooks\markdown\blockparser.py", line 75, in parseChunk
File "site-packages\calibre\ebooks\markdown\blockparser.py", line 92, in parseBlocks
File "site-packages\calibre\ebooks\markdown\blockprocessors.p y", line 295, in run
IndexError: child index out of range

Last edited by DoctorOhh; 06-02-2013 at 10:26 PM. Reason: Add error to post and Link removed - received a External Link Disallowed error from GameFAQ site
chronomaster5042 is offline   Reply With Quote
Old 06-02-2013, 10:14 PM   #2
kovidgoyal
creator of calibre
kovidgoyal ought to be getting tired of karma fortunes by now.kovidgoyal ought to be getting tired of karma fortunes by now.kovidgoyal ought to be getting tired of karma fortunes by now.kovidgoyal ought to be getting tired of karma fortunes by now.kovidgoyal ought to be getting tired of karma fortunes by now.kovidgoyal ought to be getting tired of karma fortunes by now.kovidgoyal ought to be getting tired of karma fortunes by now.kovidgoyal ought to be getting tired of karma fortunes by now.kovidgoyal ought to be getting tired of karma fortunes by now.kovidgoyal ought to be getting tired of karma fortunes by now.kovidgoyal ought to be getting tired of karma fortunes by now.
 
kovidgoyal's Avatar
 
Posts: 44,380
Karma: 23764838
Join Date: Oct 2006
Location: Mumbai, India
Device: Various
In the txt input section of the conversion dialog change the txt formatting style to plain, its being auto detected as markdown for your txt file.
kovidgoyal is offline   Reply With Quote
Advert
Old 06-02-2013, 10:23 PM   #3
chronomaster5042
Junior Member
chronomaster5042 began at the beginning.
 
Posts: 2
Karma: 10
Join Date: Jun 2013
Device: None
Awesome, thanks for the help
chronomaster5042 is offline   Reply With Quote
Reply


Forum Jump

Similar Threads
Thread Thread Starter Forum Replies Last Post
Converting TXT to ePub - problem with encoding tomek buszewski Conversion 1 04-09-2013 09:10 AM
Converting txt to epub, chapter heading contains number NMinker Conversion 2 11-01-2011 11:30 AM
Issue with converting TXT to Epub druntar Conversion 1 05-02-2011 06:45 AM
Help: Converting from .txt to .epub for Aldiko on Android SlowRain Calibre 4 10-24-2010 11:25 AM
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 08:07 PM.


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