DRM Removal Tools for eBooks

Version 7.2.1 released on 11 April, 2021

Welcome to Apprentice Alf’s blog

This blog is intended to help anyone looking for free and simple software for removing DRM from their Kindle ebooks, stripping DRM from their Adobe Digital Editions ebooks, getting rid of DRM from their Barnes and Noble ebooks, freeing their Kobo ebooks of DRM, or decrypting their Fictionwise eReader ebooks.

If you want to find out more about ebooks, DRM and why you will probably want to remove the DRM from your ebooks, see this post:  Ebook Formats, DRM and You — A Guide for the Perplexed.

If you already know that you want to strip the DRM from your ebooks, you’ve found the right place.

The Tools

To get started on removing DRM from your ebooks, just download the tools archive from the link below. Unzip the archive, and start reading.

The latest release can be found at the top of this page:
https://github.com/apprenticeharper/DeDRM_tools/releases

Getting Help with the Tools

If you have any questions about the tools, ebooks, and DRM, check the FAQs at the GitHub repository:
https://github.com/apprenticeharper/DeDRM_tools/blob/master/FAQs.md

If you have any problems with the current tools, please ask for help in a comment on this post or in the Discussions area of Apprentice Harper’s GitHub repository.  If you would like to report a bug, please open a new issue at the GitHub repository. If you are having a problem with an older version of the tools, please first update to the current version, and see if that solves your problem.

Before commenting here, please check the ReadMe file and the FAQs (see link above).

In any bug report or help request, please include:

  • which tool was used
  • which OS you are using
  • where the ebook file came from (device or application)
  • any error messages
  • a log of the DRM-removal attempt (see the FAQs on how to get a log).

Anti-Piracy Notice

Please only use these tools for gaining full access to your own ebooks for archiving/conversion/convenience. De-drmed ebooks should not be uploaded to open servers, torrents, or other methods of mass distribution. No help will be given to people doing such things. Authors, retailers and publishers all need to make a living, so that they can continue to produce books for us to read. Don’t be a parasite.

Origin of the Tools

The tools for removing DRM from ePubs were originally posted at i♥cabbages’ blog. The tools for Kindle/Mobipocket were originally posted at The Dark Reverser’s blog.

They have since been improved by many people, but mostly some_updates, DiapDealer, Apprentice Alf, and Apprentice Harper. While there are many sites that redistribute these tools, the most up-to-date versions of the tools are currently released here.

Other Sources

Anyone trying to sell you ebook DRM removal tools for Adobe Adept ePub and PDFs, Barnes & Noble ePubs, Kindle ebooks, Kobo ebooks, or eReader ebooks has probably just repackaged (an earlier) version of the tools available here.

