Calibre 使用教程之转换电子书格式

“转换电子书格式”相关阅读

给这篇文章写一条留言

提示:带 * 标记的是必填项。您填写的邮箱地址将会被保密。首次留言将会在通过人工审核后显示。如果是提出问题,请务必提供尽可能多信息,这有助于他人更好地理解你所提出的问题。

小伙伴们写下了 157 条留言

  1. 求救,使用calibre将epub转换为azw3格式之后再传送到kindle会识别为个人文档,看了一下可能是因为新版的calibre自动生成isbn码的缘故,请问这样还有救吗呜呜呜

  2. 你好,最近epub转为mobi的书导入进去老是出现书籍出现错误,这是什么原因呢

  3. epub转pdf的时候,中英混排的文档,英文在换行时一个单词会被断到另外一行。检索文档的时候就检索不到这个单词了。头痛。请问怎么解决?
    特意看了epub原档,epub不会出现这种情况。

  4. epub转mobi失败多次
    转换书籍 第 1 本,共 1 本 (阿加莎·克里斯蒂侦探小说大全集(全85册))
    Conversion options changed from defaults:
    cover: ‘C:\\Users\\LENOVO\\AppData\\Local\\Temp\\calibre_qv3fvyuk\\mw87dy9_.jpeg’
    verbose: 2
    output_profile: ‘kindle_pw3’
    read_metadata_from_opf: ‘C:\\Users\\LENOVO\\AppData\\Local\\Temp\\calibre_qv3fvyuk\\v5qv9ybp.opf’
    Resolved conversion options
    calibre version: 5.12.0
    {‘asciiize’: False,
    ‘author_sort’: None,
    ‘authors’: None,
    ‘base_font_size’: 0.0,
    ‘book_producer’: None,
    ‘change_justification’: ‘original’,
    ‘chapter’: “//*[((name()=’h1′ or name()=’h2′) and re:test(., ”
    “‘\\s*((chapter|book|section|part)\\s+)|((prolog|prologue|epilogue)(\\s+|$))’, ”
    “‘i’)) or @class = ‘chapter’]”,
    ‘chapter_mark’: ‘pagebreak’,
    ‘comments’: None,
    ‘cover’: ‘C:\\Users\\LENOVO\\AppData\\Local\\Temp\\calibre_qv3fvyuk\\mw87dy9_.jpeg’,
    ‘debug_pipeline’: None,
    ‘dehyphenate’: True,
    ‘delete_blank_paragraphs’: True,
    ‘disable_font_rescaling’: False,
    ‘dont_compress’: False,
    ‘duplicate_links_in_toc’: False,
    ’embed_all_fonts’: False,
    ’embed_font_family’: None,
    ‘enable_heuristics’: False,
    ‘expand_css’: False,
    ‘extra_css’: None,
    ‘extract_to’: None,
    ‘filter_css’: ”,
    ‘fix_indents’: True,
    ‘font_size_mapping’: None,
    ‘format_scene_breaks’: True,
    ‘html_unwrap_factor’: 0.4,
    ‘input_encoding’: None,
    ‘input_profile’: ,
    ‘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,
    ‘mobi_file_type’: ‘old’,
    ‘mobi_ignore_margins’: False,
    ‘mobi_keep_original_images’: False,
    ‘mobi_toc_at_start’: False,
    ‘no_chapters_in_toc’: False,
    ‘no_inline_navbars’: True,
    ‘no_inline_toc’: False,
    ‘output_profile’: ,
    ‘page_breaks_before’: ‘/’,
    ‘personal_doc’: ‘[PDOC]’,
    ‘prefer_author_sort’: False,
    ‘prefer_metadata_cover’: False,
    ‘pretty_print’: False,
    ‘pubdate’: None,
    ‘publisher’: None,
    ‘rating’: None,
    ‘read_metadata_from_opf’: ‘C:\\Users\\LENOVO\\AppData\\Local\\Temp\\calibre_qv3fvyuk\\v5qv9ybp.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’: ”,
    ‘search_replace’: ‘[]’,
    ‘series’: None,
    ‘series_index’: None,
    ‘share_not_sync’: False,
    ‘smarten_punctuation’: False,
    ‘sr1_replace’: None,
    ‘sr1_search’: None,
    ‘sr2_replace’: None,
    ‘sr2_search’: None,
    ‘sr3_replace’: None,
    ‘sr3_search’: None,
    ‘start_reading_at’: None,
    ‘subset_embedded_fonts’: False,
    ‘tags’: None,
    ‘timestamp’: None,
    ‘title’: None,
    ‘title_sort’: None,
    ‘toc_filter’: None,
    ‘toc_threshold’: 6,
    ‘toc_title’: None,
    ‘transform_css_rules’: ‘[]’,
    ‘unsmarten_punctuation’: False,
    ‘unwrap_lines’: True,
    ‘use_auto_toc’: False,
    ‘verbose’: 2}
    InputFormatPlugin: EPUB Input running
    on C:\Users\LENOVO\AppData\Local\Temp\calibre_qv3fvyuk\cmdh8npx.epub
    Found HTML cover OEBPS/Text/cover_page.xhtml
    Parsing all content…
    Parsing OEBPS/Text/part1413.xhtml …
    Parsing OEBPS/Text/part1549.xhtml …
    Parsing OEBPS/Text/part1927.xhtml …
    Parsing OEBPS/Text/part1236.xhtml …
    Parsing OEBPS/Text/part1614.xhtml …
    Parsing OEBPS/Text/part0033.xhtml …
    Parsing OEBPS/Styles/style0071.css …
    Parsing OEBPS/Text/part1525.xhtml …
    Parsing OEBPS/Text/part1903.xhtml …
    Parsing OEBPS/Text/part1253.xhtml …
    Parsing OEBPS/Text/part1631.xhtml …
    Parsing OEBPS/Text/part1726.xhtml …
    Parsing OEBPS/Text/part1542.xhtml …
    Parsing OEBPS/Text/part1920.xhtml …
    Parsing OEBPS/Text/part1259.xhtml …
    Parsing OEBPS/Text/part1637.xhtml …
    Parsing OEBPS/Text/part1743.xhtml …
    Parsing OEBPS/Text/part0038.xhtml …
    Parsing OEBPS/Text/part0124.xhtml …
    Parsing OEBPS/Text/part0166.xhtml …
    Parsing OEBPS/Text/part0249.xhtml …
    Parsing OEBPS/Text/part0205.xhtml …
    Parsing OEBPS/Text/part0333.xhtml …
    Parsing OEBPS/Text/part0753.xhtml …
    Parsing OEBPS/Text/part0879.xhtml …
    Parsing OEBPS/Text/part0459.xhtml …
    Parsing OEBPS/Text/part1130.xhtml …
    Parsing OEBPS/Text/part1276.xhtml …
    Parsing OEBPS/Text/part1654.xhtml …
    Parsing OEBPS/Text/part0097.xhtml …
    Parsing OEBPS/Text/part1293.xhtml …
    Parsing OEBPS/Text/part1671.xhtml …
    Parsing OEBPS/Text/part1396.xhtml …
    Parsing OEBPS/Text/part1502.xhtml …
    Parsing OEBPS/Text/part1880.xhtml …
    Parsing OEBPS/Text/part0016.xhtml …
    Reading TOC from NCX…
    Merging user specified metadata…
    Detecting structure…
    Flattening CSS and remapping font sizes…
    Source base font size is 12.00000pt
    Removing fake margins…
    Found 224615 items of level: p_1
    Found 2089 items of level: div_1
    Found 12 items of level: p_2
    Found 671 items of level: div_2
    Ignoring level p_2
    Negative text indent detected at level p_1, ignoring this level
    div_1 left margin stats: Counter({‘0.5em’: 56})
    div_1 right margin stats: Counter({”: 56})
    Removing level div_1 left margin of: 0.5em
    div_2 left margin stats: Counter()
    div_2 right margin stats: Counter()
    Cleaning up manifest…
    Trimming unused files from manifest…
    Trimming ‘OEBPS/Text/cover_page.xhtml’ from manifest
    Creating MOBI Output…
    Serializing resources…
    Creating MOBI 6 output
    Applying case-transforming CSS…
    Parsing manglecase.css …
    Rasterizing SVG images…
    Converting XHTML to Mobipocket markup…
    Traceback (most recent call last):
    File “runpy.py”, line 194, in _run_module_as_main
    File “runpy.py”, line 87, in _run_code
    File “site.py”, line 82, in
    File “site.py”, line 77, in main
    File “site.py”, line 49, in run_entry_point
    File “calibre\utils\ipc\worker.py”, line 216, in main
    File “calibre\gui2\convert\gui_conversion.py”, line 41, in gui_convert_override
    File “calibre\gui2\convert\gui_conversion.py”, line 28, in gui_convert
    File “calibre\ebooks\conversion\plumber.py”, line 1274, in run
    File “calibre\ebooks\conversion\plugins\mobi_output.py”, line 214, in convert
    File “calibre\ebooks\conversion\plugins\mobi_output.py”, line 246, in write_mobi
    File “calibre\ebooks\mobi\mobiml.py”, line 129, in __call__
    File “calibre\ebooks\mobi\mobiml.py”, line 139, in mobimlize_spine
    File “calibre\ebooks\mobi\mobiml.py”, line 586, in mobimlize_elem
    File “calibre\ebooks\mobi\mobiml.py”, line 584, in mobimlize_elem
    File “calibre\ebooks\mobi\mobiml.py”, line 301, in mobimlize_content
    File “src/lxml/etree.pyx”, line 3136, in lxml.etree.SubElement
    File “src/lxml/apihelpers.pxi”, line 199, in lxml.etree._makeSubElement
    File “src/lxml/apihelpers.pxi”, line 194, in lxml.etree._makeSubElement
    File “src/lxml/apihelpers.pxi”, line 317, in lxml.etree._initNodeAttributes
    File “src/lxml/apihelpers.pxi”, line 334, in lxml.etree._addAttributeToNode
    File “src/lxml/apihelpers.pxi”, line 1538, in lxml.etree._utf8
    TypeError: Argument must be bytes or unicode, got ‘float’

  5. 经测试“new”不行,“both”可以,然后文件大小45.5M的发送成功,再稍大点就失败,虽然理论上限是50M,然后客服说最好别超过30M,否则容易发送失败

    • Calibre 是多国语言版,包含简体中文。你可以前往 Calibre 的偏好设置(Preference),进入界面外观(Look & Feel),将语言设置(Choose Language)选成简体中文(Simplified Chinese),然后重启一下 Calibre 即可。

  6. 您好!请教一下,为什么在转换epub电子书到docx时,原来epub做好了目录,点击就可以跳转的,但是生成的docx,开头虽然也有目录,但是点击之后显示无法打开,无法跳转到文档内部的对应页码?
    查看其超链接都是 h#mulu4 形式
    谢谢!

  7. 我同时注意到,此前拷贝进去可用的azw3文件有时也会出现损坏的提示,这是否是硬件有问题?我此前用pw3的时候极少出现这种提示。

  8. 求教,近期使用calibre制作的azw3格式电子书,放到kpw4上会频繁出现错误提示,请问是哪里有问题?pw4已经刷新固件,也已重置过,还是有问题

  9. 您好,我现在在用的是KP3,固件更新到最新版(未越狱),内存还有1G多,电量80%,书的话是自己打的txt格式,转成AZW3和mobi(mobi有改过new和old还有both),但是一在kindle中打开就死机并显示什么云端blabla的报错,而且不是一本书是但凡自己这么做的txt转换全都打不开,想求问一下这是怎么回事,能不能有办法解决…?自己折腾了一个下午了…

    • 出现电子书打不开的情况,建议首先重启一下 Kindle 设备,看能不能恢复正常。如果没能解决,可能就是电子书本身的问题了,Calibre 转换的 new 模式的 mobi 格式可能有问题,不建议使用。如果是直接拷贝到 Kindle 越狱,建议转换成 azw3 格式,如果是需要邮件推送,建议转换成 old 模式的 mobi 格式。

  10. 您好,我在转换txt到mobi时遇到了这个问题 ValueError: All strings must be XML compatible: Unicode or ASCII, no NULL bytes or control characters
    请问我该如何处理呢
    我转换的txt是简体中文的

    • 错误提示信息较少,不好判断问题。建议把文件发送到书伴邮箱(页面底部“联系”处获取),方便排查。

      • 转换书籍 第 1 本,共 1 本 (医道官途)
        Conversion options changed from defaults:
        output_profile: u’kindle_voyage’
        read_metadata_from_opf: u’/var/folders/gz/gg8rf9jj2fzdrqt933m5jw700000gn/C/calibre_4.1.0_tmp_4r811Z/6bgP2E.opf’
        verbose: 2
        cover: u’/var/folders/gz/gg8rf9jj2fzdrqt933m5jw700000gn/C/calibre_4.1.0_tmp_4r811Z/iuyjRx.jpeg’
        markdown_extensions: u’toc, tables, footnotes’
        Resolved conversion options
        calibre version: 4.1.0
        {‘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|prologue|epilogue)(\\s+|$))’, ‘i’)) or @class = ‘chapter’]”,
        ‘chapter_mark’: u’pagebreak’,
        ‘comments’: None,
        ‘cover’: u’/var/folders/gz/gg8rf9jj2fzdrqt933m5jw700000gn/C/calibre_4.1.0_tmp_4r811Z/iuyjRx.jpeg’,
        ‘debug_pipeline’: None,
        ‘dehyphenate’: True,
        ‘delete_blank_paragraphs’: True,
        ‘disable_font_rescaling’: False,
        ‘dont_compress’: False,
        ‘duplicate_links_in_toc’: False,
        ’embed_all_fonts’: False,
        ’embed_font_family’: None,
        ‘enable_heuristics’: False,
        ‘expand_css’: False,
        ‘extra_css’: None,
        ‘extract_to’: None,
        ‘filter_css’: u”,
        ‘fix_indents’: True,
        ‘font_size_mapping’: None,
        ‘format_scene_breaks’: True,
        ‘formatting_type’: u’auto’,
        ‘html_unwrap_factor’: 0.4,
        ‘input_encoding’: None,
        ‘input_profile’: ,
        ‘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,
        ‘markdown_extensions’: u’toc, tables, footnotes’,
        ‘markup_chapter_headings’: True,
        ‘max_toc_links’: 50,
        ‘minimum_line_height’: 120.0,
        ‘mobi_file_type’: u’old’,
        ‘mobi_ignore_margins’: False,
        ‘mobi_keep_original_images’: False,
        ‘mobi_toc_at_start’: False,
        ‘no_chapters_in_toc’: False,
        ‘no_inline_navbars’: True,
        ‘no_inline_toc’: False,
        ‘output_profile’: ,
        ‘page_breaks_before’: u”//*[name()=’h1′ or name()=’h2′]”,
        ‘paragraph_type’: u’auto’,
        ‘personal_doc’: u'[PDOC]’,
        ‘prefer_author_sort’: False,
        ‘prefer_metadata_cover’: False,
        ‘preserve_spaces’: False,
        ‘pretty_print’: False,
        ‘pubdate’: None,
        ‘publisher’: None,
        ‘rating’: None,
        ‘read_metadata_from_opf’: u’/var/folders/gz/gg8rf9jj2fzdrqt933m5jw700000gn/C/calibre_4.1.0_tmp_4r811Z/6bgP2E.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,
        ‘share_not_sync’: False,
        ‘smarten_punctuation’: False,
        ‘sr1_replace’: None,
        ‘sr1_search’: None,
        ‘sr2_replace’: None,
        ‘sr2_search’: None,
        ‘sr3_replace’: None,
        ‘sr3_search’: None,
        ‘start_reading_at’: None,
        ‘subset_embedded_fonts’: False,
        ‘tags’: None,
        ‘timestamp’: None,
        ‘title’: None,
        ‘title_sort’: None,
        ‘toc_filter’: None,
        ‘toc_threshold’: 6,
        ‘toc_title’: None,
        ‘transform_css_rules’: ‘[]’,
        ‘txt_in_remove_indents’: False,
        ‘unsmarten_punctuation’: False,
        ‘unwrap_lines’: True,
        ‘use_auto_toc’: False,
        ‘verbose’: 2}
        InputFormatPlugin: TXT Input running
        on /var/folders/gz/gg8rf9jj2fzdrqt933m5jw700000gn/C/calibre_4.1.0_tmp_4r811Z/EQW3Tb.txt
        Reading text from file…
        Detected input encoding as utf-8 with a confidence of 99.0%
        Auto detected paragraph type as single
        Auto detected formatting as textile
        Running text through textile conversion…
        Language not specified
        Creator not specified
        Building file list…
        IgnoreFile(u”Could not read from file: /var/folders/gz/gg8rf9jj2fzdrqt933m5jw700000gn/C/calibre_4.1.0_tmp_4r811Z/shuyaya.com with error: [Errno 2] No such file or directory: u’/var/folders/gz/gg8rf9jj2fzdrqt933m5jw700000gn/C/calibre_4.1.0_tmp_4r811Z/shuyaya.com'”,)
        Found files…
        HTMLFile:0:a:/var/folders/gz/gg8rf9jj2fzdrqt933m5jw700000gn/C/calibre_4.1.0_tmp_4r811Z/index-5.html
        Normalizing filename cases
        Rewriting HTML links
        Parsing index-5.html …
        Initial parse failed, using more forgiving parsers
        Parsing index-5.html as HTML
        Merging user specified metadata…
        Detecting structure…
        Auto generated TOC with 1 entries.
        Flattening CSS and remapping font sizes…
        Source base font size is 12.00000pt
        Removing fake margins…
        Found 6 items of level: p_40
        Found 1 items of level: p_41
        Found 2 items of level: p_42
        Found 2 items of level: p_43
        Found 4 items of level: p_44
        Found 448 items of level: p_20
        Found 12 items of level: p_34
        Found 1 items of level: p_47
        Found 4 items of level: p_48
        Found 1 items of level: p_49
        Found 779 items of level: p_30
        Found 4 items of level: p_21
        Found 10 items of level: p_35
        Found 1 items of level: div_2
        Found 1 items of level: div_3
        Found 466 items of level: p_24
        Found 1 items of level: div_1
        Found 1 items of level: div_6
        Found 1 items of level: div_7
        Found 1 items of level: div_4
        Found 1 items of level: div_5
        Found 1 items of level: div_8
        Found 1 items of level: div_9
        Found 14 items of level: p_45
        Found 9 items of level: p_28
        Found 9 items of level: p_29
        Found 1 items of level: div_12
        Found 1 items of level: div_13
        Found 1 items of level: div_10
        Found 1 items of level: div_11
        Found 1 items of level: div_16
        Found 1 items of level: div_17
        Found 1 items of level: div_14
        Found 1 items of level: div_15
        Found 2 items of level: p_33
        Found 5 items of level: p_39
        Found 1 items of level: div_18
        Found 1 items of level: div_19
        Found 245 items of level: p_51
        Found 1 items of level: p_46
        Found 3 items of level: p_32
        Found 2 items of level: p_50
        Found 21 items of level: p_36
        Found 3 items of level: p_13
        Found 2 items of level: p_12
        Found 37 items of level: p_11
        Found 7 items of level: p_10
        Found 13 items of level: p_17
        Found 2 items of level: p_16
        Found 5 items of level: p_15
        Found 5 items of level: p_14
        Found 25 items of level: p_19
        Found 15 items of level: p_18
        Found 358 items of level: p_25
        Found 47 items of level: p_38
        Found 97 items of level: p_26
        Found 6 items of level: p_27
        Found 1 items of level: div_22
        Found 1 items of level: div_21
        Found 1 items of level: div_20
        Found 4 items of level: p_31
        Found 8 items of level: p_37
        Found 125 items of level: p_1
        Found 1 items of level: p_3
        Found 1 items of level: p_2
        Found 9 items of level: p_5
        Found 49 items of level: p_4
        Found 1 items of level: p_7
        Found 234 items of level: p_6
        Found 2 items of level: p_9
        Found 288 items of level: p_8
        Found 6 items of level: p_22
        Found 1011 items of level: p_23
        Ignoring level p_40
        Ignoring level p_41
        Ignoring level p_42
        Ignoring level p_43
        Ignoring level p_44
        Ignoring level p_45
        Ignoring level p_46
        Ignoring level p_47
        Ignoring level p_48
        Ignoring level p_49
        Ignoring level p_21
        Ignoring level div_3
        Ignoring level div_6
        Ignoring level div_7
        Ignoring level div_4
        Ignoring level div_5
        Ignoring level div_8
        Ignoring level div_9
        Ignoring level p_28
        Ignoring level p_29
        Ignoring level div_12
        Ignoring level div_13
        Ignoring level div_10
        Ignoring level div_11
        Ignoring level div_16
        Ignoring level div_17
        Ignoring level div_14
        Ignoring level div_15
        Ignoring level div_18
        Ignoring level div_19
        Ignoring level p_2
        Ignoring level p_27
        Ignoring level p_15
        Ignoring level p_50
        Ignoring level p_14
        Ignoring level p_35
        Ignoring level p_34
        Ignoring level p_37
        Ignoring level p_36
        Ignoring level p_17
        Ignoring level p_16
        Ignoring level p_33
        Ignoring level p_32
        Ignoring level p_18
        Ignoring level p_39
        Ignoring level p_13
        Ignoring level p_12
        Ignoring level div_22
        Ignoring level div_21
        Ignoring level div_20
        Ignoring level p_3
        Ignoring level p_10
        Ignoring level p_5
        Ignoring level p_7
        Ignoring level p_9
        Ignoring level p_31
        Ignoring level p_22
        p_20 left margin stats: Counter({u’0′: 448})
        p_20 right margin stats: Counter({u’0′: 448})
        p_30 left margin stats: Counter({u’0′: 779})
        p_30 right margin stats: Counter({u’0′: 779})
        div_2 left margin stats: Counter({u”: 1})
        div_2 right margin stats: Counter({u”: 1})
        p_24 left margin stats: Counter({u’0′: 466})
        p_24 right margin stats: Counter({u’0′: 466})
        div_1 left margin stats: Counter({u”: 1})
        div_1 right margin stats: Counter({u”: 1})
        p_51 left margin stats: Counter({u’0′: 245})
        p_51 right margin stats: Counter({u’0′: 245})
        p_11 left margin stats: Counter({u’0′: 37})
        p_11 right margin stats: Counter({u’0′: 37})
        p_19 left margin stats: Counter({u’0′: 25})
        p_19 right margin stats: Counter({u’0′: 25})
        p_25 left margin stats: Counter({u’0′: 358})
        p_25 right margin stats: Counter({u’0′: 358})
        p_38 left margin stats: Counter({u’0′: 47})
        p_38 right margin stats: Counter({u’0′: 47})
        p_26 left margin stats: Counter({u’0′: 97})
        p_26 right margin stats: Counter({u’0′: 97})
        p_1 left margin stats: Counter({u’0′: 125})
        p_1 right margin stats: Counter({u’0′: 125})
        p_4 left margin stats: Counter({u’0′: 49})
        p_4 right margin stats: Counter({u’0′: 49})
        p_6 left margin stats: Counter({u’0′: 234})
        p_6 right margin stats: Counter({u’0′: 234})
        p_8 left margin stats: Counter({u’0′: 288})
        p_8 right margin stats: Counter({u’0′: 288})
        p_23 left margin stats: Counter({u’0′: 1011})
        p_23 right margin stats: Counter({u’0′: 1011})
        Cleaning up manifest…
        Trimming unused files from manifest…
        Creating MOBI Output…
        Serializing resources…
        Creating MOBI 6 output
        Generating in-line TOC…
        Applying case-transforming CSS…
        Parsing manglecase.css …
        Parsing tocstyle.css …
        Rasterizing SVG images…
        Converting XHTML to Mobipocket markup…
        Failed to find image: ”那中年妇女道:“少废话,钱呢?”张扬害怕被别人看到,低声道:“我给我给,咱们换个地方。那中年妇女道:“不行,就在这儿
        Python function terminated unexpectedly: All strings must be XML compatible: Unicode or ASCII, no NULL bytes or control characters
        Traceback (most recent call last):
        File “/Applications/calibre.app/Contents/Resources/Python/lib/python2.7/site.py”, line 163, in main
        return run_entry_point()
        File “/Applications/calibre.app/Contents/Resources/Python/lib/python2.7/site.py”, line 121, in run_entry_point
        return getattr(pmod, func)()
        File “site-packages/calibre/utils/ipc/worker.py”, line 208, in main
        File “site-packages/calibre/gui2/convert/gui_conversion.py”, line 43, in gui_convert_override
        File “site-packages/calibre/gui2/convert/gui_conversion.py”, line 28, in gui_convert
        File “site-packages/calibre/ebooks/conversion/plumber.py”, line 1275, in run
        File “site-packages/calibre/ebooks/conversion/plugins/mobi_output.py”, line 214, in convert
        File “site-packages/calibre/ebooks/conversion/plugins/mobi_output.py”, line 246, in write_mobi
        File “site-packages/calibre/ebooks/mobi/mobiml.py”, line 129, in __call__
        File “site-packages/calibre/ebooks/mobi/mobiml.py”, line 140, in mobimlize_spine
        File “site-packages/calibre/ebooks/mobi/mobiml.py”, line 586, in mobimlize_elem
        File “site-packages/calibre/ebooks/mobi/mobiml.py”, line 586, in mobimlize_elem
        File “site-packages/calibre/ebooks/mobi/mobiml.py”, line 586, in mobimlize_elem
        File “site-packages/calibre/ebooks/mobi/mobiml.py”, line 586, in mobimlize_elem
        File “site-packages/calibre/ebooks/mobi/mobiml.py”, line 586, in mobimlize_elem
        File “site-packages/calibre/ebooks/mobi/mobiml.py”, line 586, in mobimlize_elem
        File “site-packages/calibre/ebooks/mobi/mobiml.py”, line 586, in mobimlize_elem
        File “site-packages/calibre/ebooks/mobi/mobiml.py”, line 586, in mobimlize_elem
        File “site-packages/calibre/ebooks/mobi/mobiml.py”, line 586, in mobimlize_elem
        File “site-packages/calibre/ebooks/mobi/mobiml.py”, line 586, in mobimlize_elem
        File “site-packages/calibre/ebooks/mobi/mobiml.py”, line 586, in mobimlize_elem
        File “site-packages/calibre/ebooks/mobi/mobiml.py”, line 586, in mobimlize_elem
        File “site-packages/calibre/ebooks/mobi/mobiml.py”, line 586, in mobimlize_elem
        File “site-packages/calibre/ebooks/mobi/mobiml.py”, line 586, in mobimlize_elem
        File “site-packages/calibre/ebooks/mobi/mobiml.py”, line 586, in mobimlize_elem
        File “site-packages/calibre/ebooks/mobi/mobiml.py”, line 586, in mobimlize_elem
        File “site-packages/calibre/ebooks/mobi/mobiml.py”, line 586, in mobimlize_elem
        File “site-packages/calibre/ebooks/mobi/mobiml.py”, line 586, in mobimlize_elem
        File “site-packages/calibre/ebooks/mobi/mobiml.py”, line 586, in mobimlize_elem
        File “site-packages/calibre/ebooks/mobi/mobiml.py”, line 586, in mobimlize_elem
        File “site-packages/calibre/ebooks/mobi/mobiml.py”, line 586, in mobimlize_elem
        File “site-packages/calibre/ebooks/mobi/mobiml.py”, line 586, in mobimlize_elem
        File “site-packages/calibre/ebooks/mobi/mobiml.py”, line 586, in mobimlize_elem
        File “site-packages/calibre/ebooks/mobi/mobiml.py”, line 586, in mobimlize_elem
        File “site-packages/calibre/ebooks/mobi/mobiml.py”, line 596, in mobimlize_elem
        File “site-packages/calibre/ebooks/mobi/mobiml.py”, line 314, in mobimlize_content
        File “src/lxml/etree.pyx”, line 1018, in lxml.etree._Element.text.__set__
        File “src/lxml/apihelpers.pxi”, line 710, in lxml.etree._setNodeText
        File “src/lxml/apihelpers.pxi”, line 698, in lxml.etree._createTextNode
        File “src/lxml/apihelpers.pxi”, line 1493, in lxml.etree._utf8
        ValueError: All strings must be XML compatible: Unicode or ASCII, no NULL bytes or control characters

  11. 您好,我这边发现TXT转换成MOBI 格式之后, 发送到Kindle但是打不开, 麻烦帮忙看看应该如何解决吧, 多谢

  12. 您好 我在Calibre上修改了图书的元数据(包含书名及作者)但另存后再导入kindle 还是显示错误乱码 请问应该如何处理呢?

  13. 你好,为什么我txt格式的文件转换成mobi格式后书名全部变成了拼音呢?

    • Calibre 会自动把【电子书文件名】的汉字自动转换成拼音,并且没有提供选项禁止这样做,这主要是为了避开字符对软件正常运行可能产生的影响。

      不过不用担心,这不影响 Kindle 正常显示汉字电子书名,因为 Kindle 显示的书名读取的是【电子书元数据】而不是文件名,而 Calibre 不会改动元数据中的汉字。

  14. 管理员,您好,我用calibre将TXT转换mobi时,不停地提示我转换失败,其他TXT文件依然可以转。
    以下是错误代码,请求解决~!!!
    calibre, version 3.47.0 (win32, embedded-python: True)
    转换错误: 失败: 转换书籍 第 1 本,共 1 本

    转换书籍 第 1 本,共 1 本
    C:\Program Files (x86)\Calibre2\app\pylib.zip\dateutil\parser.py:601: UnicodeWarning: Unicode equal comparison failed to convert both arguments to Unicode – interpreting them as being unequal
    Conversion options changed from defaults:
    remove_paragraph_spacing_indent_size: 2.0
    read_metadata_from_opf: u’C:\\Users\\ADMINI~1\\AppData\\Local\\Temp\\calibre_32i79r\\o8mzfq.opf’
    output_profile: u’kindle_oasis’
    mobi_file_type: u’both’
    insert_blank_line: True
    markdown_extensions: u’toc, tables, footnotes’
    personal_doc: None
    insert_blank_line_size: 1.0
    preserve_spaces: True
    verbose: 2
    disable_font_rescaling: True
    minimum_line_height: 140.0
    cover: u’C:\\Users\\ADMINI~1\\AppData\\Local\\Temp\\calibre_32i79r\\sih1kc.jpeg’
    remove_paragraph_spacing: True
    Resolved conversion options
    calibre version: 3.47.0
    {‘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|prologue|epilogue)(\\s+|$))’, ‘i’)) or @class = ‘chapter’]”,
    ‘chapter_mark’: u’pagebreak’,
    ‘comments’: None,
    ‘cover’: u’C:\\Users\\ADMINI~1\\AppData\\Local\\Temp\\calibre_32i79r\\sih1kc.jpeg’,
    ‘debug_pipeline’: None,
    ‘dehyphenate’: True,
    ‘delete_blank_paragraphs’: True,
    ‘disable_font_rescaling’: True,
    ‘dont_compress’: False,
    ‘duplicate_links_in_toc’: False,
    ’embed_all_fonts’: False,
    ’embed_font_family’: None,
    ‘enable_heuristics’: False,
    ‘expand_css’: False,
    ‘extra_css’: None,
    ‘extract_to’: None,
    ‘filter_css’: u”,
    ‘fix_indents’: True,
    ‘font_size_mapping’: None,
    ‘format_scene_breaks’: True,
    ‘formatting_type’: u’auto’,
    ‘html_unwrap_factor’: 0.4,
    ‘input_encoding’: None,
    ‘input_profile’: ,
    ‘insert_blank_line’: True,
    ‘insert_blank_line_size’: 1.0,
    ‘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,
    ‘markdown_extensions’: u’toc, tables, footnotes’,
    ‘markup_chapter_headings’: True,
    ‘max_toc_links’: 50,
    ‘minimum_line_height’: 140.0,
    ‘mobi_file_type’: u’both’,
    ‘mobi_ignore_margins’: False,
    ‘mobi_keep_original_images’: False,
    ‘mobi_toc_at_start’: False,
    ‘no_chapters_in_toc’: False,
    ‘no_inline_navbars’: True,
    ‘no_inline_toc’: False,
    ‘output_profile’: ,
    ‘page_breaks_before’: u”//*[name()=’h1′ or name()=’h2′]”,
    ‘paragraph_type’: u’auto’,
    ‘personal_doc’: None,
    ‘prefer_author_sort’: False,
    ‘prefer_metadata_cover’: False,
    ‘preserve_spaces’: True,
    ‘pretty_print’: False,
    ‘pubdate’: None,
    ‘publisher’: None,
    ‘rating’: None,
    ‘read_metadata_from_opf’: u’C:\\Users\\ADMINI~1\\AppData\\Local\\Temp\\calibre_32i79r\\o8mzfq.opf’,
    ‘remove_fake_margins’: True,
    ‘remove_first_image’: False,
    ‘remove_paragraph_spacing’: True,
    ‘remove_paragraph_spacing_indent_size’: 2.0,
    ‘renumber_headings’: True,
    ‘replace_scene_breaks’: u”,
    ‘search_replace’: ‘[]’,
    ‘series’: None,
    ‘series_index’: None,
    ‘share_not_sync’: False,
    ‘smarten_punctuation’: False,
    ‘sr1_replace’: None,
    ‘sr1_search’: None,
    ‘sr2_replace’: None,
    ‘sr2_search’: None,
    ‘sr3_replace’: None,
    ‘sr3_search’: None,
    ‘start_reading_at’: None,
    ‘subset_embedded_fonts’: False,
    ‘tags’: None,
    ‘timestamp’: None,
    ‘title’: None,
    ‘title_sort’: None,
    ‘toc_filter’: None,
    ‘toc_threshold’: 6,
    ‘toc_title’: None,
    ‘transform_css_rules’: ‘[]’,
    ‘txt_in_remove_indents’: False,
    ‘unsmarten_punctuation’: False,
    ‘unwrap_lines’: True,
    ‘use_auto_toc’: False,
    ‘verbose’: 2}
    InputFormatPlugin: TXT Input running
    on C:\Users\ADMINI~1\AppData\Local\Temp\calibre_32i79r\qdo6_k.txt
    Reading text from file…
    Detected input encoding as gbk with a confidence of 99.0%
    Auto detected paragraph type as unformatted
    Auto detected formatting as textile
    Running text through textile conversion…
    Python function terminated unexpectedly
    [Errno 2] No such file or directory: u’C:\\Users\\ADMINI~1\\AppData\\Local\\Temp\\calibre_32i79r\\’ (Error Code: 1)
    Traceback (most recent call last):
    File “site.py”, line 101, in main
    File “site.py”, line 78, in run_entry_point
    File “site-packages\calibre\utils\ipc\worker.py”, line 200, in main
    File “site-packages\calibre\gui2\convert\gui_conversion.py”, line 43, in gui_convert_override
    File “site-packages\calibre\gui2\convert\gui_conversion.py”, line 28, in gui_convert
    File “site-packages\calibre\ebooks\conversion\plumber.py”, line 1110, in run
    File “site-packages\calibre\customize\conversion.py”, line 246, in __call__
    File “site-packages\calibre\ebooks\conversion\plugins\txt_input.py”, line 269, in convert
    File “site-packages\calibre\ebooks\conversion\plugins\txt_input.py”, line 118, in fix_resources
    IOError: [Errno 2] No such file or directory: u’C:\\Users\\ADMINI~1\\AppData\\Local\\Temp\\calibre_32i79r\\’