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 11-10-2021, 12:53 PM   #1
NickL12345
Junior Member
NickL12345 began at the beginning.
 
Posts: 3
Karma: 10
Join Date: Oct 2021
Device: Kindle Paperwhite 2021
epub to azw3

Hello there. My first post. Hopefully the format is OK.

Conversion from epub to azw3 terminates with an exception error. It was working fine prior to upgrading to 5.31.1 (latest patch).

Here is the latest bit of the exception log:

Tag table has no aid and a too large chunk size. Adding anyway.
Tag table has no aid and a too large chunk size. Adding anyway.
Tag table has no aid and a too large chunk size. Adding anyway.
Tag table has no aid and a too large chunk size. Adding anyway.
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 <module>
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 1271, in run
File "calibre\ebooks\conversion\plugins\mobi_output.py" , line 329, in convert
File "calibre\ebooks\mobi\writer8\main.py", line 497, in create_kf8_book
File "calibre\ebooks\mobi\writer8\main.py", line 65, in __init__
File "calibre\ebooks\mobi\writer8\main.py", line 328, in chunk_it_up
File "calibre\ebooks\mobi\writer8\skeleton.py", line 209, in __init__
File "calibre\ebooks\mobi\writer8\skeleton.py", line 400, in set_internal_links
File "calibre\ebooks\mobi\writer8\skeleton.py", line 400, in <dictcomp>
File "calibre\ebooks\mobi\writer8\skeleton.py", line 396, in to_placeholder
File "calibre\ebooks\mobi\utils.py", line 33, in __getitem__
KeyError: b'BE6RR'
NickL12345 is offline   Reply With Quote
Old 11-10-2021, 09:08 PM   #2
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: 45,319
Karma: 27111242
Join Date: Oct 2006
Location: Mumbai, India
Device: Various
update to version 5.31.1
kovidgoyal is offline   Reply With Quote
Advert
Old 11-10-2021, 10:09 PM   #3
NickL12345
Junior Member
NickL12345 began at the beginning.
 
Posts: 3
Karma: 10
Join Date: Oct 2021
Device: Kindle Paperwhite 2021
Quote:
Originally Posted by kovidgoyal View Post
update to version 5.31.1
Thank you Kovid for your response, however I am at the latest level 5.31.1.
The conversion stopped working after the upgrade to 5.31.1

Converting epub to azw3 was working OK prior to the upgrade.

Regards
NickL12345 is offline   Reply With Quote
Old 11-10-2021, 10:49 PM   #4
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: 45,319
Karma: 27111242
Join Date: Oct 2006
Location: Mumbai, India
Device: Various
that was a bug in 5.31.0 fixed in 5.31.1
kovidgoyal is offline   Reply With Quote
Old 11-10-2021, 11:15 PM   #5
NickL12345
Junior Member
NickL12345 began at the beginning.
 
Posts: 3
Karma: 10
Join Date: Oct 2021
Device: Kindle Paperwhite 2021
I apologize for omitting the last digit. Yes, I actually had 5.31.0 and , as you suggested, after upgrading to 5.31.1 it works fine. Thank you !
NickL12345 is offline   Reply With Quote
Advert
Old 11-11-2021, 03:33 AM   #6
Jack_750
Junior Member
Jack_750 began at the beginning.
 
Posts: 2
Karma: 10
Join Date: Nov 2021
Device: Kindle Paperwhite
Quote:
Originally Posted by kovidgoyal View Post
that was a bug in 5.31.0 fixed in 5.31.1
I have last version of Calibre. I wish convert my file from epub and send it to my kindle paperwhite, an error appeared:
Spoiler:


calibre, version 5.31.1 (win32, embedded-python: True)
Errore di conversione: Non riuscita: Converti libro 1 di 1 (Il cacciatore di aquiloni)

Converti libro 1 di 1 **********
Failed to initialize plugin: 'C:\\Users\\GA\\AppData\\Roaming\\calibre\\plugins \\ANOBII.zip'
Failed to initialize plugin: 'C:\\Users\\GA\\AppData\\Roaming\\calibre\\plugins \\DeDRM.zip'
Failed to initialize plugin: 'C:\\Users\\GA\\AppData\\Roaming\\calibre\\plugins \\INMONDADORI.zip'
Conversion options changed from defaults:
output_profile: 'generic_eink'
cover: 'C:\\Users\\GA\\AppData\\Local\\Temp\\calibre_x6lc ba25\\mfiqa8sf.jpeg'
verbose: 2
read_metadata_from_opf: 'C:\\Users\\GA\\AppData\\Local\\Temp\\calibre_x6lc ba25\\sdxu9giz.opf'
Resolved conversion options
calibre version: 5.31.1
{'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': 'C:\\Users\\GA\\AppData\\Local\\Temp\\calibre_x6lc ba25\\mfiqa8sf.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': <calibre.customize.profiles.InputProfile object at 0x07C6BF70>,
'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.GenericEink object at 0x07C76100>,
'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\\GA\\AppData\\Local\\Temp\\calibre_x6lc ba25\\sdxu9giz.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\GA\AppData\Local\Temp\calibre_x6lcba25\1c 0adua4.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 194, in _run_module_as_main
File "runpy.py", line 87, in _run_code
File "site.py", line 82, in <module>
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 1105, in run
File "calibre\customize\conversion.py", line 244, in __call__
File "calibre\ebooks\conversion\plugins\epub_input. py", line 266, in convert
File "calibre\utils\localunzip.py", line 253, in extractall
File "calibre\utils\localunzip.py", line 235, in _extractall
File "calibre\utils\localunzip.py", line 178, in copy_compressed_file
ValueError: Invalid ZIP file, local header is damaged

Last edited by theducks; 11-11-2021 at 04:03 AM. Reason: spoilered
Jack_750 is offline   Reply With Quote
Old 11-11-2021, 04:05 AM   #7
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: 31,023
Karma: 60358908
Join Date: Aug 2009
Location: The Central Coast of California
Device: Kobo Libra2,Kobo Aura2v1, K4NT(Fixed: New Bat.), Galaxy Tab A
The last line (and a few others along the way)
Code:
ValueError: Invalid ZIP file, local header is damaged
Bad book, get a fresh download or your money back
theducks is offline   Reply With Quote
Old 11-11-2021, 11:44 AM   #8
Jack_750
Junior Member
Jack_750 began at the beginning.
 
Posts: 2
Karma: 10
Join Date: Nov 2021
Device: Kindle Paperwhite
Quote:
Originally Posted by theducks View Post
The last line (and a few others along the way)
Code:
ValueError: Invalid ZIP file, local header is damaged
Bad book, get a fresh download or your money back
thanks. You're right
Jack_750 is offline   Reply With Quote
Reply


Forum Jump

Similar Threads
Thread Thread Starter Forum Replies Last Post
epub -> epub/mobi/azw3 breaks up chapters Siavahda Conversion 1 09-25-2017 11:20 AM
Can't convert EPUB to AZW3 dalagiorgos Conversion 2 07-28-2017 08:19 AM
Azw3 to Epub Paulz Conversion 5 02-28-2016 09:40 PM
AZW3 to ePUB fails rip222 Conversion 11 08-16-2015 10:43 PM
EPUB vs AZW3 1v4n0 Kindle Formats 5 07-31-2015 11:57 AM


All times are GMT -4. The time now is 10:42 AM.


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