Register Guidelines E-Books Search Today's Posts Mark Forums Read

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

Notices

Reply
 
Thread Tools Search this Thread
Old 07-19-2011, 12: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 12:45 AM.
Deihmos is offline   Reply With Quote
Old 07-19-2011, 01:52 AM   #2
DoctorOhh
US Navy, Retired
DoctorOhh ought to be getting tired of karma fortunes by now.DoctorOhh ought to be getting tired of karma fortunes by now.DoctorOhh ought to be getting tired of karma fortunes by now.DoctorOhh ought to be getting tired of karma fortunes by now.DoctorOhh ought to be getting tired of karma fortunes by now.DoctorOhh ought to be getting tired of karma fortunes by now.DoctorOhh ought to be getting tired of karma fortunes by now.DoctorOhh ought to be getting tired of karma fortunes by now.DoctorOhh ought to be getting tired of karma fortunes by now.DoctorOhh ought to be getting tired of karma fortunes by now.DoctorOhh ought to be getting tired of karma fortunes by now.
 
DoctorOhh's Avatar
 
Posts: 9,864
Karma: 13806776
Join Date: Feb 2009
Location: North Carolina
Device: Icarus Illumina XL HD, Nexus 7
I can't help you with this precise error but please read the manual here and this sticky post, Read this before Posting PDF Questions, found at the top of this sub-forum.

Good Luck.

Last edited by DoctorOhh; 07-19-2011 at 01:55 AM.
DoctorOhh is offline   Reply With Quote
Old 07-19-2011, 05:23 AM   #3
ldolse
Wizard
ldolse is an accomplished Snipe hunter.ldolse is an accomplished Snipe hunter.ldolse is an accomplished Snipe hunter.ldolse is an accomplished Snipe hunter.ldolse is an accomplished Snipe hunter.ldolse is an accomplished Snipe hunter.ldolse is an accomplished Snipe hunter.ldolse is an accomplished Snipe hunter.ldolse is an accomplished Snipe hunter.ldolse is an accomplished Snipe hunter.ldolse is an accomplished Snipe hunter.
 
Posts: 1,337
Karma: 123455
Join Date: Apr 2009
Location: Malaysia
Device: PRS-650, iPhone
It looks like in this case there is probably a bug where some type of junk in the document is being interpreted as a URL. You'll probably need to post the pdf file to the bug tracker.

Alternatively you can try to use search and replace to find and remove whatever string is causing that failure - I'm pretty sure it's failing after search and replace would be done, I don't think it's forced into xhtml until after preprocessing.
ldolse is offline   Reply With Quote
Old 07-19-2011, 08:00 AM   #4
Deihmos
Junior Member
Deihmos began at the beginning.
 
Posts: 4
Karma: 10
Join Date: Jul 2011
Device: Kindle
Here is the file in case anyone can help me out.

Last edited by Deihmos; 07-19-2011 at 11:41 AM.
Deihmos is offline   Reply With Quote
Old 07-19-2011, 09:41 AM   #5
Deihmos
Junior Member
Deihmos began at the beginning.
 
Posts: 4
Karma: 10
Join Date: Jul 2011
Device: Kindle
Quote:
Originally Posted by ldolse View Post
It looks like in this case there is probably a bug where some type of junk in the document is being interpreted as a URL. You'll probably need to post the pdf file to the bug tracker.

Alternatively you can try to use search and replace to find and remove whatever string is causing that failure - I'm pretty sure it's failing after search and replace would be done, I don't think it's forced into xhtml until after preprocessing.
Where is the bug tracker?
Deihmos is offline   Reply With Quote
Old 07-19-2011, 10:08 AM   #6
DoctorOhh
US Navy, Retired
DoctorOhh ought to be getting tired of karma fortunes by now.DoctorOhh ought to be getting tired of karma fortunes by now.DoctorOhh ought to be getting tired of karma fortunes by now.DoctorOhh ought to be getting tired of karma fortunes by now.DoctorOhh ought to be getting tired of karma fortunes by now.DoctorOhh ought to be getting tired of karma fortunes by now.DoctorOhh ought to be getting tired of karma fortunes by now.DoctorOhh ought to be getting tired of karma fortunes by now.DoctorOhh ought to be getting tired of karma fortunes by now.DoctorOhh ought to be getting tired of karma fortunes by now.DoctorOhh ought to be getting tired of karma fortunes by now.
 
DoctorOhh's Avatar
 
Posts: 9,864
Karma: 13806776
Join Date: Feb 2009
Location: North Carolina
Device: Icarus Illumina XL HD, Nexus 7
Quote:
Originally Posted by Deihmos View Post
Where is the bug tracker?
Check here for info on submitting a bug.
DoctorOhh is offline   Reply With Quote
Old 07-31-2011, 08:53 PM   #7
Deihmos
Junior Member
Deihmos began at the beginning.
 
Posts: 4
Karma: 10
Join Date: Jul 2011
Device: Kindle
The new update completed the task with no errors.
Deihmos is offline   Reply With Quote
Reply

Thread Tools Search this Thread
Search this Thread:

Advanced Search

Forum Jump

Similar Threads
Thread Thread Starter Forum Replies Last Post
Error converting from epub to mobi kornhill Calibre 5 06-28-2010 09:27 PM
Error when converting from mobi to epub daveldhu Calibre 1 06-05-2010 11:38 AM
Error converting EPUB to MOBI picardo Calibre 8 04-22-2010 09:45 AM
ERROR when converting mobi to epub? help! (new at this) dalpod Calibre 2 04-14-2010 12:52 PM
Error converting .prc => .mobi Skydog Calibre 2 01-22-2010 04:00 PM


All times are GMT -4. The time now is 08:51 PM.


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