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 02-24-2012, 02:39 PM   #1
jhanlon
Nameless Being
 
Unhappy Calibre Conversion Error

In attempting conversions, the job does not compete successfully and I am getting the following error below. Can someone help me decipher the problem?

Jim Hanlon


calibre, version 0.8.41
ERROR: Conversion Error: <b>Failed</b>: Convert book 1 of 1 (End Game)

Convert book 1 of 1 (End Game)
Resolved conversion options
calibre version: 0.8.41
{'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': u'D:\\calibre_0.8.41_tmp_nbpel6\\xpy4ab.jpeg',
'debug_pipeline': None,
'dehyphenate': True,
'delete_blank_paragraphs': True,
'disable_font_rescaling': False,
'dont_split_on_page_breaks': False,
'duplicate_links_in_toc': False,
'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,
'html_unwrap_factor': 0.4,
'input_encoding': None,
'input_profile': <calibre.customize.profiles.InputProfile object at 0x04B18FF0>,
'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,
'markup_chapter_headings': True,
'max_toc_links': 50,
'minimum_line_height': 120.0,
'new_pdf_engine': False,
'no_chapters_in_toc': False,
'no_default_epub_cover': False,
'no_images': False,
'no_inline_navbars': False,
'no_svg_cover': False,
'output_profile': <calibre.customize.profiles.iPadOutput object at 0x04B1F2B0>,
'page_breaks_before': u"//*[name()='h1' or name()='h2']",
'prefer_metadata_cover': False,
'preserve_cover_aspect_ratio': False,
'pretty_print': True,
'pubdate': None,
'publisher': None,
'rating': None,
'read_metadata_from_opf': u'D:\\calibre_0.8.41_tmp_nbpel6\\gtx_c6.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'',
'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,
'unsmarten_punctuation': False,
'unwrap_factor': 0.45,
'unwrap_lines': True,
'use_auto_toc': False,
'verbose': 2}
InputFormatPlugin: PDF Input running
on D:\calibre_0.8.41_tmp_nbpel6\_c1fp2.pdf
Converting file to html...
Retrieving document metadata...
Generating manifest...
Rendering manifest...
Parsing all content...
Manifest item 'calibre_0.8.41_tmp_h33oyr' not found
Parsing index.html ...
Initial parse failed, using more forgiving parsers
Parsing index.html as HTML
HTML 5 parsing failed, falling back to older parsers
Traceback (most recent call last):
File "site-packages\calibre\ebooks\oeb\parse_utils.py", line 259, in parse_html
File "site-packages\calibre\ebooks\oeb\parse_utils.py", line 86, in html5_parse
File "site-packages\html5lib\html5parser.py", line 38, in parse
File "site-packages\html5lib\html5parser.py", line 211, in parse
File "site-packages\html5lib\html5parser.py", line 111, in _parse
File "site-packages\html5lib\html5parser.py", line 174, in mainLoop
File "site-packages\html5lib\html5parser.py", line 948, in processCharacters
File "site-packages\html5lib\treebuilders\_base.py", line 288, in insertText
File "site-packages\html5lib\treebuilders\etree_lxml.py", line 225, in insertText
File "site-packages\html5lib\treebuilders\etree.py", line 114, in insertText
File "lxml.etree.pyx", line 916, in lxml.etree._Element.text.__set__ (src/lxml/lxml.etree.c:36134)
File "apihelpers.pxi", line 721, in lxml.etree._setNodeText (src/lxml/lxml.etree.c:17141)
File "apihelpers.pxi", line 1366, in lxml.etree._utf8 (src/lxml/lxml.etree.c:22211)
ValueError: All strings must be XML compatible: Unicode or ASCII, no NULL bytes or control characters

