View Single Post
Old 07-19-2011, 01:11 AM   #1
Deihmos
Junior Member
Deihmos began at the beginning.
 
Posts: 4
Karma: 10
Join Date: Jul 2011
Device: Kindle
error converting pdf to mobi

I am new and having trouble converting a pdf to mobi. Also tried epub and it also failed. It always ends with an error. Any help will be appreciated.

calibre, version 0.8.10
ERROR: Conversion Error: <b>Failed</b>: Convert book 1 of 1 (WileyPlus Ecollege Access to Accompany Intermediate Accounting, 13th Edition)

Convert book 1 of 1 (WileyPlus Ecollege Access to Accompany Intermediate Accounting, 13th Edition)
Resolved conversion options
calibre version: 0.8.10
{'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\\MYPC\\appdata\\local\\temp\\calibre_0 .8.10_tmp_mphlca\\calibre_0.8.10_71bldz.jpeg',
'debug_pipeline': None,
'dehyphenate': True,
'delete_blank_paragraphs': True,
'disable_font_rescaling': False,
'dont_compress': False,
'duplicate_links_in_toc': 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 0x05354CF0>,
'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,
'new_pdf_engine': False,
'no_chapters_in_toc': False,
'no_images': False,
'no_inline_navbars': True,
'no_inline_toc': False,
'output_profile': <calibre.customize.profiles.KindleOutput object at 0x0535D030>,
'page_breaks_before': u"//*[name()='h1' or name()='h2']",
'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': u'c:\\users\\MYPC\\appdata\\local\\temp\\calibre_0 .8.10_tmp_mphlca\\calibre_0.8.10_ug9qtt.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_factor': 0.45,
'unwrap_lines': True,
'use_auto_toc': False,
'verbose': 2}
InputFormatPlugin: PDF Input running
on c:\users\MYPC\appdata\local\temp\calibre_0.8.10_tm p_mphlca\calibre_0.8.10_wbdzyk.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 886, in first_pass
File "lxml.etree.pyx", line 2743, in lxml.etree.fromstring (src/lxml/lxml.etree.c:52665)
File "parser.pxi", line 1573, in lxml.etree._parseMemoryDocument (src/lxml/lxml.etree.c:79932)
File "parser.pxi", line 1445, in lxml.etree._parseDoc (src/lxml/lxml.etree.c:78709)
File "parser.pxi", line 920, in lxml.etree._BaseParser._parseUnicodeDoc (src/lxml/lxml.etree.c:75083)
File "parser.pxi", line 564, in lxml.etree._ParserContext._handleParseResultDoc (src/lxml/lxml.etree.c:71739)
File "parser.pxi", line 645, in lxml.etree._handleParseResult (src/lxml/lxml.etree.c:72614)
File "parser.pxi", line 585, in lxml.etree._raiseParseError (src/lxml/lxml.etree.c:71955)
XMLSyntaxError: Opening and ending tag mismatch: META line 7 and head, line 8, column 8

Parsing file 'index.html' as HTML
Forcing index.html into XHTML namespace
Python function terminated unexpectedly
Invalid IPv6 URL (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 181, 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 939, in run
File "site-packages\calibre\ebooks\conversion\plumber.py", line 1076, in create_oebbook
File "site-packages\calibre\ebooks\oeb\reader.py", line 71, in __call__
File "site-packages\calibre\ebooks\oeb\reader.py", line 604, in _all_from_opf
File "site-packages\calibre\ebooks\oeb\reader.py", line 254, in _manifest_from_opf
File "site-packages\calibre\ebooks\oeb\reader.py", line 189, in _manifest_add_missing
File "site-packages\calibre\ebooks\oeb\base.py", line 367, in urlnormalize
File "urlparse.py", line 134, in urlparse
File "urlparse.py", line 182, in urlsplit
ValueError: Invalid IPv6 URL

Last edited by Deihmos; 07-19-2011 at 01:45 AM.
Deihmos is offline   Reply With Quote