![]() |
#1 |
Addict
![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() Posts: 392
Karma: 1008414
Join Date: Jun 2011
Device: Kindle
|
Error converting ePub to mobi (both)
I haven't changed any settings, and this is the method I've used to convert hundreds of other books, with no errors.
I'm using OS X 10.10.3 and Calibre 2.19. The error is: Code:
calibre, version 2.19.0 (darwin, isfrozen: True) Conversion Error: Failed: Convert book 1 of 1 (The Man in the White Suit) Convert book 1 of 1 (The Man in the White Suit) Resolved conversion options calibre version: 2.19.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/7g/1x6plpfx015f51cvmf4dk0w00000gn/T/calibre_2.19.0_tmp_3WeM_b/Fxx4BQ.jpeg', 'debug_pipeline': None, 'dehyphenate': True, 'delete_blank_paragraphs': True, 'disable_font_rescaling': True, 'dont_compress': True, '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, 'html_unwrap_factor': 0.4, 'input_encoding': None, 'input_profile': <calibre.customize.profiles.InputProfile object at 0x110232350>, 'insert_blank_line': False, 'insert_blank_line_size': 0.5, 'insert_metadata': False, 'isbn': None, 'italicize_common_cases': True, 'keep_ligatures': True, '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': u'both', 'mobi_ignore_margins': False, 'mobi_keep_original_images': True, 'mobi_toc_at_start': False, 'no_chapters_in_toc': False, 'no_inline_navbars': False, 'no_inline_toc': False, 'output_profile': <calibre.customize.profiles.TabletOutput object at 0x110232ed0>, 'page_breaks_before': u'/', 'personal_doc': u'[EBOK]', 'prefer_author_sort': False, 'prefer_metadata_cover': False, 'pretty_print': False, 'pubdate': None, 'publisher': None, 'rating': None, 'read_metadata_from_opf': u'/var/folders/7g/1x6plpfx015f51cvmf4dk0w00000gn/T/calibre_2.19.0_tmp_3WeM_b/XONuI7.opf', 'remove_fake_margins': False, 'remove_first_image': True, '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': True, 'smarten_punctuation': True, '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, 'unsmarten_punctuation': False, 'unwrap_lines': True, 'use_auto_toc': False, 'verbose': 2} Python function terminated unexpectedly: Error -3 while decompressing: invalid distance too far back InputFormatPlugin: EPUB Input running on /var/folders/7g/1x6plpfx015f51cvmf4dk0w00000gn/T/calibre_2.19.0_tmp_3WeM_b/7ZugiD.epub EPUB appears to be invalid ZIP file, trying a more forgiving ZIP parser Traceback (most recent call last): File "site-packages/calibre/ebooks/conversion/plugins/epub_input.py", line 190, in convert File "site-packages/calibre/utils/zipfile.py", line 751, in __init__ File "site-packages/calibre/utils/zipfile.py", line 786, in _GetContents File "site-packages/calibre/utils/zipfile.py", line 801, in _RealGetContents BadZipfile: File is not a zip file Traceback (most recent call last): File "/Applications/calibre.app/Contents/Resources/Python/lib/python2.7/site.py", line 209, in main return run_entry_point() File "/Applications/calibre.app/Contents/Resources/Python/lib/python2.7/site.py", line 114, in run_entry_point return getattr(pmod, func)() File "site-packages/calibre/utils/ipc/worker.py", line 193, 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 1041, in run File "site-packages/calibre/customize/conversion.py", line 241, in __call__ File "site-packages/calibre/ebooks/conversion/plugins/epub_input.py", line 197, in convert File "site-packages/calibre/utils/localunzip.py", line 223, in extractall File "site-packages/calibre/utils/localunzip.py", line 205, in _extractall File "site-packages/calibre/utils/localunzip.py", line 158, in copy_compressed_file zlib.error: Error -3 while decompressing: invalid distance too far back |
![]() |
![]() |
![]() |
#2 |
Addict
![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() Posts: 392
Karma: 1008414
Join Date: Jun 2011
Device: Kindle
|
When trying to modify the same ePub using the "Modify ePub" function, I get this error:
Code:
calibre, version 2.19.0 ERROR: Modify ePub failed: No ePub files were updated Modify ePubs Logfile for book ID 1882 (The Man in the White Suit / Ben Collins) 1882 Modifying: /var/folders/7g/1x6plpfx015f51cvmf4dk0w00000gn/T/calibre_2.19.0_tmp_3WeM_b/iA0_zE_modify_epub/1882.epub The Man in the White Suit - ERROR: Traceback (most recent call last): File "calibre_plugins.modify_epub.modify", line 74, in process_book File "site-packages/calibre/libunzip.py", line 43, in extract File "site-packages/calibre/utils/zipfile.py", line 751, in __init__ File "site-packages/calibre/utils/zipfile.py", line 786, in _GetContents File "site-packages/calibre/utils/zipfile.py", line 801, in _RealGetContents BadZipfile: File is not a zip file ePub not changed after 0.03 seconds |
![]() |
![]() |
Advert | |
|
![]() |
#3 |
Wizard
![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() Posts: 4,553
Karma: 950151
Join Date: Nov 2008
Device: Sony PRS-950, iphone/ipad (Marvin/iBooks/QuickReader)
|
Both those errors indicate there is a problem with the epub file.
Under the covers an epub file should be a 'zip' file with a different file extension. The error messages indicate that the epub file does not appear to be a valid zip file. |
![]() |
![]() |
![]() |
#4 |
Resident Curmudgeon
![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() Posts: 78,936
Karma: 144284074
Join Date: Nov 2006
Location: Roslindale, Massachusetts
Device: Kobo Libra 2, Kobo Aura H2O, PRS-650, PRS-T1, nook STR, PW3
|
The ePub you are trying to convert is corrupt. There's nothing that can be done to fix it. You'll have to try to download it from the placer you got it.
|
![]() |
![]() |
![]() |
|
![]() |
||||
Thread | Thread Starter | Forum | Replies | Last Post |
Error converting mobi to epub | szweiner2 | Conversion | 3 | 04-05-2012 12:08 PM |
error converting mobi to epub | babyd | Calibre | 2 | 10-06-2010 01:32 PM |
Error converting from epub to mobi | kornhill | Calibre | 5 | 06-28-2010 09:27 PM |
ERROR when converting mobi to epub? help! (new at this) | dalpod | Calibre | 2 | 04-14-2010 12:52 PM |
Error when converting to Mobi and Epub | Amalthia | Calibre | 3 | 05-11-2009 04:18 AM |