[ ] The Title and The Log Title are setted correctly.
[ ] Clarified about my environment.
[ ] Code block is used for the log.
Title
My Environment
Calibre: Version 5.24.0
Kindle: Version 1.30.0
DeDRM: Version 7.2.1
Log
Log Title
```log
calibre, version 5.24.0
ERROR: Loading book failed: Failed to open the book at /Users/mac/Dropbox/calibre/Unknown/B001KVZPW6 EBSP (35)/B001KVZPW6 EBSP - Unknown.azw. Click "Show details" for more info.
Failed to convert book: /Users/mac/Dropbox/calibre/Unknown/B001KVZPW6 EBSP (35)/B001KVZPW6 EBSP - Unknown.azw with error:
DeDRM v7.2.1: Trying to decrypt B001KVZPW6 EBSP - Unknown.azw
Using Library AlfCrypto Python
Using Library AlfCrypto Python
Decrypting Topaz ebook: The Langloz Manuscript: Fugal Improvisation through Figured Bass (Oxford Early Music Series)
Got SerialNumber from database default_key
Got UsernameHash from database default_key
Found 3 keys to try after 0.1 seconds
Trying: b'vN1GCrb0'
DeDRM v7.2.1: Failed to decrypt with error: ord() expected string of length 1, but int found
DeDRM v7.2.1: Looking for new default Kindle Key after 0.1 seconds
Found k4Mac kinf2018 file: /Users/mac/Library/Containers/com.amazon.Kindle/Data/Library/Application Support/Kindle/storage/.kinf2018
Found k4Mac kinf2018 file: /Users/mac/Library/Application Support/Kindle/storage/.kinf2018
trying username b'mac' on file /Users/mac/Library/Containers/com.amazon.Kindle/Data/Library/Application Support/Kindle/storage/.kinf2018
trying IDString: b'a545e9c2cdc4'
trying IDString: b'ddeae620394b'
Decrypted key file using IDString 'ddeae620394b' and UserName 'mac'
trying username b'mac' on file /Users/mac/Library/Application Support/Kindle/storage/.kinf2018
trying IDString: b'a545e9c2cdc4'
trying IDString: b'ddeae620394b'
Decrypted key file using IDString 'ddeae620394b' and UserName 'mac'
DeDRM v7.2.1: Found 1 new key
Decrypting Topaz ebook: The Langloz Manuscript: Fugal Improvisation through Figured Bass (Oxford Early Music Series)
Got SerialNumber from database default_key_2
Got UsernameHash from database default_key_2
Found 4 keys to try after 1.9 seconds
Trying: b'2W1JPAL7'
DeDRM v7.2.1: Ultimately failed to decrypt after 1.9 seconds. Read the FAQs at Harper's repository: https://github.com/apprenticeharper/DeDRM_tools/blob/master/FAQs.md
InputFormatPlugin: MOBI Input running
on /Users/mac/Dropbox/calibre/Unknown/B001KVZPW6 EBSP (35)/B001KVZPW6 EBSP - Unknown.azw
Failed to run pipe worker with command: from calibre.srv.render_book import viewer_main; viewer_main()
Traceback (most recent call last):
File "calibre/customize/ui.py", line 433, in get_file_type_metadata
File "calibre/customize/builtins.py", line 289, in get_metadata
File "calibre/ebooks/metadata/mobi.py", line 497, in get_metadata
File "calibre/ebooks/metadata/topaz.py", line 378, in get_metadata
File "calibre/ebooks/metadata/topaz.py", line 114, in __init__
ValueError: '/Users/mac/Dropbox/calibre/Unknown/B001KVZPW6 EBSP (35)/B001KVZPW6 EBSP - Unknown.azw': Invalid Topaz format - no metadata record
Running file type plugin DeDRM failed with traceback:
Traceback (most recent call last):
File "calibre_plugins.dedrm.__init__", line 540, in KindleMobiDecrypt
book = k4mobidedrm.GetDecryptedBook(path_to_ebook,kindleDatabases,androidFiles,serials,pids,self.starttime)
File "calibre_plugins.dedrm.k4mobidedrm", line 238, in GetDecryptedBook
mb.processBook(totalpids)
File "calibre_plugins.dedrm.topazextract", line 352, in processBook
bookKeys+=decryptDkeyRecords(data,pid)
File "calibre_plugins.dedrm.topazextract", line 192, in decryptDkeyRecords
key = decryptDkeyRecord(data[1:length+1],PID)
File "calibre_plugins.dedrm.topazextract", line 174, in decryptDkeyRecord
record = decryptRecord(data,PID)
File "calibre_plugins.dedrm.topazextract", line 169, in decryptRecord
ctx = topazCryptoInit(PID)
File "calibre_plugins.dedrm.topazextract", line 144, in topazCryptoInit
return Topaz_Cipher().ctx_init(key)
File "calibre_plugins.dedrm.alfcrypto", line 211, in ctx_init
keyByte = ord(keyChar)
TypeError: ord() expected string of length 1, but int found
During handling of the above exception, another exception occurred:
Traceback (most recent call last):
File "calibre/customize/ui.py", line 176, in _run_filetype_plugins
File "calibre_plugins.dedrm.__init__", line 633, in run
decrypted_ebook = self.KindleMobiDecrypt(path_to_ebook)
File "calibre_plugins.dedrm.__init__", line 583, in KindleMobiDecrypt
raise DeDRMError("{0} v{1}: Ultimately failed to decrypt after {2:.1f} seconds. Read the FAQs at Harper's repository: https://github.com/apprenticeharper/DeDRM_tools/blob/master/FAQs.md".format(PLUGIN_NAME, PLUGIN_VERSION,time.time()-self.starttime))
calibre_plugins.dedrm.DeDRMError: DeDRM v7.2.1: Ultimately failed to decrypt after 1.9 seconds. Read the FAQs at Harper's repository: https://github.com/apprenticeharper/DeDRM_tools/blob/master/FAQs.md
Traceback (most recent call last):
File "calibre/ebooks/conversion/plugins/mobi_input.py", line 30, in convert
File "calibre/ebooks/mobi/reader/mobi6.py", line 88, in __init__
calibre.ebooks.mobi.reader.mobi6.TopazError: This is an Amazon Topaz book. It cannot be processed.
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 39, in
File "site.py", line 35, in main
File "calibre/utils/ipc/worker.py", line 197, in main
File "", line 1, in
File "calibre/srv/render_book.py", line 824, in viewer_main
File "calibre/srv/render_book.py", line 815, in render_for_viewer
File "calibre/srv/render_book.py", line 792, in render
File "calibre/ebooks/oeb/iterator/book.py", line 63, in extract_book
File "calibre/customize/conversion.py", line 245, in __call__
File "calibre/ebooks/conversion/plugins/mobi_input.py", line 36, in convert
File "calibre/ebooks/mobi/reader/mobi6.py", line 88, in __init__
calibre.ebooks.mobi.reader.mobi6.TopazError: This is an Amazon Topaz book. It cannot be processed.
```
CheckList
The Title
and TheLog Title
are setted correctly.my environment
.the log
.Title
My Environment
Calibre:
Version
5.24.0Kindle:
Version
1.30.0DeDRM:
Version
7.2.1Log
Log Title
```log calibre, version 5.24.0 ERROR: Loading book failed: Failed to open the book at /Users/mac/Dropbox/calibre/Unknown/B001KVZPW6 EBSP (35)/B001KVZPW6 EBSP - Unknown.azw. Click "Show details" for more info. Failed to convert book: /Users/mac/Dropbox/calibre/Unknown/B001KVZPW6 EBSP (35)/B001KVZPW6 EBSP - Unknown.azw with error: DeDRM v7.2.1: Trying to decrypt B001KVZPW6 EBSP - Unknown.azw Using Library AlfCrypto Python Using Library AlfCrypto Python Decrypting Topaz ebook: The Langloz Manuscript: Fugal Improvisation through Figured Bass (Oxford Early Music Series) Got SerialNumber from database default_key Got UsernameHash from database default_key Found 3 keys to try after 0.1 seconds Trying: b'vN1GCrb0' DeDRM v7.2.1: Failed to decrypt with error: ord() expected string of length 1, but int found DeDRM v7.2.1: Looking for new default Kindle Key after 0.1 seconds Found k4Mac kinf2018 file: /Users/mac/Library/Containers/com.amazon.Kindle/Data/Library/Application Support/Kindle/storage/.kinf2018 Found k4Mac kinf2018 file: /Users/mac/Library/Application Support/Kindle/storage/.kinf2018 trying username b'mac' on file /Users/mac/Library/Containers/com.amazon.Kindle/Data/Library/Application Support/Kindle/storage/.kinf2018 trying IDString: b'a545e9c2cdc4' trying IDString: b'ddeae620394b' Decrypted key file using IDString 'ddeae620394b' and UserName 'mac' trying username b'mac' on file /Users/mac/Library/Application Support/Kindle/storage/.kinf2018 trying IDString: b'a545e9c2cdc4' trying IDString: b'ddeae620394b' Decrypted key file using IDString 'ddeae620394b' and UserName 'mac' DeDRM v7.2.1: Found 1 new key Decrypting Topaz ebook: The Langloz Manuscript: Fugal Improvisation through Figured Bass (Oxford Early Music Series) Got SerialNumber from database default_key_2 Got UsernameHash from database default_key_2 Found 4 keys to try after 1.9 seconds Trying: b'2W1JPAL7' DeDRM v7.2.1: Ultimately failed to decrypt after 1.9 seconds. Read the FAQs at Harper's repository: https://github.com/apprenticeharper/DeDRM_tools/blob/master/FAQs.md InputFormatPlugin: MOBI Input running on /Users/mac/Dropbox/calibre/Unknown/B001KVZPW6 EBSP (35)/B001KVZPW6 EBSP - Unknown.azw Failed to run pipe worker with command: from calibre.srv.render_book import viewer_main; viewer_main() Traceback (most recent call last): File "calibre/customize/ui.py", line 433, in get_file_type_metadata File "calibre/customize/builtins.py", line 289, in get_metadata File "calibre/ebooks/metadata/mobi.py", line 497, in get_metadata File "calibre/ebooks/metadata/topaz.py", line 378, in get_metadata File "calibre/ebooks/metadata/topaz.py", line 114, in __init__ ValueError: '/Users/mac/Dropbox/calibre/Unknown/B001KVZPW6 EBSP (35)/B001KVZPW6 EBSP - Unknown.azw': Invalid Topaz format - no metadata record Running file type plugin DeDRM failed with traceback: Traceback (most recent call last): File "calibre_plugins.dedrm.__init__", line 540, in KindleMobiDecrypt book = k4mobidedrm.GetDecryptedBook(path_to_ebook,kindleDatabases,androidFiles,serials,pids,self.starttime) File "calibre_plugins.dedrm.k4mobidedrm", line 238, in GetDecryptedBook mb.processBook(totalpids) File "calibre_plugins.dedrm.topazextract", line 352, in processBook bookKeys+=decryptDkeyRecords(data,pid) File "calibre_plugins.dedrm.topazextract", line 192, in decryptDkeyRecords key = decryptDkeyRecord(data[1:length+1],PID) File "calibre_plugins.dedrm.topazextract", line 174, in decryptDkeyRecord record = decryptRecord(data,PID) File "calibre_plugins.dedrm.topazextract", line 169, in decryptRecord ctx = topazCryptoInit(PID) File "calibre_plugins.dedrm.topazextract", line 144, in topazCryptoInit return Topaz_Cipher().ctx_init(key) File "calibre_plugins.dedrm.alfcrypto", line 211, in ctx_init keyByte = ord(keyChar) TypeError: ord() expected string of length 1, but int found During handling of the above exception, another exception occurred: Traceback (most recent call last): File "calibre/customize/ui.py", line 176, in _run_filetype_plugins File "calibre_plugins.dedrm.__init__", line 633, in run decrypted_ebook = self.KindleMobiDecrypt(path_to_ebook) File "calibre_plugins.dedrm.__init__", line 583, in KindleMobiDecrypt raise DeDRMError("{0} v{1}: Ultimately failed to decrypt after {2:.1f} seconds. Read the FAQs at Harper's repository: https://github.com/apprenticeharper/DeDRM_tools/blob/master/FAQs.md".format(PLUGIN_NAME, PLUGIN_VERSION,time.time()-self.starttime)) calibre_plugins.dedrm.DeDRMError: DeDRM v7.2.1: Ultimately failed to decrypt after 1.9 seconds. Read the FAQs at Harper's repository: https://github.com/apprenticeharper/DeDRM_tools/blob/master/FAQs.md Traceback (most recent call last): File "calibre/ebooks/conversion/plugins/mobi_input.py", line 30, in convert File "calibre/ebooks/mobi/reader/mobi6.py", line 88, in __init__ calibre.ebooks.mobi.reader.mobi6.TopazError: This is an Amazon Topaz book. It cannot be processed. 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 39, in