7,287 thoughts on “DRM Removal Tools for eBooks

  1. Hello,

    I’ve installed the latest version of the DeDRM plugin to Calibre 5.18.0. I recently transferred a bunch of older book from a previous kindle (registered to another account I have no access to) to my computer, then to my kindle paperwhite. I saved the serial number of my paperwhite in the plugin’s customization window, however I wasn’t sure if the serial number is supposed to be from the kindle the book is going to or the kindle it was originally licensed to. I am unable to remove the DRM from my older books (awz3, not kfx). Before I post my log, I wanted to ask if there might be an issue with the serial number I used just in case. I figured there might be something fishy there!

    Thanks in advance for any help!

    • The DRM which needs to be removed will be associated with the device or app they were downloaded with. After DRM is removed, it can be read on whatever you want. So you need the serial number the books are from. Not the one they are going to.

      • That is correct, but it would also be easy to simply put both (or more) Kindle serial numbers in the DeDRM-Plugin Settings, even if one of them is not needed yet.

        Also, as a side effect, the transfered books from the old device should not work on the new device, imho
        – or the ones that work do not have DRM anyway.

        If there is a problem using a different Account for the old Kindle, the books can also not be downloaded from Amazon again.

  2. I posted a message recently with my own error message I received from an attempted installation. I’m logged in with my WordPress credentials but I haven’t seen it posted. Do I need to repost? I was afraid to do it again because I didn’t want to seem like I was spamming the comment section. Thanks!

    • This time when I hit the post button, it sent. I’m not sure what happened the last time.

      This is the error message I get when I attempt to install the plugin. I’ve been using this plugin for quite a while but I reformat my hard drive around once a year or so to get rid of bit-rot and such. It was installed on this computer before I re-installed Windows, so it’s not like I’m new to the plugin. Still, this is the error I get. Thank you for any input!

      calibre, version 5.23.0
      ERROR: Unhandled exception: SyntaxError:invalid syntax (calibre_plugins.dedrm.init, line 167)

      calibre 5.23 [64bit] embedded-python: True is64bit: True
      Windows-10-10.0.19041 Windows (’64bit’, ‘WindowsPE’)
      (‘Windows’, ’10’, ‘10.0.19041’)
      Python 3.8.5
      Windows: (’10’, ‘10.0.19041’, ”, ‘Multiprocessor Free’)
      Interface language: None
      Successfully initialized third party plugins: WordDumb (3, 10, 0)
      Traceback (most recent call last):
      File “calibre\gui2\preferences\plugins.py”, line 327, in add_plugin
      File “calibre\customize\ui.py”, line 477, in add_plugin
      File “calibre\customize\ui.py”, line 65, in load_plugin
      File “calibre\customize\zipplugin.py”, line 293, in load
      File “importlib__init__.py”, line 127, in import_module
      File “”, line 1014, in _gcd_import
      File “”, line 991, in _find_and_load
      File “”, line 975, in _find_and_load_unlocked
      File “”, 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.init“, line 167
      print u”{0} v{1}: Copying needed library files from plugin’s zip”.format(PLUGIN_NAME, PLUGIN_VERSION)
      ^
      SyntaxError: invalid syntax

      • You need the latest version of the plugin for calibre 5.0. The one you’re trying to load is written in Python 2 and will only work with calibre 4.x (and earlier).

  3. Hi there,
    I’ve just freshly installed Adobe Digital Editions 4.5, Calibre 5.23, and the DeDRM plugin 7.2.1.
    I’ve used older versions successfully in the past, so I think I’ve got the method down. XD However, a book imported by .acsm into Digital Editions and then to Calibre, but Acrobat is still saying “… The security plug-in requires by this command is unavailable” when I try to open the file from the Calibre library.

    Here’s my debug data:

    calibre 5.23 [64bit] embedded-python: True is64bit: True
    Windows-10-10.0.19041 Windows (’64bit’, ‘WindowsPE’)
    (‘Windows’, ’10’, ‘10.0.19041’)
    Python 3.8.5
    Windows: (’10’, ‘10.0.19041’, ”, ‘Multiprocessor Free’)
    Interface language: None
    Successfully initialized third party plugins: DeDRM (7, 2, 1)
    Turning on automatic hidpi scaling
    devicePixelRatio: 1.0
    logicalDpi: 120.0 x 120.0
    physicalDpi: 141.7674418604651 x 142.13471502590673
    Using calibre Qt style: True
    [0.00] Starting up…
    [0.00] Showing splash screen…
    [0.48] splash screen shown
    [0.48] Initializing db…
    [0.48] db initialized
    [0.48] Constructing main UI…
    [0.95] main UI initialized…
    [0.95] Hiding splash screen
    Starting QuickView
    [1.11] splash screen hidden
    [1.11] Started up in 1.11 seconds with 2 books
    stdout+stderr from file dialog helper: [b”, b”]
    piped data from file dialog helper: [b’n\x8f\xb6\xf2\xd9G\xc5\x10\xb0][\x96h\xe28hbN=T\x7f\xb6\xca\x96>\x0b\x0c\xf6\x87G\xb1R’, b’C:\Users\lemmi\OneDrive – University of New England\Documents\My Digital Editions\Design of Technology-Enhanced Learning.pdf’]
    DeDRM v7.2.1: Trying to decrypt Design of Technology-Enhanced Learning.pdf
    DeDRM v7.2.1: Design of Technology-Enhanced Learning.pdf is a PDF ebook
    DeDRM v7.2.1: Looking for new default Adobe Digital Editions Keys after 0.1 seconds
    Found 1 keys
    DeDRM v7.2.1: Trying a new default key
    error writing pdf: max() arg is an empty sequence
    DeDRM v7.2.1: Failed to decrypt with new default key after 0.1 seconds
    DeDRM v7.2.1: Ultimately failed to decrypt after 0.1 seconds. Read the FAQs at Harper’s repository: https://github.com/apprenticeharper/DeDRM_tools/blob/master/FAQs.md
    Added Design of Technology-Enhanced Learning to db in: 0.3
    Added 1 books in 0.8 seconds
    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 640, in run
    File “calibre_plugins.dedrm.init“, line 515, in PDFDecrypt
    calibre_plugins.dedrm.DeDRMError: DeDRM v7.2.1: Ultimately failed to decrypt after 0.1 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\customize\ui.py”, line 433, in get_file_type_metadata
    File “calibre\customize\builtins.py”, line 347, in get_metadata
    File “calibre\ebooks\metadata\pdf.py”, line 126, in get_metadata
    ValueError: Could not read info dict from PDF
    Syntax Error: Couldn’t find the ‘EBX_HANDLER’ security handler
    pdfinfo errored out with return code: 1
    Exception ignored in:
    Traceback (most recent call last):
    File “calibre_plugins.dedrm.adobekey”, line 268, in del
    TypeError: ‘NoneType’ object is not callable
    Exception ignored in:
    Traceback (most recent call last):
    File “calibre_plugins.dedrm.adobekey”, line 268, in del
    TypeError: ‘NoneType’ object is not callable

  4. I am having trouble getting mine to convert.
    I am running Windows 10.
    The ebook was purchased and downloaded from Google Books. I am trying to get them onto my Kindle.

    calibre Debug log
    calibre 5.23 [64bit] embedded-python: True is64bit: True
    Windows-10-10.0.19041 Windows (’64bit’, ‘WindowsPE’)
    (‘Windows’, ’10’, ‘10.0.19041’)
    Python 3.8.5
    Windows: (’10’, ‘10.0.19041’, ”, ‘Multiprocessor Free’)
    Interface language: None
    Successfully initialized third party plugins: DeDRM (7, 2, 1)
    calibre 5.23 [64bit] embedded-python: True is64bit: True
    Windows-10-10.0.19041 Windows (’64bit’, ‘WindowsPE’)
    (‘Windows’, ’10’, ‘10.0.19041’)
    Python 3.8.5
    Windows: (’10’, ‘10.0.19041’, ”, ‘Multiprocessor Free’)
    Interface language: None
    Successfully initialized third party plugins: DeDRM (7, 2, 1)
    Turning on automatic hidpi scaling
    devicePixelRatio: 3.0
    logicalDpi: 96.0 x 96.0
    physicalDpi: 94.51162790697674 x 94.2680412371134
    Using calibre Qt style: True
    [0.00] Starting up…
    [0.00] Showing splash screen…
    [0.62] splash screen shown
    [0.62] Initializing db…
    [0.64] db initialized
    [0.64] Constructing main UI…
    [1.34] main UI initialized…
    [1.34] Hiding splash screen
    Starting QuickView
    [12.26] splash screen hidden
    [12.26] Started up in 12.26 seconds with 167 books
    stdout+stderr from file dialog helper: [b”, b”]
    piped data from file dialog helper: [b’\xb9z\xb9\x9e\x80\xb4M`\x1a_\x7fY^\xa0\xad\xc8/j\x82\xd1LL\x16\x06\xe5\x95\n~”\xcf-\x17′, b’C:\Users\jenni\Downloads\The_Bridge_Kingdom-epub.acsm’]
    Added The Bridge Kingdom-epub to db in: 0.2
    Added 1 books in 0.6 seconds

    Hopefully that’s everything needed. This is my first time trying to use this, so I could easily be doing it wrong…

    • Looking at your log snippet, it looks as if you are trying to import The_Bridge_Kingdom-epub.acsm from your downloads folder. This is not an ebook but rather an Adobe Content Server Message file which tell ADE how to download the file and what rights you have on it. You will need to open that file with ADE to actually download the ebook. If you do not already have ADE installed, you will need to install and register it.

      • Thank you! I did have it installed and loaded the book with it, but couldn’t figure out what to do from there (or why it was even necessary…). Turns out they’re in my documents folder, and they work just fine! Appreciate the push in the right direction lol!

  5. Could anyone help me figure out what I need to do? I’m using a Windows 10 PC and the book is downloaded from Amazon. I’m trying to get it converted to a pdf so I can read it more easily zoomed in (text is super blurry zoomed into the original file).

    • “converted to a pdf so I can read it more easily zoomed in (text is super blurry zoomed into the original file).”

      This reads to me like you are already reading a PDF (inside an Amazon eBook container) – and with scanned pages.
      This is a guess, so I maybe wrong, but if this is the case, and you manage to strip DRM, and convert it to PDF, this will not solve your problem, you still look at images, which will blurr, when zoomed. OCR might help, but wether that is even possible?

      • yes, my thought was that it may be exactly as you described.

        re using OCR: back in the Groklaw days I processed some of their legal documents (on Linux), which were primarily scanned images inside a PDF like this:
        1. use pdf2tiff to create tiff images.
        2. use some custom scripts I had hacked together to run early releases of Google’s tesseract OCR on those tiff images.
        3. the results, of course, still required cleaning up due to the inevitable ‘scanos’. a lot of work was involved.

  6. I am trying to archive my Nook magazines from B&N. I get the epub from Nook for PC and can view, with that epub, the magazine in “page view”. When the epub ends up in Calibre, however, it’s only in “article view”. I heard that the page view is just a series of images which would have to be included in the original epub file.

    I’m wondering if the DRM removal tools also strips the “extra” pictures from the epub since they’re not technically part of the epub format. Is that possible? If so, is there a way to prevent that? Since I can’t get into the epub until after it’s been de-DRM’d and imported into Calibre, I can’t easily verify if it’s pictures of what.

    G

        • The files inside an ePub can be encrypted. But you mentioned being able to view the ePub in calibre, so there either was no DRM, or you’ve successfully removed it.

          • I’ve successfully removed it — and that’s when I think the images (that would look like they’re extra to an epub program) get removed. I was wondering if my guess is correct and if there were a way to prevent that from happening.

            • Have you unzipped the de-drmed ePub? (If not, do so and check whether the images in there somewhere)
              Is the size of the de-drmed ePub significantly smaller than the ePub with DRM? (If so, perhaps the images did get stripped. Try unzipping the DRMed ePub – images sometimes aren’t encrypted.)

              • Yea, after you last message I looked. The images were there (yay!) and I was able to read them. And yes, the calibre epub is notably smaller. So, is there a way to get the DRM app to not strip the images?

                • The DeDRM app does not strip images. If you import the original epub into calibre and check, the images should be there. I just checked on two epubs and the images in the original epub and the deDRMmed epub were close to identical in size (the ones with DRM could not be opened since they are encrypted). OTOH, if you are using calibre to convert epub to epub (or any other format), that’s a whole ‘nother can of worms and outside the focus of this blog.

  7. Hi, I tried importing a book recently downloaded. I followed all instructions and have Calibre 5.23 installed along with Kindle for PC 1.30.0 (59056). Directly after installing the programs I could download books from Amazon and was able to add them to Calibre without any problems, but when I tried again today the downloaded books were placed in a folder again and when I tried importing the .azw file I got a ‘DRM’ message. This is the information from the log:

    calibre Debug log
    calibre 5.23 embedded-python: True is64bit: False
    Windows-10-10.0.19041 Windows (’32bit’, ‘WindowsPE’)
    32bit process running on 64bit windows
    (‘Windows’, ’10’, ‘10.0.19041’)
    Python 3.8.5
    Windows: (’10’, ‘10.0.19041’, ”, ‘Multiprocessor Free’)
    Interface language: None
    Failed to initialize plugin: ‘C:\Users\user\AppData\Roaming\calibre\plugins\Goodreads.zip’
    Successfully initialized third party plugins: Gather KFX-ZIP (from KFX Input) (1, 40, 0) && DeDRM (7, 2, 1) && Package KFX (from KFX Input) (1, 40, 0) && Goodreads Sync (1, 12, 1) && KFX metadata reader (from KFX Input) (1, 40, 0) && KFX Input (1, 40, 0) && Obok DeDRM (7, 2, 1)
    calibre 5.23 embedded-python: True is64bit: False
    Windows-10-10.0.19041 Windows (’32bit’, ‘WindowsPE’)
    32bit process running on 64bit windows
    (‘Windows’, ’10’, ‘10.0.19041’)
    Python 3.8.5
    Windows: (’10’, ‘10.0.19041’, ”, ‘Multiprocessor Free’)
    Interface language: None
    Successfully initialized third party plugins: Gather KFX-ZIP (from KFX Input) (1, 40, 0) && DeDRM (7, 2, 1) && Package KFX (from KFX Input) (1, 40, 0) && Goodreads Sync (1, 12, 1) && KFX metadata reader (from KFX Input) (1, 40, 0) && KFX Input (1, 40, 0) && Obok DeDRM (7, 2, 1)
    Turning on automatic hidpi scaling
    devicePixelRatio: 1.0
    logicalDpi: 96.0 x 96.0
    physicalDpi: 127.66492146596858 x 127.59069767441859
    Using calibre Qt style: True
    [0.00] Starting up…
    [0.00] Showing splash screen…
    [0.53] splash screen shown
    [0.53] Initializing db…
    [1.17] db initialized
    [1.17] Constructing main UI…
    DEBUG: 0.0 obok::utilities.py – loading translations
    DEBUG: 0.0 obok::dialogs.py – loading translations
    DEBUG: 0.0 obok::config.py – loading translations
    DEBUG: 0.0 obok::action_err.py – loading translations
    [2.91] main UI initialized…
    [2.91] Hiding splash screen
    Starting QuickView
    Failed to initialize plugin: ‘C:\Users\user\AppData\Roaming\calibre\plugins\Goodreads.zip’
    Gather KFX-ZIP (from KFX Input) 1.40.0: Importing D:/My Kindle Content/B08MDYRB8K_EBOK/B08MDYRB8K_EBOK.azw
    Gather KFX-ZIP (from KFX Input): Gathered 4 file(s) as C:\Users\user\AppData\Local\Temp\calibre_wjv8c41y\ee0c01w3.kfx-zip
    DeDRM v7.2.1: Trying to decrypt ee0c01w3.kfx-zip
    Using Library AlfCrypto DLL/DYLIB/SO
    Using Library AlfCrypto DLL/DYLIB/SO
    Decrypting KFX-ZIP ebook: ee0c01w3
    Got DSN key from database default_key
    Found 2 keys to try after 0.1 seconds
    Decrypting KFX DRM voucher: amzn1.drm-voucher.v1.799884a8-92c4-415a-9891-4d466c7fff54.voucher
    Traceback (most recent call last):
    File “calibre_plugins.dedrm.kfxdedrm”, line 83, in decrypt_voucher
    File “C:\Users\user\AppData\Roaming\calibre\plugins\DeDRM.zip\ion.py”, line 879, in decryptvoucher
    File “C:\Users\user\AppData\Roaming\calibre\plugins\DeDRM.zip\ion.py”, line 758, in pkcs7unpad
    File “C:\Users\user\AppData\Roaming\calibre\plugins\DeDRM.zip\ion.py”, line 98, in _assert
    Exception: Incorrect padding – Wrong key
    Traceback (most recent call last):
    File “calibre_plugins.dedrm.kfxdedrm”, line 83, in decrypt_voucher
    File “C:\Users\user\AppData\Roaming\calibre\plugins\DeDRM.zip\ion.py”, line 884, in decryptvoucher
    File “C:\Users\user\AppData\Roaming\calibre\plugins\DeDRM.zip\ion.py”, line 98, in _assert
    Exception: Expected KeySet, got
    Traceback (most recent call last):
    File “calibre_plugins.dedrm.kfxdedrm”, line 83, in decrypt_voucher
    File “C:\Users\user\AppData\Roaming\calibre\plugins\DeDRM.zip\ion.py”, line 879, in decryptvoucher
    File “C:\Users\user\AppData\Roaming\calibre\plugins\DeDRM.zip\ion.py”, line 758, in pkcs7unpad
    File “C:\Users\user\AppData\Roaming\calibre\plugins\DeDRM.zip\ion.py”, line 98, in _assert
    Exception: Incorrect padding – Wrong key
    DeDRM v7.2.1: Failed to decrypt with error: Failed to decrypt KFX DRM voucher with any key
    DeDRM v7.2.1: Looking for new default Kindle Key after 0.1 seconds
    searching for kinfoFiles in C:\Users\user\AppData\Local
    Found K4PC 1.25+ kinf2018 file: C:\Users\user\AppData\Local\Amazon\Kindle\storage.kinf2018
    [36.08] splash screen hidden
    [36.08] Started up in 36.08 seconds with 10822 books
    Decrypted key file using IDString ‘3160632123’ and UserName ‘user’
    DeDRM v7.2.1: Found 1 new key
    Decrypting KFX-ZIP ebook: ee0c01w3
    Got DSN key from database default_key_1
    Found 1 keys to try after 5.9 seconds
    Decrypting KFX DRM voucher: amzn1.drm-voucher.v1.799884a8-92c4-415a-9891-4d466c7fff54.voucher
    Traceback (most recent call last):
    File “calibre_plugins.dedrm.init“, line 540, in KindleMobiDecrypt
    File “calibre_plugins.dedrm.k4mobidedrm”, line 238, in GetDecryptedBook
    File “calibre_plugins.dedrm.kfxdedrm”, line 45, in processBook
    File “calibre_plugins.dedrm.kfxdedrm”, line 89, in decrypt_voucher
    Exception: Failed to decrypt KFX DRM voucher with any key

    During handling of the above exception, another exception occurred:

    Traceback (most recent call last):
    File “calibre_plugins.dedrm.kfxdedrm”, line 83, in decrypt_voucher
    File “C:\Users\user\AppData\Roaming\calibre\plugins\DeDRM.zip\ion.py”, line 879, in decryptvoucher
    File “C:\Users\user\AppData\Roaming\calibre\plugins\DeDRM.zip\ion.py”, line 758, in pkcs7unpad
    File “C:\Users\user\AppData\Roaming\calibre\plugins\DeDRM.zip\ion.py”, line 98, in _assert
    Exception: Incorrect padding – Wrong key
    Traceback (most recent call last):
    File “calibre_plugins.dedrm.init“, line 540, in KindleMobiDecrypt
    File “calibre_plugins.dedrm.k4mobidedrm”, line 238, in GetDecryptedBook
    File “calibre_plugins.dedrm.kfxdedrm”, line 45, in processBook
    File “calibre_plugins.dedrm.kfxdedrm”, line 89, in decrypt_voucher
    Exception: Failed to decrypt KFX DRM voucher with any key

    During handling of the above exception, another exception occurred:

    Traceback (most recent call last):
    File “calibre_plugins.dedrm.kfxdedrm”, line 83, in decrypt_voucher
    File “C:\Users\user\AppData\Roaming\calibre\plugins\DeDRM.zip\ion.py”, line 884, in decryptvoucher
    File “C:\Users\user\AppData\Roaming\calibre\plugins\DeDRM.zip\ion.py”, line 98, in _assert
    Exception: Expected KeySet, got
    DeDRM v7.2.1: Ultimately failed to decrypt after 5.9 seconds. Read the FAQs at Harper’s repository: https://github.com/apprenticeharper/DeDRM_tools/blob/master/FAQs.md
    Package KFX (from KFX Input) 1.40.0: Packaging C:\Users\user\AppData\Local\Temp\calibre_wjv8c41y\ee0c01w3.kfx-zip
    Processing container: B08MDYRB8K_EBOK.azw
    KFX metadata reader (from KFX Input) activated for C:\Users\user\AppData\Local\Temp\calibre_wjv8c41y\r8pdvndl_add_books\0\B08MDYRB8K_EBOK.kfx-zip
    Import symbol table YJ_symbols version 10 max_id 788 exceeds known table size 780
    Running file type plugin DeDRM failed with traceback:
    Traceback (most recent call last):
    File “calibre_plugins.dedrm.init“, line 540, in KindleMobiDecrypt
    File “calibre_plugins.dedrm.k4mobidedrm”, line 238, in GetDecryptedBook
    File “calibre_plugins.dedrm.kfxdedrm”, line 45, in processBook
    File “calibre_plugins.dedrm.kfxdedrm”, line 89, in decrypt_voucher
    Exception: Failed to decrypt KFX DRM voucher with any key

    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
    File “calibre_plugins.dedrm.init“, line 583, in KindleMobiDecrypt
    calibre_plugins.dedrm.DeDRMError: DeDRM v7.2.1: Ultimately failed to decrypt after 5.9 seconds. Read the FAQs at Harper’s repository: https://github.com/apprenticeharper/DeDRM_tools/blob/master/FAQs.md
    Running file type plugin Package KFX (from KFX Input) failed with traceback:
    Traceback (most recent call last):
    File “calibre\customize\ui.py”, line 176, in _run_filetype_plugins
    File “calibre_plugins.kfx_input.package_filetype”, line 21, in run
    File “calibre_plugins.kfx_input.package_filetype”, line 32, in run_kfx
    File “calibre_plugins.kfx_input.kfxlib.yj_book”, line 85, in convert_to_single_kfx
    File “calibre_plugins.kfx_input.kfxlib.yj_book”, line 212, in decode_book
    File “calibre_plugins.kfx_input.kfxlib.yj_book”, line 319, in get_container
    calibre_plugins.kfx_input.kfxlib.utilities.KFXDRMError: BookTraceback (most recent call last):
    File “calibre\customize\ui.py”, line 741, in initialize_plugins
    File “calibre\customize\ui.py”, line 65, in load_plugin
    File “calibre\customize\zipplugin.py”, line 293, in load
    File “importlib__init__.py”, line 127, in import_module
    File “”, line 1014, in _gcd_import
    File “”, line 991, in _find_and_load
    File “”, line 975, in _find_and_load_unlocked
    File “”, line 671, in _load_unlocked
    File “calibre\customize\zipplugin.py”, line 192, in exec_module
    File “calibre_plugins.goodreads.init“, line 11, in
    ImportError: cannot import name ‘quote’ from ‘urllib’ (C:\Program Files (x86)\Calibre\app\bin\python-lib.bypy.frozen\urllib__init__.pyc)
    Traceback (most recent call last):
    File “calibre\gui2\ui.py”, line 134, in init
    File “calibre\gui2\ui.py”, line 152, in init_iaction
    File “calibre\customize__init__.py”, line 626, in load_actual_plugin
    File “importlib__init__.py”, line 127, in import_module
    File “”, line 1014, in _gcd_import
    File “”, line 991, in _find_and_load
    File “”, line 975, in _find_and_load_unlocked
    File “”, line 671, in _load_unlocked
    File “calibre\customize\zipplugin.py”, line 192, in exec_module
    File “calibre_plugins.goodreads_sync.action”, line 25, in
    File “calibre\customize\zipplugin.py”, line 192, in exec_module
    File “calibre_plugins.goodreads_sync.core”, line 5, in
    ImportError: cannot import name ‘tostring’ from ‘_elementtree’ (C:\Program Files (x86)\Calibre\app\bin_elementtree.pyd)
    Added Trusting Molly (Silverstone) to db in: 2.2
    Added 1 books in 8.6 seconds

    Any help is appreciated. TY

Leave a Reply

Fill in your details below or click an icon to log in:

WordPress.com Logo

You are commenting using your WordPress.com account. Log Out /  Change )

Google photo

You are commenting using your Google account. Log Out /  Change )

Twitter picture

You are commenting using your Twitter account. Log Out /  Change )

Facebook photo

You are commenting using your Facebook account. Log Out /  Change )

Connecting to %s

This site uses Akismet to reduce spam. Learn how your comment data is processed.