Forcing index.html into XHTML namespace
Generating default TOC from spine...
Merging user specified metadata...
Detecting structure...
Auto generated TOC with 25 entries.
Flattening CSS and remapping font sizes...
Source base font size is 12.00000pt
Removing fake margins...
Parsing stylesheet.css ...
Found 9079 items of level: p_1
p_1 left margin stats: Counter({u'0': 9079})
p_1 right margin stats: Counter({u'0': 9079})
Cleaning up manifest...
Trimming unused files from manifest...
Creating EPUB Output...
Rescaling image from 700x1057 to 666x1005 index-1_1.jpg
Splitting on page-break
Looking for large trees in index.html...
Found large tree #0
Splitting...
Split point: {http://www.w3.org/1999/xhtml}p /*/*[2]/*[4541]
Split tree still too large: 435 KB
Splitting...
Split point: {http://www.w3.org/1999/xhtml}p /*/*[2]/*[2271]
Committed sub-tree #1 (216 KB)
Committed sub-tree #2 (219 KB)
Split tree still too large: 355 KB
Splitting...
Split point: {http://www.w3.org/1999/xhtml}p /*/*[2]/*[2271]
Committed sub-tree #3 (198 KB)
Committed sub-tree #4 (158 KB)
Split into 5 parts
Python function terminated unexpectedly
[Error 3] The system cannot find the path specified: u'D:calibre_0.8.41_tmp_h33oyr\\dkls6g_epub_output\ \*.*' (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 191, 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 1091, in run
File "site-packages\calibre\ebooks\conversion\plugins\epub_ou tput.py", line 210, in convert
WindowsError: [Error 3] The system cannot find the path specified: u'D:calibre_0.8.41_tmp_h33oyr\\dkls6g_epub_output\ \*.*'
  Reply With Quote
Old 02-24-2012, 03:11 PM   #2
theducks
Well trained by Cats
theducks ought to be getting tired of karma fortunes by now.theducks ought to be getting tired of karma fortunes by now.theducks ought to be getting tired of karma fortunes by now.theducks ought to be getting tired of karma fortunes by now.theducks ought to be getting tired of karma fortunes by now.theducks ought to be getting tired of karma fortunes by now.theducks ought to be getting tired of karma fortunes by now.theducks ought to be getting tired of karma fortunes by now.theducks ought to be getting tired of karma fortunes by now.theducks ought to be getting tired of karma fortunes by now.theducks ought to be getting tired of karma fortunes by now.
 
theducks's Avatar
 
Posts: 29,812
Karma: 54830978
Join Date: Aug 2009
Location: The Central Coast of California
Device: Kobo Libra2,Kobo Aura2v1, K4NT(Fixed: New Bat.), Galaxy Tab A
Your TEMP folder is set to D:\ ?

This has Read/Write access?
theducks is offline   Reply With Quote
Advert
Old 02-24-2012, 11:53 PM   #3
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: 43,863
Karma: 22666666
Join Date: Oct 2006
Location: Mumbai, India
Device: Various
Set your TMP and TEMP environment variables to some sub-folder of D:\ rather than D:\ itself.
kovidgoyal is offline   Reply With Quote
Old 02-29-2012, 01:50 PM   #4
jhanlon
Nameless Being
 
I have reset the variables TEMP and TMP to D:\TEMP (and created that subfolder in the D:\ partition) but I am still getting the error with the last line:

WindowsError: [Error 3] The system cannot find the path specified: u'D:calibre_0.8.41_tmp_69_3rb\\xnrwyd_epub_output\ \*.*'

Note that it is still using 'D:'

I can read/write to the D:\ partition.

Last edited by jhanlon; 02-29-2012 at 01:53 PM.
  Reply With Quote
Old 02-29-2012, 01:51 PM   #5
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: 43,863
Karma: 22666666
Join Date: Oct 2006
Location: Mumbai, India
Device: Various
reboot to have the changes applied.
kovidgoyal is offline   Reply With Quote
Advert
Old 02-29-2012, 02:06 PM   #6
jhanlon
Nameless Being
 
Thanks for the quick reply ... reboot did it.

Has this been a change? (because conversion had worked previously with that old TEMP variable.)
  Reply With Quote
Reply


Forum Jump

Similar Threads
Thread Thread Starter Forum Replies Last Post
Calibre MOBI to EPUB conversion error spanishgirl94 Conversion 3 03-19-2011 05:22 PM
Calibre Conversion Error eucalyptus Calibre 1 11-17-2010 11:09 AM
Book Error In Sigil After Calibre Conversion (from lit to epub) Guns4Hire Sigil 13 03-05-2010 05:02 PM
Calibre 0.6.32 - pdb to epub conversion error niche99 Calibre 4 01-23-2010 12:13 PM
Conversion Error lrf -> mobi/epub (Calibre 0.6.33) Joerg_Mosthaf Calibre 2 01-13-2010 07:40 AM


All times are GMT -4. The time now is 01:09 AM.


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