Member
Posts: 21
Karma: 10
Join Date: Jan 2023
Device: none
|
Cannot convert a epub to azw3
Hi, I've downloaded a AO3 fanfic by FanFicFare in epub format and I wanted to convert it into AZW3 to read it on my Kindle. But it failed to convert and I ran the debug log. Can someone see why the conversion failed? Spoiler:
Failed to initialize plugin: 'C:\\Users\\sihoo\\AppData\\Roaming\\calibre\\plug ins\\Goodreads More Tags.zip'
Traceback (most recent call last):
File "calibre_plugins.goodreads_more_tags.config", line 12, in <module>
ImportError: cannot import name 'Qt' from 'qt' (C:\Program Files\Calibre2\app\bin\python-lib.bypy.frozen\qt\__init__.pyc)
During handling of the above exception, another exception occurred:
Traceback (most recent call last):
File "calibre\customize\ui.py", line 744, in initialize_plugins
File "calibre\customize\ui.py", line 64, in load_plugin
File "calibre\customize\zipplugin.py", line 307, in load
File "importlib\__init__.py", line 126, in import_module
File "<frozen importlib._bootstrap>", line 1050, in _gcd_import
File "<frozen importlib._bootstrap>", line 1027, in _find_and_load
File "<frozen importlib._bootstrap>", line 1006, in _find_and_load_unlocked
File "<frozen importlib._bootstrap>", line 688, in _load_unlocked
File "calibre\customize\zipplugin.py", line 206, in exec_module
File "calibre_plugins.goodreads_more_tags.__init__" , line 12, in <module>
File "calibre\customize\zipplugin.py", line 206, in exec_module
File "calibre_plugins.goodreads_more_tags.config", line 15, in <module>
ModuleNotFoundError: No module named 'PyQt4'
ApplicationPaletteChange event ignored
Using calibre Qt style: True
ApplicationPaletteChange event received
FFF: DEBUG: 2023-02-21 09:20:34,888: calibre_plugins.fanficfare_plugin.fff_plugin(215): Plugin FanFicFare macmenuhack file_path:C:\Users\sihoo\AppData\Roaming\calibre\p lugins\fanficfare_macmenuhack.txt
calibre Debug log
calibre 6.13 embedded-python: True
Windows-10-10.0.19045-SP0 Windows ('64bit', 'WindowsPE')
('Windows', '10', '10.0.19045')
Python 3.10.1
Windows: ('10', '10.0.19045', 'SP0', 'Multiprocessor Free')
Interface language: None
Successfully initialized third party plugins: Gather KFX-ZIP (from KFX Input) (1, 50, 0) && DeDRM (10, 0, 3) && Package KFX (from KFX Input) (1, 50, 0) && Count Pages (1, 12, 0) && EpubSplit (3, 5, 0) && Extract ISBN (1, 6, 0) && FanFicFare (4, 19, 0) && Find Duplicates (1, 10, 7) && Goodreads (1, 7, 3) && Import List (1, 9, 0) && KFX metadata reader (from KFX Input) (1, 50, 0) && KFX Input (1, 50, 0) && Set KFX metadata (from KFX Output) (1, 65, 0) && KFX Output (1, 65, 0) && Kindle hi-res covers (0, 5, 0) && Quality Check (1, 13, 3)
calibre 6.13 embedded-python: True
Windows-10-10.0.19045-SP0 Windows ('64bit', 'WindowsPE')
('Windows', '10', '10.0.19045')
Python 3.10.1
Windows: ('10', '10.0.19045', 'SP0', 'Multiprocessor Free')
Interface language: None
Successfully initialized third party plugins: Gather KFX-ZIP (from KFX Input) (1, 50, 0) && DeDRM (10, 0, 3) && Package KFX (from KFX Input) (1, 50, 0) && Count Pages (1, 12, 0) && EpubSplit (3, 5, 0) && Extract ISBN (1, 6, 0) && FanFicFare (4, 19, 0) && Find Duplicates (1, 10, 7) && Goodreads (1, 7, 3) && Import List (1, 9, 0) && KFX metadata reader (from KFX Input) (1, 50, 0) && KFX Input (1, 50, 0) && Set KFX metadata (from KFX Output) (1, 65, 0) && KFX Output (1, 65, 0) && Kindle hi-res covers (0, 5, 0) && Quality Check (1, 13, 3)
QPA platform: windows
devicePixelRatio: 1.25
logicalDpi: 96.0 x 96.0
physicalDpi: 113.41395348837209 x 113.12164948453608
[0.00] Starting up...
[0.00] Showing splash screen...
[1.22] splash screen shown
[1.22] Initializing db...
[4.20] db initialized
[4.20] Constructing main UI...
Screens currently in system:
{'depth': 32,
'device_pixel_ratio': 1.25,
'geometry_in_logical_pixels': {'height': 864, 'width': 1536, 'x': 0, 'y': 0},
'index_in_screens_list': 0,
'manufacturer': '',
'model': '',
'name': '\\\\.\\DISPLAY1',
'serial': '',
'size_in_logical_pixels': {'height': 864, 'width': 1536},
'virtual_geometry': {'height': 864, 'width': 1536, 'x': 0, 'y': 0}}
Restoring geometry for: jobs_dialog_geometry
{'frame_geometry': {'height': 479, 'width': 836, 'x': 661, 'y': 233},
'full_screened': False,
'geometry': {'height': 449, 'width': 836, 'x': 661, 'y': 263},
'maximized': False,
'normal_geometry': {'height': 449, 'width': 836, 'x': 661, 'y': 263},
'screen': {'depth': 32,
'device_pixel_ratio': 1.25,
'geometry_in_logical_pixels': {'height': 864,
'width': 1536,
'x': 0,
'y': 0},
'index_in_screens_list': 0,
'manufacturer': '',
'model': '',
'name': '\\\\.\\DISPLAY1',
'serial': '',
'size_in_logical_pixels': {'height': 864, 'width': 1536},
'virtual_geometry': {'height': 864, 'width': 1536, 'x': 0, 'y': 0}}}
Matching screen: {'depth': 32,
'device_pixel_ratio': 1.25,
'geometry_in_logical_pixels': {'height': 864, 'width': 1536, 'x': 0, 'y': 0},
'index_in_screens_list': 0,
'manufacturer': '',
'model': '',
'name': '\\\\.\\DISPLAY1',
'serial': '',
'size_in_logical_pixels': {'height': 864, 'width': 1536},
'virtual_geometry': {'height': 864, 'width': 1536, 'x': 0, 'y': 0}}
Setting widget geometry to: {'height': 449, 'width': 836, 'x': 661, 'y': 263}
Restoring geometry for: calibre_main_window_geometry
{'frame_geometry': {'height': 831, 'width': 1536, 'x': 0, 'y': -7},
'full_screened': False,
'geometry': {'height': 801, 'width': 1536, 'x': 0, 'y': 23},
'maximized': False,
'normal_geometry': {'height': 801, 'width': 1536, 'x': 0, 'y': 23},
'screen': {'depth': 32,
'device_pixel_ratio': 1.25,
'geometry_in_logical_pixels': {'height': 864,
'width': 1536,
'x': 0,
'y': 0},
'index_in_screens_list': 0,
'manufacturer': '',
'model': '',
'name': '\\\\.\\DISPLAY1',
'serial': '',
'size_in_logical_pixels': {'height': 864, 'width': 1536},
'virtual_geometry': {'height': 864, 'width': 1536, 'x': 0, 'y': 0}}}
Matching screen: {'depth': 32,
'device_pixel_ratio': 1.25,
'geometry_in_logical_pixels': {'height': 864, 'width': 1536, 'x': 0, 'y': 0},
'index_in_screens_list': 0,
'manufacturer': '',
'model': '',
'name': '\\\\.\\DISPLAY1',
'serial': '',
'size_in_logical_pixels': {'height': 864, 'width': 1536},
'virtual_geometry': {'height': 864, 'width': 1536, 'x': 0, 'y': 0}}
Setting widget geometry to: {'height': 801, 'width': 1536, 'x': 0, 'y': 23}
[13.41] main UI initialized...
[13.41] Hiding splash screen
Convert book 1 of 1 (Hallelujah)
Failed to initialize plugin: 'C:\\Users\\sihoo\\AppData\\Roaming\\calibre\\plug ins\\Goodreads More Tags.zip'
DeDRM v10.0.3: Trying to decrypt l8n86ydx.epub
DeDRM v10.0.3: Verifying zip archive integrity
DeDRM v10.0.3: Error 'File is not a zip file' when checking zip archive
Running file type plugin DeDRM failed with traceback:
Traceback (most recent call last):
File "calibre\customize\ui.py", line 178, in _run_filetype_plugins
File "calibre_plugins.dedrm.__init__", line 1067, in run
File "calibre_plugins.dedrm.__init__", line 329, in ePubDecrypt
File "C:\Users\sihoo\AppData\Roaming\calibre\plugins\De DRM.zip\zipfix.py", line 70, in __init__
File "C:\Users\sihoo\AppData\Roaming\calibre\plugins\De DRM.zip\zipfilerugged.py", line 685, in __init__
File "C:\Users\sihoo\AppData\Roaming\calibre\plugins\De DRM.zip\zipfilerugged.py", line 711, in _GetContents
File "C:\Users\sihoo\AppData\Roaming\calibre\plugins\De DRM.zip\zipfilerugged.py", line 723, in _RealGetContents
zipfilerugged.BadZipfile: File is not a zip file
Conversion options changed from defaults:
output_profile: 'kindle_pw3'
verbose: 2
read_metadata_from_opf: 'C:\\Users\\sihoo\\AppData\\Local\\Temp\\calibre_d ukgex8d\\_adwdabs.opf'
Resolved conversion options
calibre version: 6.13.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|p rologue|epilogue)(\\s+|$))', "
"'i')) or @class = 'chapter']",
'chapter_mark': 'pagebreak',
'comments': None,
'cover': None,
'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': <calibre.customize.profiles.InputProfile object at 0x000002B80575F2E0>,
'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_toc_at_start': False,
'no_chapters_in_toc': False,
'no_inline_navbars': False,
'no_inline_toc': False,
'output_profile': <calibre.customize.profiles.KindlePaperWhite3Outpu t object at 0x000002B80575F8E0>,
'page_breaks_before': '/',
'prefer_author_sort': False,
'prefer_metadata_cover': False,
'pretty_print': False,
'pubdate': None,
'publisher': None,
'rating': None,
'read_metadata_from_opf': 'C:\\Users\\sihoo\\AppData\\Local\\Temp\\calibre_d ukgex8d\\_adwdabs.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': '[]',
'transform_html_rules': '[]',
'unsmarten_punctuation': False,
'unwrap_lines': True,
'use_auto_toc': False,
'verbose': 2}
DeDRM v10.0.3: Trying to decrypt l8n86ydx.epub
DeDRM v10.0.3: Verifying zip archive integrity
DeDRM v10.0.3: Error 'File is not a zip file' when checking zip archive
Running file type plugin DeDRM failed with traceback:
Traceback (most recent call last):
File "calibre\customize\ui.py", line 178, in _run_filetype_plugins
File "calibre_plugins.dedrm.__init__", line 1067, in run
File "calibre_plugins.dedrm.__init__", line 329, in ePubDecrypt
File "C:\Users\sihoo\AppData\Roaming\calibre\plugins\De DRM.zip\zipfix.py", line 70, in __init__
File "C:\Users\sihoo\AppData\Roaming\calibre\plugins\De DRM.zip\zipfilerugged.py", line 685, in __init__
File "C:\Users\sihoo\AppData\Roaming\calibre\plugins\De DRM.zip\zipfilerugged.py", line 711, in _GetContents
File "C:\Users\sihoo\AppData\Roaming\calibre\plugins\De DRM.zip\zipfilerugged.py", line 723, in _RealGetContents
zipfilerugged.BadZipfile: File is not a zip file
InputFormatPlugin: EPUB Input running
on C:\Users\sihoo\AppData\Local\Temp\calibre_dukgex8d \l8n86ydx.epub
EPUB appears to be invalid ZIP file, trying a more forgiving ZIP parser
Traceback (most recent call last):
File "calibre\ebooks\conversion\plugins\epub_input. py", line 259, in convert
File "calibre\utils\zipfile.py", line 774, in __init__
File "calibre\utils\zipfile.py", line 809, in _GetContents
File "calibre\utils\zipfile.py", line 824, in _RealGetContents
calibre.utils.zipfile.BadZipfile: File is not a zip file
Traceback (most recent call last):
File "calibre\ebooks\conversion\plugins\epub_input. py", line 259, in convert
File "calibre\utils\zipfile.py", line 774, in __init__
File "calibre\utils\zipfile.py", line 809, in _GetContents
File "calibre\utils\zipfile.py", line 824, in _RealGetContents
calibre.utils.zipfile.BadZipfile: File is not a zip file
During handling of the above exception, another exception occurred:
Traceback (most recent call last):
File "runpy.py", line 196, in _run_module_as_main
File "runpy.py", line 86, in _run_code
File "site.py", line 83, in <module>
File "site.py", line 78, in main
File "site.py", line 50, in run_entry_point
File "calibre\utils\ipc\worker.py", line 215, in main
File "calibre\gui2\convert\gui_conversion.py", line 38, in gui_convert_override
File "calibre\gui2\convert\gui_conversion.py", line 25, in gui_convert
File "calibre\ebooks\conversion\plumber.py", line 1108, in run
File "calibre\customize\conversion.py", line 242, in __call__
File "calibre\ebooks\conversion\plugins\epub_input. py", line 266, in convert
File "calibre\utils\localunzip.py", line 252, in extractall
File "calibre\utils\localunzip.py", line 239, in _extractall
ValueError: Not a ZIP file
Last edited by theducks; 02-20-2023 at 09:05 PM.
Reason: spoilered
|