Any idea?
Unpacking this (de-DRMed) mobi7 dictionary:
I get this error:
Code:
calibre, version 6.4.0
ERREUR : Exception non gérée: <b>TypeError</b>:a bytes-like object is required, not 'str'
calibre 6.4 embedded-python: True
Windows-10-10.0.19044-SP0 Windows ('64bit', 'WindowsPE')
('Windows', '10', '10.0.19044')
Python 3.10.1
Windows: ('10', '10.0.19044', 'SP0', 'Multiprocessor Free')
Interface language: fr
Successfully initialized third party plugins: Gather KFX-ZIP (from KFX Input) (1, 49, 0) && DeDRM (10, 0, 1) && AZW6 Image Merge (1, 0, 0) && Package KFX (from KFX Input) (1, 49, 0) && APNX Generator (1, 1, 0) && Count Pages (1, 11, 3) && EpubCheck (0, 2, 4) && Find Duplicates (1, 9, 7) && Generate Cover (2, 2, 0) && Hyphenate This! (0, 1, 3) && KFX metadata reader (from KFX Input) (1, 49, 0) && KFX Input (1, 49, 0) && Set KFX metadata (from KFX Output) (1, 64, 0) && KFX Output (1, 64, 0) && KindleUnpack - The Plugin (0, 83, 1) && KindleXRay (0, 0, 4) && Obok DeDRM (7, 1, 0) && Open With (1, 7, 2) && Quality Check (1, 12, 0) && Standard Ebooks (1, 0, 0) && TTS to MP3 (0, 6, 0) && WordDumb (3, 25, 0) && X-Ray Creator (3, 2, 1)
Traceback (most recent call last):
File "calibre_plugins.kindleunpack_plugin.action", line 271, in unpack_ebook
File "calibre_plugins.kindleunpack_plugin.mobi_stuff", line 124, in unpackMOBI
File "calibre_plugins.kindleunpack_plugin.kindleunpackcore.kindleunpack", line 934, in unpackBook
File "calibre_plugins.kindleunpack_plugin.kindleunpackcore.kindleunpack", line 855, in process_all_mobi_headers
File "calibre_plugins.kindleunpack_plugin.kindleunpackcore.kindleunpack", line 632, in processMobi7
File "calibre_plugins.kindleunpack_plugin.kindleunpackcore.mobi_dict", line 205, in getPositionMap
File "calibre_plugins.kindleunpack_plugin.kindleunpackcore.mobi_dict", line 288, in getInflectionGroups
File "calibre_plugins.kindleunpack_plugin.kindleunpackcore.mobi_dict", line 377, in applyInflectionRule
AttributeError: 'array.array' object has no attribute 'tostring'
During handling of the above exception, another exception occurred:
Traceback (most recent call last):
File "calibre_plugins.kindleunpack_plugin.action", line 273, in unpack_ebook
File "calibre_plugins.kindleunpack_plugin.utilities", line 105, in showErrorDlg
File "traceback.py", line 179, in print_exc
File "traceback.py", line 121, in print_exception
TypeError: a bytes-like object is required, not 'str'
At this point the images have been extracted, a toc.ncx has been created, but no html content.