apprenticeharper / DeDRM_tools

DeDRM tools for ebooks
14.55k stars 1.52k forks source link

[QUESTION] Unable to remove DRM from azw3 in calibre 5.27 #1863

Open IoannesNuncius opened 3 years ago

IoannesNuncius commented 3 years ago

CheckList


Codex Amiatinus: Original 7th Century Vulgate: New Latin Transcription

I'm using a Linux machine, workingn on a file from "download and transfer," and I have inserted the kindle serial number.

My Environment

Calibre: 5.27

Kindle: Basic 2019

DeDRM: 7.2.0

Log

DeDRM v7.2.0: Trying to decrypt Codex Amiatinus Original 7th Century Vulgate New Latin Transcription.azw3
Using Library AlfCrypto DLL/DYLIB/SO
Using Library AlfCrypto DLL/DYLIB/SO
Running file type plugin DeDRM failed with traceback:
Traceback (most recent call last):
  File "calibre/customize/ui.py", line 176, in _run_filetype_plugins
  File "calibre_plugins.dedrm.__init__", line 632, in run
    decrypted_ebook = self.KindleMobiDecrypt(path_to_ebook)
  File "calibre_plugins.dedrm.__init__", line 526, in KindleMobiDecrypt
    import calibre_plugins.dedrm.k4mobidedrm
  File "<frozen importlib._bootstrap>", line 991, in _find_and_load
  File "<frozen importlib._bootstrap>", line 975, in _find_and_load_unlocked
  File "<frozen importlib._bootstrap>", line 671, in _load_unlocked
  File "calibre/customize/zipplugin.py", line 192, in exec_module
  File "calibre_plugins.dedrm.k4mobidedrm", line 88, in <module>
    from calibre_plugins.dedrm import kfxdedrm
  File "<frozen importlib._bootstrap>", line 991, in _find_and_load
  File "<frozen importlib._bootstrap>", line 975, in _find_and_load_unlocked
  File "<frozen importlib._bootstrap>", line 671, in _load_unlocked
  File "calibre/customize/zipplugin.py", line 185, in exec_module
  File "calibre/customize/zipplugin.py", line 181, in get_code
  File "calibre_plugins.dedrm.kfxdedrm", line 85
    traceback.print_exc()
                        ^
TabError: inconsistent use of tabs and spaces in indentation
Added Codex Amiatinus: Original 7th Century Vulgate: New Latin Transcription to db in: 0.0
Added 1 books in 0.4 seconds

ElleKayEm commented 3 years ago

Use DeDRM 7.2.1.