![]() |
#1 |
Junior Member
![]() Posts: 1
Karma: 10
Join Date: Jun 2010
Device: PC / mobile
|
![]()
got the following error when converting an ebook from PDF to RTF.
ERROR: Conversion Error: <b>Failed</b>: Convert book 1 of 1 (SUN Tzu AND THE ART OF BUSINESS) Convert book 1 of 1 (SUN Tzu AND THE ART OF BUSINESS) Resolved conversion options {'asciiize': False, 'author_sort': None, 'authors': None, 'base_font_size': 0.0, 'book_producer': None, '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:\\docume~1\\khuzem~1.gar\\locals~1\\temp\\calib re_0.6.44_abyphe.jpeg', 'debug_pipeline': None, 'disable_font_rescaling': False, 'dont_justify': 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>)' , 'input_encoding': None, 'input_profile': <calibre.customize.profiles.InputProfile object at 0x02DD95F0>, 'insert_blank_line': False, 'insert_metadata': False, 'isbn': None, '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, 'new_pdf_engine': False, 'no_chapters_in_toc': False, 'no_images': False, 'no_inline_navbars': False, 'output_profile': <calibre.customize.profiles.OutputProfile object at 0x02DD97B0>, 'page_breaks_before': u"//*[name()='h1' or name()='h2']", 'prefer_metadata_cover': False, 'preprocess_html': False, 'pretty_print': False, 'pubdate': None, 'publisher': None, 'rating': None, 'read_metadata_from_opf': 'c:\\docume~1\\khuzem~1.gar\\locals~1\\temp\\calib re_0.6.44_thcxlk.opf', 'remove_first_image': False, 'remove_footer': False, 'remove_header': False, 'remove_paragraph_spacing': False, 'remove_paragraph_spacing_indent_size': 1.5, 'series': None, 'series_index': None, 'tags': None, 'timestamp': None, 'title': None, 'title_sort': None, 'toc_filter': None, 'toc_threshold': 6, 'unwrap_factor': 0.0, 'use_auto_toc': False, 'verbose': 2} InputFormatPlugin: PDF Input running on C:\Documents and Settings\khuzema.GARMCO\Library\Unknown\SUN Tzu AND THE ART OF BUSINESS (2)\SUN Tzu AND THE ART OF BUSINESS - Unknown.pdf Converting file to html... pdftohtml log: Retrieving document metadata... Generating manifest... Rendering manifest... Parsing all content... Parsing index.html ... Initial parse failed: Traceback (most recent call last): File "site-packages\calibre\ebooks\oeb\base.py", line 814, in first_pass File "lxml.etree.pyx", line 2538, in lxml.etree.fromstring (src/lxml/lxml.etree.c:48266) File "parser.pxi", line 1536, in lxml.etree._parseMemoryDocument (src/lxml/lxml.etree.c:71653) File "parser.pxi", line 1408, in lxml.etree._parseDoc (src/lxml/lxml.etree.c:70449) File "parser.pxi", line 898, in lxml.etree._BaseParser._parseUnicodeDoc (src/lxml/lxml.etree.c:67144) File "parser.pxi", line 539, in lxml.etree._ParserContext._handleParseResultDoc (src/lxml/lxml.etree.c:63820) File "parser.pxi", line 625, in lxml.etree._handleParseResult (src/lxml/lxml.etree.c:64741) File "parser.pxi", line 565, in lxml.etree._raiseParseError (src/lxml/lxml.etree.c:64084) XMLSyntaxError: Opening and ending tag mismatch: META line 6 and head, line 7, column 8 Parsing file 'index.html' as HTML Forcing index.html into XHTML namespace Generating default TOC from spine... Merging user specified metadata... Detecting structure... Auto generated TOC with 0 entries. Flattening CSS and remapping font sizes... Source base font size is 12.00000pt Cleaning up manifest... Trimming unused files from manifest... Parsing stylesheet.css ... Creating RTF Output... Converting XHTML to RTF markup... Converting index.html to RTF markup... 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 99, 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 898, in run File "site-packages\calibre\ebooks\rtf\output.py", line 20, in convert File "site-packages\calibre\ebooks\rtf\rtfml.py", line 106, in extract_content File "site-packages\calibre\ebooks\rtf\rtfml.py", line 123, in mlize_spine File "site-packages\calibre\ebooks\rtf\rtfml.py", line 139, in insert_images MemoryError |
![]() |
![]() |
![]() |
#2 |
Groupie
![]() ![]() ![]() ![]() ![]() Posts: 160
Karma: 416
Join Date: Apr 2010
Device: Astak EZ Reader Pro AND Sony PRS-505
|
Shouldn't this be in the Calibre forum?
|
![]() |
![]() |
Advert | |
|
![]() |
#3 |
sleepless reader
![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() Posts: 4,763
Karma: 615547
Join Date: Jan 2008
Location: Germany, near Stuttgart
Device: Sony PRS-505, PB 360° & 302, nook wi-fi, Kindle 3
|
|
![]() |
![]() |
![]() |
#4 |
creator of calibre
![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() Posts: 45,570
Karma: 28548962
Join Date: Oct 2006
Location: Mumbai, India
Device: Various
|
open a ticket and attach the pdf file
|
![]() |
![]() |
![]() |
|
![]() |
||||
Thread | Thread Starter | Forum | Replies | Last Post |
error message: ERROR ITMS-4099: "Invalid ISBN: [#] at Book (MZItmspBookPac | NewDay | ePub | 3 | 10-07-2010 01:47 PM |
Epub Fixer Error: "zip error: 15" | Gordo29 | Kobo Reader | 0 | 06-26-2010 01:57 PM |
ERROR: Error: Error communicating with device | JWood | Calibre | 10 | 04-20-2010 07:28 PM |
ver 0.6.3 error: Error communicating with device PRS-505 | scripo | Calibre | 4 | 08-01-2009 10:38 PM |
LED error codes and battery error | ThR | iRex | 2 | 04-08-2009 09:16 AM |