Junior Member
Posts: 2
Karma: 10
Join Date: May 2012
Device: iphone, ibook
|
html to epub images don't show
I have a docx file and I tried converting it first to htm (I'm using mac so no 'filter' option with html, only 'save as webpage'), the htm looks perfect with all images. Then I added this htm file to Calibre, then clicked 'convert', when the conversion is completed I clicked 'view', the text is perfect but the images are now all just a frame with a question mark in the centre.
I suspected that's because the images are too many so I tried reducing the file size etc and converted to html and then convert to epub again...now I always got the error message that the file cannot be converted...
Is the image losing problem caused by my using "insert image" in MS word???
Has anyone got similiar problem? thanks!
(below is the error message)
---------------
calibre, version 0.8.52
ERROR: Conversion Error: <b>Failed</b>: Convert book 1 of 1 (飞机上被马球王子)
Convert book 1 of 1 (飞机上被马球王子)
Processing archive...
Resolved conversion options
calibre version: 0.8.52
{'asciiize': False,
'author_sort': None,
'authors': None,
'base_font_size': 0.0,
'book_producer': None,
'breadth_first': False,
'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_package': 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 0x106da6090>,
'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_levels': 5,
'max_toc_links': 100,
'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.iPadOutput object at 0x106da65d0>,
'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'/var/folders/XU/XUvDK59tH4y7d9FnzR4ksE+++TI/-Tmp-/calibre_0.8.52_tmp_qVGdAp/EAbxFf.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,
'tags': None,
'timestamp': None,
'title': None,
'title_sort': None,
'toc_filter': None,
'toc_threshold': 6,
'unsmarten_punctuation': False,
'unwrap_lines': True,
'use_auto_toc': False,
'verbose': 2}
InputFormatPlugin: HTML Input running
on /var/folders/XU/XUvDK59tH4y7d9FnzR4ksE+++TI/-Tmp-/calibre_0.8.52_tmp_qVGdAp/tItCdg_plumber_archive/content.opf
Parsing all content...
Manifest item 'toc.ncx' not found
Parsing Fei Ji Shang Bei Ma Qiu Wang Zi .htm ...
Found microsoft markup, cleaning...
Referenced file '%e9%a3%9e%e6%9c%ba%e4%b8%8a%e8%a2%ab%e9%a9%ac%e7% 90%83%e7%8e%8b%e5%ad%90_files/themedata.xml' not found
Referenced file '%e9%a3%9e%e6%9c%ba%e4%b8%8a%e8%a2%ab%e9%a9%ac%e7% 90%83%e7%8e%8b%e5%ad%90_files/image002.png' not found
Referenced file '%e9%a3%9e%e6%9c%ba%e4%b8%8a%e8%a2%ab%e9%a9%ac%e7% 90%83%e7%8e%8b%e5%ad%90_files/image004.png' not found
Referenced file '%e9%a3%9e%e6%9c%ba%e4%b8%8a%e8%a2%ab%e9%a9%ac%e7% 90%83%e7%8e%8b%e5%ad%90_files/filelist.xml' not found
Referenced file '%e9%a3%9e%e6%9c%ba%e4%b8%8a%e8%a2%ab%e9%a9%ac%e7% 90%83%e7%8e%8b%e5%ad%90_files/image006.png' not found
Referenced file '%e9%a3%9e%e6%9c%ba%e4%b8%8a%e8%a2%ab%e9%a9%ac%e7% 90%83%e7%8e%8b%e5%ad%90_files/editdata.mso' not found
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 11.00000pt
Removing fake margins...
Found 1 items of level: div_1
Found 20 items of level: p_2
Ignoring level p_2
div_1 left margin stats: Counter({u'': 1})
div_1 right margin stats: Counter({u'': 1})
Cleaning up manifest...
Trimming unused files from manifest...
calibre-parallel: UnableToOpenConfigureFile `type.xml' @ warning/configure.c/GetConfigureOptions/591.
calibre-parallel: UnableToReadFont `c:\windows\fonts\simhei.ttf' @ warning/annotate.c/RenderType/871.
calibre-parallel: UnableToReadFont `c:\windows\fonts\simhei.ttf' @ error/annotate.c/RenderFreetype/1123.
calibre-parallel: UnableToOpenConfigureFile `delegates.xml' @ warning/configure.c/GetConfigureOptions/591.
calibre-parallel: `%s' (%d) "gs" -q -dQUIET -dSAFER -dBATCH -dNOPAUSE -dNOPROMPT -dMaxBitmap=500000000 -dAlignToPixels=0 -dGridFitTT=0 "-sDEVICE=pngalpha" -dTextAlphaBits=4 -dGraphicsAlphaBits=4 "-r72x72" -g1196x92 "-sOutputFile=/var/folders/XU/XUvDK59tH4y7d9FnzR4ksE+++TI/-Tmp-/magick-zGX2cait--0000001" "-f/var/folders/XU/XUvDK59tH4y7d9FnzR4ksE+++TI/-Tmp-/magick-reJtenFm" "-f/var/folders/XU/XUvDK59tH4y7d9FnzR4ksE+++TI/-Tmp-/magick-_fTNMwdH" @ error/utility.c/SystemCommand/1876.
calibre-parallel: `%s' (%d) "gs" -q -dQUIET -dSAFER -dBATCH -dNOPAUSE -dNOPROMPT -dMaxBitmap=500000000 -dAlignToPixels=0 -dGridFitTT=0 "-sDEVICE=pngalpha" -dTextAlphaBits=4 -dGraphicsAlphaBits=4 "-r72x72" -g1196x92 "-sOutputFile=/var/folders/XU/XUvDK59tH4y7d9FnzR4ksE+++TI/-Tmp-/magick-zGX2cait--0000001" "-f/var/folders/XU/XUvDK59tH4y7d9FnzR4ksE+++TI/-Tmp-/magick-reJtenFm" "-f/var/folders/XU/XUvDK59tH4y7d9FnzR4ksE+++TI/-Tmp-/magick-_fTNMwdH" -c showpage @ error/utility.c/SystemCommand/1876.
calibre-parallel: PostscriptDelegateFailed `/var/folders/XU/XUvDK59tH4y7d9FnzR4ksE+++TI/-Tmp-/magick-8VefsPae': No such file or directory @ error/ps.c/ReadPSImage/830.
|