DRM Removal Tools for eBooks

Version 6.6.1 released on 2 June, 2018

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 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.

Advertisements

4,781 thoughts on “DRM Removal Tools for eBooks

  1. Could not remove DRM. Debug info:

    alibre Debug log
    calibre 3.27.1 [64bit] embedded-python: True is64bit: True
    Windows-10-10.0.16299-SP0 Windows (’64bit’, ‘WindowsPE’)
    (‘Windows’, ’10’, ‘10.0.16299’)
    Python 2.7.12+
    Windows: (’10’, ‘10.0.16299’, ‘SP0′, u’Multiprocessor Free’)
    Interface language: None
    Successfully initialized third party plugins: DeDRM (6, 6, 1)
    calibre 3.27.1 [64bit] embedded-python: True is64bit: True
    Windows-10-10.0.16299-SP0 Windows (’64bit’, ‘WindowsPE’)
    (‘Windows’, ’10’, ‘10.0.16299’)
    Python 2.7.12+
    Windows: (’10’, ‘10.0.16299’, ‘SP0′, u’Multiprocessor Free’)
    Interface language: None
    Successfully initialized third party plugins: DeDRM (6, 6, 1)
    Turning on automatic hidpi scaling
    devicePixelRatio: 1.0
    logicalDpi: 120.0 x 120.0
    physicalDpi: 37.8046511628 x 38.1
    Using calibre Qt style: True
    [0.00] Starting up…
    [0.02] Showing splash screen…
    [0.08] splash screen shown
    [0.08] Initializing db…
    [0.09] db initialized
    [0.09] Constructing main UI…
    [1.33] main UI initialized…
    [1.33] Hiding splash screen
    [85.72] splash screen hidden
    [85.72] Started up in 85.72 seconds with 13 books
    stdout+stderr from file dialog helper: [”, ”]
    piped data from file dialog helper: [‘\x89\xe3\x15i\xfew\x9f\xa5\xb0b,\x14\x16U{k8Z,\xe3wl\x88\xa6J\x16\xf9\x15\xf9`w\x9c’, ‘C:\Users\Zur\Downloads\Animal Farm.azw3’]
    DeDRM v6.6.1: Trying to decrypt Animal Farm.azw3
    Using Library AlfCrypto Python
    MobiDeDrm v0.42.
    Copyright © 2008-2017 The Dark Reverser, Apprentice Harper et al.
    Decrypting Kindle Format 8 ebook: Animal Farm
    Found 0 keys to try after 0.1 seconds
    Crypto Type is: 2
    DeDRM v6.6.1: Failed to decrypt with error: No key found in 0 keys tried.
    DeDRM v6.6.1: Looking for new default Kindle Key after 0.1 seconds
    searching for kinfoFiles in C:\Users\Zur\AppData\Local
    No K4PC kindle.info/kinf/kinf2011 files have been found.
    DeDRM v6.6.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
    Running file type plugin DeDRM failed with traceback:
    Traceback (most recent call last):
    File “site-packages\calibre\customize\ui.py”, line 171, in _run_filetype_plugins
    File “calibre_plugins.dedrm.init“, line 621, in run
    File “calibre_plugins.dedrm.init“, line 571, in KindleMobiDecrypt
    DeDRMError: DeDRM v6.6.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 Animal Farm to db in: 0.3
    Added 1 books in 1.2 seconds
    Storage number map:
    {(7L, 0L): [(4L, ‘C’)], (7L, 1L): [(1L, ‘D’)], (7L, 2L): [(1L, ‘E’)]}
    Storage number for USBSTOR\DISK&VEN_KINDLE&PROD_INTERNAL_STORAGE&REV_0310\6&34E3743A&0: StorageDeviceNumber(type=7L, number=2L, partition_number=0L)
    Drive letters for USBDevice(vendor_id=0x1949 product_id=0x4 bcd=0x310 devid=usb\vid_1949&pid_0004&rev_0310 devinst=9)
    {u’drive_letters’: [‘E’],
    u’pnp_id_map’: {‘E’: u’\\?\usbstor#disk&ven_kindle&prod_internal_storage&rev_0310#6&34e3743a&0#{53f56307-b6bf-11d0-94f2-00a0c91efb8b}’},
    u’readonly_drives’: set([]),
    u’sort_map’: {‘E’: (2L, 1L)}}
    Job: 1 Get device information started
    DeviceJob: 1 Get device information done, calling callback
    DeviceJob: 1 Get device information callback returned
    Job: 2 Set library information started
    DeviceJob: 2 Set library information done, calling callback
    DeviceJob: 2 Set library information callback returned
    Job: 3 Get list of books on device started
    DEBUG: 0.0 USBMS: Fetching list of books from device. Device= KINDLE2 oncard= None
    DEBUG: 0.0 USBMS: dirs are: E:\ documents
    DEBUG: 0.3 USBMS: scan from root False E:\documents
    DEBUG: 0.3 USBMS: count found in cache: 64, count of files in metadata: 64, need_sync: False
    DEBUG: 0.3 USBMS: Finished fetching list of books from device. oncard= None
    DEBUG: 0.3 USBMS: Fetching list of books from device. Device= KINDLE2 oncard= carda
    DEBUG: 0.3 USBMS: Fetching list of books from device. Device= KINDLE2 oncard= cardb
    DeviceJob: 3 Get list of books on device done, calling callback
    DeviceJob: metadata_downloaded: Starting set_books_in_library
    DeviceJob: set_books_in_library: books to process= 64
    DeviceJob: set_books_in_library finished: time= 0.00500011444092
    DeviceJob: metadata_downloaded: updating views
    DeviceJob: metadata_downloaded: syncing
    DeviceJob: metadata_downloaded: refreshing ondevice
    DeviceJob: metadata_downloaded: sending metadata_available signal
    DeviceJob: 3 Get list of books on device callback returned
    Job: 1 Get device information finished
    No details available.
    Job: 3 Get list of books on device finished
    No details available.
    Job: 2 Set library information finished
    No details available.
    Job: 4 Upload one book to the device: Animal Farm started
    Device using plugboard azw3 KINDLE2 None
    Setting metadata in: Animal Farm at: C:\Users\Zur\AppData\Local\Temp\calibre_s2p2wx\i5hkw2caltmpfmt.azw3
    DEBUG: 8.5 USBMS: uploading 1 books
    APNX META: guid: 7d99d08e
    APNX META: ASIN: B07DJ9YLG5
    APNX META: CDE: EBOK
    APNX META: format: MOBI_8
    APNX META: Name: CR_J0NPQY0RFH711FPKFE73CM0VS12J
    APNX Content Header: {“contentGuid”:”7d99d08e”,”asin”:”B07DJ9YLG5″,”cdeType”:”EBOK”,”format”:”MOBI_8″,”fileRevisionId”:”1″,”acr”:”CR_J0NPQY0RFH711FPKFE73CM0VS12J”}
    DEBUG: 8.6 USBMS: finished uploading 1 books
    DeviceJob: 4 Upload one book to the device: Animal Farm done, calling callback
    DEBUG: 8.6 USBMS: adding metadata for 1 books
    DEBUG: 8.6 USBMS: finished adding metadata
    DeviceJob: set_books_in_library: books to process= 65
    DeviceJob: set_books_in_library finished: time= 0.00200009346008
    DeviceJob: 4 Upload one book to the device: Animal Farm callback returned
    Job: 5 Send metadata to device started
    DEBUG: 8.6 USBMS: starting sync_booklists
    Job: 4 Upload one book to the device: Animal Farm finished
    No details available.
    DEBUG: 9.2 USBMS: finished sync_booklists
    DeviceJob: 5 Send metadata to device done, calling callback
    DeviceJob: 5 Send metadata to device callback returned
    Job: 5 Send metadata to device finished
    No details available.
    Worker Launch took: 0.116999864578
    Job: 6 Convert book 1 of 1 (Animal Farm) finished
    Convert book 1 of 1 (Animal Farm)
    Conversion options changed from defaults:
    read_metadata_from_opf: u’C:\Users\Zur\AppData\Local\Temp\calibre_s2p2wx\k2przv.opf’
    verbose: 2
    cover: u’C:\Users\Zur\AppData\Local\Temp\calibre_s2p2wx\6sy21i.jpeg’
    Resolved conversion options
    calibre version: 3.27.1
    {‘asciiize’: False,
    ‘author_sort’: None,
    ‘authors’: None,
    ‘base_font_size’: 0.0,
    ‘book_producer’: None,
    ‘change_justification’: u’original’,
    ‘chapter’: u”//*[((name()=’h1′ or name()=’h2′) and re:test(., ‘\s*((chapter|book|section|part)\s+)|((prolog|prologue|epilogue)(\s+|$))’, ‘i’)) or @class = ‘chapter’]”,
    ‘chapter_mark’: u’pagebreak’,
    ‘comments’: None,
    ‘cover’: u’C:\Users\Zur\AppData\Local\Temp\calibre_s2p2wx\6sy21i.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’: u”,
    ‘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 0x000001C06B8437F0>,
    ‘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_file_type’: u’old’,
    ‘mobi_ignore_margins’: False,
    ‘mobi_keep_original_images’: False,
    ‘mobi_toc_at_start’: False,
    ‘no_chapters_in_toc’: False,
    ‘no_inline_navbars’: False,
    ‘no_inline_toc’: False,
    ‘output_profile’: <calibre.customize.profiles.OutputProfile object at 0x000001C06B843B38>,
    ‘page_breaks_before’: u”//*[name()=’h1′ or name()=’h2′]”,
    ‘personal_doc’: u'[PDOC]’,
    ‘prefer_author_sort’: False,
    ‘prefer_metadata_cover’: False,
    ‘pretty_print’: False,
    ‘pubdate’: None,
    ‘publisher’: None,
    ‘rating’: None,
    ‘read_metadata_from_opf’: u’C:\Users\Zur\AppData\Local\Temp\calibre_s2p2wx\k2przv.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’: u”,
    ‘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: MOBI Input running
    on C:\Users\Zur\AppData\Local\Temp\calibre_s2p2wx\zoffj3.azw3
    Found KF8 MOBI of type ‘standalone’
    Python function terminated unexpectedly
    Animal Farm (Error Code: 1)
    Traceback (most recent call last):
    File “site.py”, line 101, in main
    File “site.py”, line 78, in run_entry_point
    File “site-packages\calibre\utils\ipc\worker.py”, line 195, in main
    File “site-packages\calibre\gui2\convert\gui_conversion.py”, line 33, in gui_convert_override
    File “site-packages\calibre\gui2\convert\gui_conversion.py”, line 26, in gui_convert
    File “site-packages\calibre\ebooks\conversion\plumber.py”, line 1106, in run
    File “site-packages\calibre\customize\conversion.py”, line 246, in call
    File “site-packages\calibre\ebooks\conversion\plugins\mobi_input.py”, line 45, in convert
    File “site-packages\calibre\ebooks\mobi\reader\mobi8.py”, line 86, in call
    File “site-packages\calibre\ebooks\mobi\reader\mobi6.py”, line 157, in check_for_drm
    calibre.ebooks.DRMError: Animal Farm

  2. I would greatly appreciate any help please. I downloaded a bunch of new books on Amazon directly to my Kindle and now want to get them into my Calibre library and switched from AZW3 to Epub format so everything is the same. I’ve updated calibre and downloaded the 6.61 tool pack. I’m doing something wrong, but I’m not sure what. Help please?

    Thank you!

    calibre Debug log
    calibre 3.28 embedded-python: True is64bit: False
    Windows-10-10.0.17134-SP0 Windows (’32bit’, ‘WindowsPE’)
    32bit process running on 64bit windows
    (‘Windows’, ’10’, ‘10.0.17134’)
    Python 2.7.12+
    Windows: (’10’, ‘10.0.17134’, ‘SP0′, u’Multiprocessor Free’)
    Interface language: None
    Successfully initialized third party plugins: Gather KFX-ZIP (from KFX Input) (1, 6, 1) && DeDRM (6, 6, 1) && Package KFX (from KFX Input) (1, 6, 1) && Kindle Collections (1, 7, 19) && KFX metadata reader (from KFX Input) (1, 6, 1) && KFX Input (1, 6, 1)
    calibre 3.28 embedded-python: True is64bit: False
    Windows-10-10.0.17134-SP0 Windows (’32bit’, ‘WindowsPE’)
    32bit process running on 64bit windows
    (‘Windows’, ’10’, ‘10.0.17134’)
    Python 2.7.12+
    Windows: (’10’, ‘10.0.17134’, ‘SP0′, u’Multiprocessor Free’)
    Interface language: None
    Successfully initialized third party plugins: Gather KFX-ZIP (from KFX Input) (1, 6, 1) && DeDRM (6, 6, 1) && Package KFX (from KFX Input) (1, 6, 1) && Kindle Collections (1, 7, 19) && KFX metadata reader (from KFX Input) (1, 6, 1) && KFX Input (1, 6, 1)
    Turning on automatic hidpi scaling
    devicePixelRatio: 1.0
    logicalDpi: 96.0 x 96.0
    physicalDpi: 127.664921466 x 127.590697674
    Using calibre Qt style: True
    [0.00] Starting up…
    [0.00] Showing splash screen…
    [0.08] splash screen shown
    [0.08] Initializing db…
    [0.12] db initialized
    [0.12] Constructing main UI…
    [2.00] main UI initialized…
    [2.00] Hiding splash screen
    [5.42] splash screen hidden
    [5.42] Started up in 5.42 seconds with 870 books
    stdout+stderr from file dialog helper: [”, ”]
    piped data from file dialog helper: [‘H\xb8\n \x93\xb1Gc\x83\xeb\x8e\x19z\xa5\x03Rm\xda\x8f\xa6Q\xca+\xa7\nI\xedk\xf4\x95\x8e’, “C:\Users\Kris\Downloads\A River in Darkness One Man’s Escape from North Korea.azw3″]
    DeDRM v6.6.1: Trying to decrypt A River in Darkness_ One Man’s Escape from North Korea.azw3
    Using Library AlfCrypto Python
    MobiDeDrm v0.42.
    Copyright © 2008-2017 The Dark Reverser, Apprentice Harper et al.
    Decrypting Kindle Format 8 ebook: A River in Darkness: One Man’s Escape from North Korea
    Found 2 keys to try after 0.1 seconds
    Crypto Type is: 2
    DeDRM v6.6.1: Failed to decrypt with error: No key found in 2 keys tried.
    DeDRM v6.6.1: Looking for new default Kindle Key after 0.1 seconds
    searching for kinfoFiles in C:\Users\Kris\AppData\Local
    No K4PC kindle.info/kinf/kinf2011 files have been found.
    DeDRM v6.6.1: Ultimately failed to decrypt after 0.2 seconds. Read the FAQs at Harper’s repository: https://github.com/apprenticeharper/DeDRM_tools/blob/master/FAQs.md
    Running file type plugin DeDRM failed with traceback:
    Traceback (most recent call last):
    File “site-packages\calibre\customize\ui.py”, line 171, in _run_filetype_plugins
    File “calibre_plugins.dedrm.init“, line 621, in run
    File “calibre_plugins.dedrm.init“, line 571, in KindleMobiDecrypt
    DeDRMError: DeDRM v6.6.1: Ultimately failed to decrypt after 0.2 seconds. Read the FAQs at Harper’s repository: https://github.com/apprenticeharper/DeDRM_tools/blob/master/FAQs.md
    Added A River in Darkness: One Man’s Escape from North Korea to db in: 0.3
    Added 1 books in 1.3 seconds
    Worker Launch took: 0.102999925613
    Job: 1 Convert book 1 of 1 (A River in Darkness: One Man’s Escape from North Korea) finished
    Convert book 1 of 1 (A River in Darkness: One Man’s Escape from North Korea)
    Conversion options changed from defaults:
    read_metadata_from_opf: u’C:\Users\Kris\AppData\Local\Temp\calibre_kmqgpr\ewvps3.opf’
    output_profile: ‘kindle_pw’
    cover: u’C:\Users\Kris\AppData\Local\Temp\calibre_kmqgpr\chzwrp.jpeg’
    verbose: 2
    Resolved conversion options
    calibre version: 3.28.0
    {‘asciiize’: False,
    ‘author_sort’: None,
    ‘authors’: None,
    ‘base_font_size’: 0.0,
    ‘book_producer’: None,
    ‘change_justification’: u’original’,
    ‘chapter’: u”//*[((name()=’h1′ or name()=’h2′) and re:test(., ‘\s*((chapter|book|section|part)\s+)|((prolog|prologue|epilogue)(\s+|$))’, ‘i’)) or @class = ‘chapter’]”,
    ‘chapter_mark’: u’pagebreak’,
    ‘comments’: None,
    ‘cover’: u’C:\Users\Kris\AppData\Local\Temp\calibre_kmqgpr\chzwrp.jpeg’,
    ‘debug_pipeline’: None,
    ‘dehyphenate’: True,
    ‘delete_blank_paragraphs’: True,
    ‘disable_font_rescaling’: False,
    ‘dont_split_on_page_breaks’: False,
    ‘duplicate_links_in_toc’: False,
    ’embed_all_fonts’: False,
    ’embed_font_family’: None,
    ‘enable_heuristics’: False,
    ‘epub_flatten’: False,
    ‘epub_inline_toc’: False,
    ‘epub_toc_at_end’: False,
    ‘epub_version’: u’2′,
    ‘expand_css’: False,
    ‘extra_css’: None,
    ‘extract_to’: None,
    ‘filter_css’: u”,
    ‘fix_indents’: True,
    ‘flow_size’: 260,
    ‘font_size_mapping’: None,
    ‘format_scene_breaks’: True,
    ‘html_unwrap_factor’: 0.4,
    ‘input_encoding’: None,
    ‘input_profile’: <calibre.customize.profiles.InputProfile object at 0x05277A90>,
    ‘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,
    ‘no_chapters_in_toc’: False,
    ‘no_default_epub_cover’: False,
    ‘no_inline_navbars’: False,
    ‘no_svg_cover’: False,
    ‘output_profile’: <calibre.customize.profiles.KindlePaperWhiteOutput object at 0x05277E70>,
    ‘page_breaks_before’: u”//*[name()=’h1′ or name()=’h2′]”,
    ‘prefer_metadata_cover’: False,
    ‘preserve_cover_aspect_ratio’: False,
    ‘pretty_print’: True,
    ‘pubdate’: None,
    ‘publisher’: None,
    ‘rating’: None,
    ‘read_metadata_from_opf’: u’C:\Users\Kris\AppData\Local\Temp\calibre_kmqgpr\ewvps3.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’: u”,
    ‘search_replace’: ‘[]’,
    ‘series’: None,
    ‘series_index’: None,
    ‘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: MOBI Input running
    on C:\Users\Kris\AppData\Local\Temp\calibre_kmqgpr\y6axbi.azw3
    Found KF8 MOBI of type ‘standalone’
    Python function terminated unexpectedly
    A River in Darkness: One Man’s Escape from North Korea (Error Code: 1)
    Traceback (most recent call last):
    File “site.py”, line 101, in main
    File “site.py”, line 78, in run_entry_point
    File “site-packages\calibre\utils\ipc\worker.py”, line 195, in main
    File “site-packages\calibre\gui2\convert\gui_conversion.py”, line 33, in gui_convert_override
    File “site-packages\calibre\gui2\convert\gui_conversion.py”, line 26, in gui_convert
    File “site-packages\calibre\ebooks\conversion\plumber.py”, line 1106, in run
    File “site-packages\calibre\customize\conversion.py”, line 246, in call
    File “site-packages\calibre\ebooks\conversion\plugins\mobi_input.py”, line 45, in convert
    File “site-packages\calibre\ebooks\mobi\reader\mobi8.py”, line 86, in call
    File “site-packages\calibre\ebooks\mobi\reader\mobi6.py”, line 157, in check_for_drm
    calibre.ebooks.DRMError: A River in Darkness: One Man’s Escape from North Korea

  3. I cannot open the new DeDRM app for Mac. (I am using 10.11.6) I have been using an older version of DeDRM with no problem for at least a year. New app says “cannot open”. I have my system preferences security settings set on “allow apps form anywhere”. I have repeatedly tried right clicking, control clicking and even re-downloading and unzipping using Ziprar, no difference.

  4. Hi Plugin not loading in Calibre on Win10 – following error message received – calibre, version 3.28.0
    ERROR: Unhandled exception: InvalidPlugin:The plugin in u’C:\Users\Darren\Downloads\DeDRM_tools_6.6.1.zip’ is invalid. It does not contain a top-level init.py file

    calibre 3.28 [64bit] embedded-python: True is64bit: True
    Windows-10-10.0.17134-SP0 Windows (’64bit’, ‘WindowsPE’)
    (‘Windows’, ’10’, ‘10.0.17134’)
    Python 2.7.12+
    Windows: (’10’, ‘10.0.17134’, ‘SP0′, u’Multiprocessor Free’)
    Interface language: en_GB
    Successfully initialized third party plugins: Gather KFX-ZIP (from KFX Input) (1, 6, 1) && DeDRM (6, 0, 8) && Package KFX (from KFX Input) (1, 6, 1) && KFX metadata reader (from KFX Input) (1, 6, 1) && KFX Input (1, 6, 1)
    Traceback (most recent call last):
    File “site-packages\calibre\gui2\preferences\plugins.py”, line 317, in add_plugin
    File “site-packages\calibre\customize\ui.py”, line 471, in add_plugin
    File “site-packages\calibre\customize\ui.py”, line 60, in load_plugin
    File “site-packages\calibre\customize\zipplugin.py”, line 192, in load
    File “site-packages\calibre\customize\zipplugin.py”, line 290, in _locate_code
    InvalidPlugin: The plugin in u’C:\Users\Darren\Downloads\DeDRM_tools_6.6.1.zip’ is invalid. It does not contain a top-level init.py file

    Appreciate any help

  5. I am using Calibre 3.28 with DeDRM 6.6.1. on Windows 7/64 Bit. Installation runs like a charm but I am still not able to import ebooks directly from my Kindle Paperwhite to Calibire because Calibre tells me that ebooks in KFX format cannot be imported and I have to use the download option in Amazon.

    But when I remember right DeDRM can handle KFX. Do you maybe know what I have done wrong?

    Many thnaks in advance,
    best regards

    Thomas

  6. I’ve been trying to convert after installing both plugins to no avail. The DRM blocks it every time still. No clue what I could be doing wrong.

    • First test a different file format from the Kindle, AZW, AZW3, Mobi. Start Calibre in Debug mode, and import that fileformat, look in the log wether the book had DRM and was successfully DeDRMed.
      – if the log shows the book to have no DRM, try a different book, until you get one with DRM
      – if even this book cannot be DeDRMed, configure the plugin with the serial number of the Kindle (must be an eInk, NOT Fire), entered without spaces
      – try again with a newly copied book from the Kindle
      – if the import works and DeDRM also, but only on AZW, AZW, Mobi etc., not KFX, you may be currently out of luck, some books still do not work (I think currently my success rate is 9 from 10 KFX books work)
      – the KFX books which do not work for me show up in Calibre as filetype KFX-zip
      – always use the newest Calibre and Plugins for KFX
      As I have tested quite a lot, sometimes it helps (regardless wether Windows or Mac), to configure the OS for a new user and start with fresh installs, logging in with your Amazon Account.

      Also, if you are used to copying the files from the Kindle to your Hardisk before proceeding, you should not copy single files, but simply everything, all directories. Reason I say this, I have to Kindle eInk, one for US-bought books, one for German-bough books, for some reason, from the US Kindle I can simply copy the whole ebook directory and import with Calibre KFX from there, with the German one, I need the other directories (tried to look into the source to check which ones, but could find them), like system etc from the Kindle. If you import directly from the Kindle with Calibre, it should find all needed files, no matter where they are.
      These files are put together with the KFX import plugin into a single file for Calibre. At what point the DeDRM happens if before or after I do not know.

      Hope this helps. Else post a debug log from a fresh import which did not remove the DRM.

  7. Hi, I really love this software for archival purpose from Kindle. But seems i found that conversion from KFX to ePub format didn’t convert the image in highest quality. I have KFX file around 19 MB but converted ePub only 1 MB in size. The images converted to lower quality. Could anyone help me? Did I something wrong? Calibre Portable used, DeDRM and KFX Input plugin installed. I’m pretty sure KFX is DRM free since conversion success.

    Thank You

    • I suspect that the problem lies in your calibre conversion settings. In the “Page setup” tab the “Output profile” should be set to “Tablet” in order to not have calibre downsize images during conversion.

  8. Hi, I bought book from HPE press, and its locked by DRM in ADE. calibre plugin cant remove drm. and I cant open “DeDRM_App for Windows” on Windows 10. I installed ActivePython-2.7.14+pycrypto-2.6.win-amd64-py2.7 but “DeDRM_Drop_Target” didnt open.
    Any options?

      • no I cant open acsm file in ADE 2.0.1. its give me error “Unable to download” error getting licemce, Licence server communocation problem: E_ADEPT_CORE_DECRYPT_LICENCE_KEY. Maybe this error cause I opened first in ADE 3.0

      • but I can open acsm file in ADE 3.0 and 4.5 without problem, but cant delete drm with calibre plugin (i downloaded 6.6.0. plugin loaded it in calibri, then reexport book in calibre and double-clicked to book in calibre, but calibre give me error “the book is locked by DRM”. As I know Calibre plugin should automatically delete DRM and open book doesnt?

          • As you have bought the ebook, I would try to download it with the old DRM, there should be a way to that (using an older Adobe Digital Edt., or Sony Reader).
            If not, complain to the merchant that you cannot read the ebook on your device, it is unusable. If they fail to help by providing a readable copy, raise hell and give it back with demanding your money back, threatening that they lose you as a costumer.

            This (for me) is the main reason why Amazons Kindle format is so popular. It works, DeDRM works, and they take ebooks back (within a reasonable time and if you do not do it too often), give you your money back and value the costumer.
            Having said that, I still buy epubs and use them on a Tolino epos, DeDRM them , store them with Calibre and could convert them to Kindle (Mobi, AZW) to use there. If and when Amazon offers a different eReader, I can switch back, the Voyage is ok, but could should have been updated now (waterproof, more memory etc.).

            • From what I understand, once you download a copy with the newer DRM, you will always get the new DRM on new downloads of that book. The only way to get the older DRM then is to delete the book from your account and buy it again. As Ingo suggested, you might be able to complain and get the bookseller to reset the book at no additional charge. But it’s possible they’re not using the older DRM. In that case, you wouldn’t be able to download any books from them with ADE 2.0.1 at all — or DeDRM them.

              • It all depends how customer-friendly they are. Given that it is a specialty shop for technical manuals and information ebooks, there may be little chance getting the ebook elsewhere, so even getting the money back is no solution, if you cannot buy the ebook in a different shop.
                From their FAQ they do not specify ereader as an eInk device, but they rather think a tablet (Android, Kindle Fire) or an iPad counts as an ereader. Which due to the display difference it is not, for me.

                But that is beside the point. Are there eInk devices to buy which have support for the new Adobe DRM? The few devices I can buy in Germany (Tolino and a few others) do not support it yet – a firmware update could change that, though.

                tl;dr no real solution, sorry for that.

  9. I installed Adobe Digital editions with WINE. I do not see any .der files in the appropriate folders. How do I find the keyfiles/adobe digital editions keys so I can plug them in to the DeDRM plugin for calibre?

    • Post a log and we’ll see what’s going on. With Linux you sometimes (often?) have to run the key script manually. In which case, you can specify where it gets saved.

      • Ok after reading the faq … https://github.com/apprenticeharper/DeDRM_tools/blob/master/FAQs.md

        calibre Debug log
        calibre 2.55 embedded-python: False is64bit: True
        Linux-4.15.0-29-generic-x86_64-with-Ubuntu-16.04-xenial Linux (’64bit’, ‘ELF’)
        (‘Linux’, ‘4.15.0-29-generic’, ‘#31~16.04.1-Ubuntu SMP Wed Jul 18 08:54:04 UTC 2018’)
        Python 2.7.12
        Linux: (‘Ubuntu’, ‘16.04’, ‘xenial’)
        Successfully initialized third party plugins: DeDRM
        Starting up…
        DeDRM v6.6.0: Trying to decrypt Theory_of_Garment-Pattern_Making_-A_Textbook_fo.epub
        DeDRM v6.6.0: Verifying zip archive integrity
        Started up in 42.07 seconds with 1 books
        DeDRM v6.6.0: Theory_of_Garment-Pattern_Making
        -_A_Textbook_fo.epub is a secure Adobe Adept ePub
        DeDRM v6.6.0: Looking for new default Adobe Digital Editions Keys after 1.0 seconds
        DeDRM v6.6.0: Running adobekey.py under Wine
        DeDRM v6.6.0: Command line: ‘WINEPREFIX=”/home/ABC” wine python.exe “/home/ABC/.config/calibre/plugins/DeDRM/libraryfiles/adobekey.py” “/home/ABC/.config/calibre/plugins/DeDRM/libraryfiles/winekeysdir”‘
        wine: cannot find L”C:\windows\system32\python.exe”
        DeDRM v6.6.0: Found and decrypted 0 key files
        DeDRM v6.6.0: Exception when getting default Adobe Key after 2.8 seconds
        Traceback (most recent call last):
        File “calibre_plugins.dedrm.init“, line 352, in ePubDecrypt
        IndexError: list index out of range
        DeDRM v6.6.0: Ultimately failed to decrypt after 2.8 seconds. Read the FAQs at Harper’s repository: https://github.com/apprenticeharper/DeDRM_tools/blob/master/FAQs.md
        Running file type plugin DeDRM failed with traceback:
        Traceback (most recent call last):
        File “/usr/lib/calibre/calibre/customize/ui.py”, line 154, in _run_filetype_plugins
        nfp = plugin.run(path_to_file)
        File “calibre_plugins.dedrm.init“, line 631, in run
        File “calibre_plugins.dedrm.init“, line 402, in ePubDecrypt
        DeDRMError: DeDRM v6.6.0: Ultimately failed to decrypt after 2.8 seconds. Read the FAQs at Harper’s repository: https://github.com/apprenticeharper/DeDRM_tools/blob/master/FAQs.md

        When I bring up DeDrm 6.6.0 on my Linux box, click Adobe Digital editions and click the green plus sign, I see “The default encryption key for Adobe Digital Editions could not be found.” The list of keys next to the buttons is empty. The book comes from a bookstore chain in continental Europe.

        I am working in parallel on a Windows box, trying to find the keyfile there, but it is not working either. I should never have given someone money for an eBook which did not clearly state ‘no DRM’!

        • As I thought, you’ve got the same problem I’ve seen here with a lot of Linux setups. See this part of the log:

          DeDRM v6.6.0: Command line: ‘WINEPREFIX=”/home/ABC” wine python.exe “/home/ABC/.config/calibre/plugins/DeDRM/libraryfiles/adobekey.py” “/home/ABC/.config/calibre/plugins/DeDRM/libraryfiles/winekeysdir”‘
          wine: cannot find L”C:\windows\system32\python.exe”

          When it tries to run the key script, it can’t find Python. You do need Python and PyCrypto installed under Wine. You should be able to run the script manually and import the retrieved key into the plugin customization.

          But if you’ve got a Windows setup, you should be able to export that key from calibre/DeDRM on the Windows machine and import it to calibre/DeDRM on the Linux setup — as long as both ADE installations are authorized with the same Adobe ID. The Windows setup should automatically retrieve the key if both ADE and calibre are on the same machine and user. It should be ADE 2.0.1 authorized with your Adobe ID and latest calibre with DeDRM. You need to be able to read the DRM book in ADE.

      • I installed both Adobe Digital Editions and Calibre with DeDrm 6.6.1 on a windows box and was able to create a keyfile and open the epub in Calibre. When I copied the keyfile to my Linux box and used “add from file” under Calibre -> Preferences -> Plugins -> DeDrm, I still get the message about DRM when I try to open the same epub in Calibre on the Linux box.

        It also looks like the original file still has DRM, so I can’t just load the new version onto my Tolino and avoid having to give my ADE password again and again.

        • Definitely sounds like you’ve got it working on Windows. Not sure why the key won’t work on Linux. Did you restart calibre after importing the key and before adding a book?

  10. For some reason I have a .AZW file that this can’t decrypt.
    which tool was used – Calibre DeDRM tools 6.6.1 plug-in tool
    which OS you are using – Windows 10 1803 (17134.165)
    where the ebook file came from (device or application) – Amazon Kindle for PC version1.17.0.44170
    any error messages – none
    a log of the DRM-removal attempt (see the FAQs on how to get a log
    calibre Debug log
    calibre 3.29 [64bit] embedded-python: True is64bit: True
    Windows-10-10.0.17134-SP0 Windows (’64bit’, ‘WindowsPE’)
    (‘Windows’, ’10’, ‘10.0.17134’)
    Python 2.7.12+
    Windows: (’10’, ‘10.0.17134’, ‘SP0′, u’Multiprocessor Free’)
    Interface language: None
    Successfully initialized third party plugins: DeDRM (6, 6, 1)
    calibre 3.29 [64bit] embedded-python: True is64bit: True
    Windows-10-10.0.17134-SP0 Windows (’64bit’, ‘WindowsPE’)
    (‘Windows’, ’10’, ‘10.0.17134’)
    Python 2.7.12+
    Windows: (’10’, ‘10.0.17134’, ‘SP0′, u’Multiprocessor Free’)
    Interface language: None
    Successfully initialized third party plugins: DeDRM (6, 6, 1)
    Turning on automatic hidpi scaling
    devicePixelRatio: 1.0
    logicalDpi: 96.0 x 96.0
    physicalDpi: 109.22 x 109.182089552
    Using calibre Qt style: True
    [0.00] Starting up…
    [0.00] Showing splash screen…
    [0.08] splash screen shown
    [0.08] Initializing db…
    [0.08] db initialized
    [0.08] Constructing main UI…
    [1.11] main UI initialized…
    [1.11] Hiding splash screen
    Failed to check for calibre update: https://code.calibre-ebook.com/latest returned an unsupported http response code: 403 (Forbidden)
    Failed to check for plugin update: [SSL: CERTIFICATE_VERIFY_FAILED] certificate verify failed (ssl.c:590)
    [7.53] splash screen hidden
    [7.53] Started up in 7.53 seconds with 69 books
    stdout+stderr from file dialog helper: [”, ”]
    piped data from file dialog helper: [‘\x90\x13\xa7@p\xf2
    \xbb\xc0\x8a\xcd1m\xe7\x8aw}>\xa5#7jY\xfe9J\xcf\x0eP|;E’, ‘D:\OneDrive\uploads\B01BXPWGX4_EBOK.azw’]
    DeDRM v6.6.1: Trying to decrypt B01BXPWGX4_EBOK.azw
    Using Library AlfCrypto Python
    MobiDeDrm v0.42.
    Copyright © 2008-2017 The Dark Reverser, Apprentice Harper et al.
    Decrypting Kindle Format 8 ebook: The 5 Love Languages of Children: The Secret to Loving Children Effectively
    Found 0 keys to try after 0.1 seconds
    Crypto Type is: 2
    DeDRM v6.6.1: Failed to decrypt with error: No key found in 0 keys tried.
    DeDRM v6.6.1: Looking for new default Kindle Key after 0.1 seconds
    searching for kinfoFiles in C:\Users\JMHoo\AppData\Local
    No K4PC kindle.info/kinf/kinf2011 files have been found.
    DeDRM v6.6.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
    Running file type plugin DeDRM failed with traceback:
    Traceback (most recent call last):
    File “site-packages\calibre\customize\ui.py”, line 171, in _run_filetype_plugins
    File “calibre_plugins.dedrm.init“, line 621, in run
    File “calibre_plugins.dedrm.init“, line 571, in KindleMobiDecrypt
    DeDRMError: DeDRM v6.6.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 The 5 Love Languages of Children: The Secret to Loving Children Effectively to db in: 5.1
    Added 1 books in 5.8 seconds
    Worker Launch took: 0.0859999656677

  11. Used the tool today on my Amazon-purchased e-ink files and it worked like a charm. However, when I try to side-load the new files (mobi) onto my paperwhite they don’t show up. Calibre says they’re in the device library but I can’t see them. Kindle issue or the files?

    • How did you copy the ebooks to your Kindle?
      Maybe manually?
      Calibre automatically puts them in the correct directory, under a folder with the author-name (else “unkown” or something like that is used).
      The directory is :/documents .
      Just tested it with a Kindle, and copied an ebook manually in the main (root) directory of the Kindle.
      It does not show up.
      Also another reason might be the sort order of the books, if you have a lot of books on the Kindle. Take note of the title and search for it, or page through the books lists, but that might take a while.

  12. 😦 the calibre plugin (Mac OS 10.12.6) isn’t cracking most of my books from amazon. I added them to the Calibre library and tried to convert them to ePub from there:
    Convert book 1 of 1 (B002GHBS5Q EBOK)
    Resolved conversion options
    calibre version: 2.15.0
    {‘asciiize’: False,
    ‘author_sort’: None,
    ‘authors’: None,
    ‘base_font_size’: 0.0,
    ‘book_producer’: None,
    ‘change_justification’: u’original’,
    ‘chapter’: u”//[((name()=’h1′ or name()=’h2′) and re:test(., ‘\s((chapter|book|section|part)\s+)|((prolog|prologue|epilogue)(\s+|$))’, ‘i’)) or @class = ‘chapter’]”,
    ‘chapter_mark’: u’pagebreak’,
    ‘comments’: None,
    ‘cover’: None,
    ‘debug_pipeline’: None,
    ‘dehyphenate’: True,
    ‘delete_blank_paragraphs’: True,
    ‘disable_font_rescaling’: False,
    ‘dont_split_on_page_breaks’: False,
    ‘duplicate_links_in_toc’: False,
    ’embed_all_fonts’: False,
    ’embed_font_family’: None,
    ‘enable_heuristics’: False,
    ‘epub_flatten’: False,
    ‘epub_inline_toc’: False,
    ‘epub_toc_at_end’: False,
    ‘expand_css’: False,
    ‘extra_css’: None,
    ‘extract_to’: None,
    ‘filter_css’: u”,
    ‘fix_indents’: True,
    ‘flow_size’: 260,
    ‘font_size_mapping’: None,
    ‘format_scene_breaks’: True,
    ‘html_unwrap_factor’: 0.4,
    ‘input_encoding’: None,
    ‘input_profile’: <calibre.customize.profiles.KindleInput object at 0x113116250>,
    ‘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,
    ‘no_chapters_in_toc’: False,
    ‘no_default_epub_cover’: False,
    ‘no_inline_navbars’: False,
    ‘no_svg_cover’: False,
    ‘output_profile’: <calibre.customize.profiles.GenericEink object at 0x1131164d0>,
    ‘page_breaks_before’: u”//*[name()=’h1′ or name()=’h2′]”,
    ‘prefer_metadata_cover’: False,
    ‘preserve_cover_aspect_ratio’: False,
    ‘pretty_print’: True,
    ‘pubdate’: None,
    ‘publisher’: None,
    ‘rating’: None,
    ‘read_metadata_from_opf’: u’/var/folders/m9/wvv91z156dqg70bxsrxtpwt00000gn/T/calibre_2.15.0_tmp_h4Zl5S/7IYVxv.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’: u”,
    ‘search_replace’: ‘[]’,
    ‘series’: None,
    ‘series_index’: None,
    ‘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,
    ‘unsmarten_punctuation’: False,
    ‘unwrap_lines’: True,
    ‘use_auto_toc’: False,
    ‘verbose’: 2}
    Python function terminated unexpectedly: Unknown book type: ‘\x81\xc4\xde\x02\x9c\x8c”\x08’
    InputFormatPlugin: MOBI Input running
    on /var/folders/m9/wvv91z156dqg70bxsrxtpwt00000gn/T/calibre_2.15.0_tmp_h4Zl5S/_JaGLp.azw
    Traceback (most recent call last):
    File “/Applications/calibre.app/Contents/Resources/Python/lib/python2.7/site.py”, line 203, in main
    return run_entry_point()
    File “/Applications/calibre.app/Contents/Resources/Python/lib/python2.7/site.py”, line 114, in run_entry_point
    return getattr(pmod, func)()
    File “site-packages/calibre/utils/ipc/worker.py”, line 193, in main
    File “site-packages/calibre/gui2/convert/gui_conversion.py”, line 31, in gui_convert_override
    File “site-packages/calibre/gui2/convert/gui_conversion.py”, line 25, in gui_convert
    File “site-packages/calibre/ebooks/conversion/plumber.py”, line 1041, in run
    File “site-packages/calibre/customize/conversion.py”, line 241, in call
    File “site-packages/calibre/ebooks/conversion/plugins/mobi_input.py”, line 33, in convert
    File “site-packages/calibre/ebooks/mobi/reader/mobi6.py”, line 78, in init
    calibre.ebooks.mobi.MobiError: Unknown book type: ‘\x81\xc4\xde\x02\x9c\x8c”\x08’

  13. First of all, thank you for all your wonderful work. I really do appreciate it!

    I’ve used the DeDRM plugin (along with the KFX Input pluginof late) with Calibre, to DeDRM many a book. But I ran into a problem yesterday on one particular book, and after multiple attempts to no avail, I decided it was time to trouble the powers that be over here. I have copied the log file for the particular book in question. Any help would be deeply appreciated.

    Thanks,

    calibre Debug log
    calibre 3.29 embedded-python: True is64bit: False
    Windows-10-10.0.17134-SP0 Windows (’32bit’, ‘WindowsPE’)
    32bit process running on 64bit windows
    (‘Windows’, ’10’, ‘10.0.17134’)
    Python 2.7.12+
    Windows: (’10’, ‘10.0.17134’, ‘SP0′, u’Multiprocessor Free’)
    Interface language: None
    Successfully initialized third party plugins: Gather KFX-ZIP (from KFX Input) (1, 7, 0) && DeDRM (6, 6, 1) && Package KFX (from KFX Input) (1, 7, 0) && KFX metadata reader (from KFX Input) (1, 7, 0) && KFX Input (1, 7, 0)
    calibre 3.29 embedded-python: True is64bit: False
    Windows-10-10.0.17134-SP0 Windows (’32bit’, ‘WindowsPE’)
    32bit process running on 64bit windows
    (‘Windows’, ’10’, ‘10.0.17134’)
    Python 2.7.12+
    Windows: (’10’, ‘10.0.17134’, ‘SP0′, u’Multiprocessor Free’)
    Interface language: None
    Successfully initialized third party plugins: Gather KFX-ZIP (from KFX Input) (1, 7, 0) && DeDRM (6, 6, 1) && Package KFX (from KFX Input) (1, 7, 0) && KFX metadata reader (from KFX Input) (1, 7, 0) && KFX Input (1, 7, 0)
    Turning on automatic hidpi scaling
    devicePixelRatio: 1.0
    logicalDpi: 96.0 x 96.0
    physicalDpi: 100.861627907 x 101.07357513
    Using calibre Qt style: True
    [0.00] Starting up…
    [0.00] Showing splash screen…
    [0.08] splash screen shown
    [0.08] Initializing db…
    [0.09] db initialized
    [0.09] Constructing main UI…
    [1.80] main UI initialized…
    [1.80] Hiding splash screen
    [13.78] splash screen hidden
    [13.78] Started up in 13.78 seconds with 1 books
    DeDRM v6.6.1: Trying to decrypt GuruBook.kfx-zip
    Using Library AlfCrypto Python
    Decrypting KFX-ZIP ebook: GuruBook
    Found 0 keys to try after 0.1 seconds
    Decrypting KFX DRM voucher: amzn1.drm-voucher.v1.03d586c5-af61-46ee-bfd0-371a6ec80ed8.voucher
    DeDRM v6.6.1: Failed to decrypt with error: Failed to decrypt KFX DRM voucher with any key
    DeDRM v6.6.1: Looking for new default Kindle Key after 0.1 seconds
    searching for kinfoFiles in C:\Users\Rohit\AppData\Local
    No K4PC kindle.info/kinf/kinf2011 files have been found.
    DeDRM v6.6.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
    Running file type plugin DeDRM failed with traceback:
    Traceback (most recent call last):
    File “site-packages\calibre\customize\ui.py”, line 171, in _run_filetype_plugins
    File “calibre_plugins.dedrm.init“, line 621, in run
    File “calibre_plugins.dedrm.init“, line 571, in KindleMobiDecrypt
    DeDRMError: DeDRM v6.6.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
    Package KFX (from KFX Input) 1.7.0: Packaging C:/Users/Rohit/Documents/Test/GuruBook.kfx-zip
    Processing container: B0778C88CK_EBOK.azw
    Running file type plugin Package KFX (from KFX Input) failed with traceback:
    Traceback (most recent call last):
    File “site-packages\calibre\customize\ui.py”, line 171, in _run_filetype_plugins
    File “calibre_plugins.kfx_input.package_filetype”, line 22, in run
    File “calibre_plugins.kfx_input.package_filetype”, line 35, in run_kfx
    File “calibre_plugins.kfx_input.kfxlib.yj_book”, line 76, in convert_to_single_kfx
    File “calibre_plugins.kfx_input.kfxlib.yj_book”, line 149, in decode_book
    File “calibre_plugins.kfx_input.kfxlib.yj_book”, line 260, in get_container
    KFXDRMError: Book container B0778C88CK_EBOK.azw has DRM and cannot be converted
    KFX metadata reader (from KFX Input) activated for C:/Users/Rohit/Documents/Test/GuruBook.kfx-zip
    Added Gurudev: On the Plateau of the Peak: The Life of Sri Sri Ravi Shankar to db in: 2.1
    Added 1 books in 3.4 seconds

      • Thanks a lot, Laura! That did the trick!

        This doesn’t always seem to be the case though. In the past, I’ve had e-books (with DRM) copied to a different PC to be DeDRMed with Calibre, and it has always worked out. This was the first instance when it failed. I’m just curious as to why the DeDRM with Calibre works for some books on a different PC, but doesn’t for others…

        Nevertheless, thanks for the prompt and valuable response!

        • Only way for DeDRM to get the key from Kindle for PC is for them to be on the same machine and user. Each installation of Kindle for PC has a different key even for the same account. You can export keys and import them into another calibre/DeDRM setup. If you have an E-ink Kindle, you can put its serial number into the plugin to DeDRM its books (or books downloaded from the website when you’ve selected that device). Of course, not all books have DRM in the first place.

  14. Hi, I need some help with an azw book:

    which tool was used: Calibre 3.29 (64bit)
    which OS you are using: Win 10 Home 64 bit
    where the ebook file came from (device or application): Kindle for PC 1.24.3 (51068)
    any error messages: File “calibre_plugins.kfx_input.init“, line 101, in convert calibre.ebooks.DRMError: This book has DRM!
    a log of the DRM-removal attempt (see the FAQs on how to get a log):
    calibre Registro de depuración
    calibre 3.29 [64bit] embedded-python: True is64bit: True
    Windows-10-10.0.17134-SP0 Windows (’64bit’, ‘WindowsPE’)
    (‘Windows’, ’10’, ‘10.0.17134’)
    Python 2.7.12+
    Windows: (’10’, ‘10.0.17134’, ‘SP0′, u’Multiprocessor Free’)
    Interface language: es
    Successfully initialized third party plugins: Gather KFX-ZIP (from KFX Input) (1, 7, 0) && DeDRM (6, 6, 1) && Package KFX (from KFX Input) (1, 7, 0) && KFX metadata reader (from KFX Input) (1, 7, 0) && KFX Input (1, 7, 0) && Find Duplicates (1, 6, 3)
    calibre 3.29 [64bit] embedded-python: True is64bit: True
    Windows-10-10.0.17134-SP0 Windows (’64bit’, ‘WindowsPE’)
    (‘Windows’, ’10’, ‘10.0.17134’)
    Python 2.7.12+
    Windows: (’10’, ‘10.0.17134’, ‘SP0′, u’Multiprocessor Free’)
    Interface language: es
    Successfully initialized third party plugins: Gather KFX-ZIP (from KFX Input) (1, 7, 0) && DeDRM (6, 6, 1) && Package KFX (from KFX Input) (1, 7, 0) && KFX metadata reader (from KFX Input) (1, 7, 0) && KFX Input (1, 7, 0) && Find Duplicates (1, 6, 3)
    Turning on automatic hidpi scaling
    devicePixelRatio: 1.0
    logicalDpi: 96.0 x 96.0
    physicalDpi: 127.664921466 x 127.590697674
    Using calibre Qt style: True
    [0.00] Starting up…
    [0.00] Showing splash screen…
    [0.08] splash screen shown
    [0.08] Initializing db…
    [0.27] db initialized
    [0.27] Constructing main UI…
    [2.42] main UI initialized…
    [2.42] Hiding splash screen
    [47.38] splash screen hidden
    [47.38] Started up in 47.38 seconds with 5947 books
    stdout+stderr from file dialog helper: [”, ”]
    piped data from file dialog helper: [‘\x84\xc6\x17X=\x8flN0\x9d\x96\\xdf\xe6\x19a\xd8V\xd6\x18\x95\x9c\x17n(\x90!\x0f\xa3\n\xef\xcc’, ‘C:\Users\David\Documents\My Kindle Content\B00TLXIB9E_EBOK\B00TLXIB9E_EBOK.azw’]
    Gather KFX-ZIP (from KFX Input) 1.7.0: Importing C:\Users\David\Documents\My Kindle Content\B00TLXIB9E_EBOK\B00TLXIB9E_EBOK.azw
    Gather KFX-ZIP (from KFX Input): Gathered 3 file(s) as C:\Users\David\AppData\Local\Temp\calibre_zepcgk\pb2c7o.kfx-zip
    DeDRM v6.6.1: Trying to decrypt pb2c7o.kfx-zip
    Using Library AlfCrypto Python
    Decrypting KFX-ZIP ebook: pb2c7o
    Found 0 keys to try after 0.0 seconds
    Decrypting KFX DRM voucher: amzn1.drm-voucher.v1.3821ed23-6b93-4111-9e3a-09ea8cf39853.voucher
    KFX DRM voucher successfully decrypted
    DeDRM v6.6.1: Failed to decrypt with error: This book is licensed as KindleUnlimited. These tools are intended for use on purchased books.
    DeDRM v6.6.1: Looking for new default Kindle Key after 0.1 seconds
    searching for kinfoFiles in C:\Users\David\AppData\Local
    Found K4PC 1.9+ kinf2011 file: C:\Users\David\AppData\Local\Amazon\Kindle\storage.kinf2011
    Decrypted key file using IDString ‘3058668715’ and UserName ‘4461766964’
    DeDRM v6.6.1: Found 1 new key
    Decrypting KFX-ZIP ebook: pb2c7o
    Got DSN key from database default_key_1
    Found 1 keys to try after 0.1 seconds
    Decrypting KFX DRM voucher: amzn1.drm-voucher.v1.3821ed23-6b93-4111-9e3a-09ea8cf39853.voucher
    KFX DRM voucher successfully decrypted
    DeDRM v6.6.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
    Running file type plugin DeDRM failed with traceback:
    Traceback (most recent call last):
    File “site-packages\calibre\customize\ui.py”, line 171, in _run_filetype_plugins
    File “calibre_plugins.dedrm.init“, line 621, in run
    File “calibre_plugins.dedrm.init“, line 571, in KindleMobiDecrypt
    DeDRMError: DeDRM v6.6.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
    Package KFX (from KFX Input) 1.7.0: Packaging C:\Users\David\AppData\Local\Temp\calibre_zepcgk\pb2c7o.kfx-zip
    Processing container: B00TLXIB9E_EBOK.azw
    Running file type plugin Package KFX (from KFX Input) failed with traceback:
    Traceback (most recent call last):
    File “site-packages\calibre\customize\ui.py”, line 171, in _run_filetype_plugins
    File “calibre_plugins.kfx_input.package_filetype”, line 22, in run
    File “calibre_plugins.kfx_input.package_filetype”, line 35, in run_kfx
    File “calibre_plugins.kfx_input.kfxlib.yj_book”, line 76, in convert_to_single_kfx
    File “calibre_plugins.kfx_input.kfxlib.yj_book”, line 149, in decode_book
    File “calibre_plugins.kfx_input.kfxlib.yj_book”, line 260, in get_container
    KFXDRMError: Book container B00TLXIB9E_EBOK.azw has DRM and cannot be converted
    KFX metadata reader (from KFX Input) activated for C:\Users\David\AppData\Local\Temp\calibre_zepcgk\4maiyf_add_books\0\B00TLXIB9E_EBOK.kfx-zip
    D:\Program Files\Calibre\app\pylib.zip\dateutil\parser.py:601: UnicodeWarning: Unicode equal comparison failed to convert both arguments to Unicode – interpreting them as being unequal
    Added La Playa de los Alemanes (Spanish Edition) to db in: 0.2
    Added 1 books in 1.0 seconds
    Worker Launch took: 0.202999830246
    Job: 1 Convertido el libro 1 de 1 (La Playa de los Alemanes (Spanish Edition)) finished
    Convertido el libro 1 de 1 (La Playa de los Alemanes (Spanish Edition))
    D:\Program Files\Calibre\app\pylib.zip\dateutil\parser.py:601: UnicodeWarning: Unicode equal comparison failed to convert both arguments to Unicode – interpreting them as being unequal
    Conversion options changed from defaults:
    output_profile: ‘generic_eink’
    read_metadata_from_opf: u’C:\Users\David\AppData\Local\Temp\calibre_zepcgk\zzfuam.opf’
    verbose: 2
    cover: u’C:\Users\David\AppData\Local\Temp\calibre_zepcgk\77imaz.jpeg’
    Resolved conversion options
    calibre version: 3.29.0
    {‘allow_conversion_with_errors’: False,
    ‘asciiize’: False,
    ‘author_sort’: None,
    ‘authors’: None,
    ‘base_font_size’: 0.0,
    ‘book_producer’: None,
    ‘change_justification’: u’original’,
    ‘chapter’: u”//*[((name()=’h1′ or name()=’h2′) and re:test(., ‘\s*((chapter|book|section|part)\s+)|((prolog|prologue|epilogue)(\s+|$))’, ‘i’)) or @class = ‘chapter’]”,
    ‘chapter_mark’: u’pagebreak’,
    ‘comments’: None,
    ‘cover’: u’C:\Users\David\AppData\Local\Temp\calibre_zepcgk\77imaz.jpeg’,
    ‘debug_pipeline’: None,
    ‘dehyphenate’: True,
    ‘delete_blank_paragraphs’: True,
    ‘disable_font_rescaling’: False,
    ‘dont_split_on_page_breaks’: False,
    ‘duplicate_links_in_toc’: False,
    ’embed_all_fonts’: False,
    ’embed_font_family’: None,
    ‘enable_heuristics’: False,
    ‘epub_flatten’: False,
    ‘epub_inline_toc’: False,
    ‘epub_toc_at_end’: False,
    ‘epub_version’: u’2′,
    ‘expand_css’: False,
    ‘extra_css’: None,
    ‘extract_to’: None,
    ‘filter_css’: u”,
    ‘fix_indents’: True,
    ‘flow_size’: 260,
    ‘font_size_mapping’: None,
    ‘format_scene_breaks’: True,
    ‘html_unwrap_factor’: 0.4,
    ‘input_encoding’: None,
    ‘input_profile’: <calibre.customize.profiles.InputProfile object at 0x00000251C2F1D898>,
    ‘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,
    ‘no_chapters_in_toc’: False,
    ‘no_default_epub_cover’: False,
    ‘no_inline_navbars’: False,
    ‘no_svg_cover’: False,
    ‘output_profile’: <calibre.customize.profiles.GenericEink object at 0x00000251C2F1DC18>,
    ‘page_breaks_before’: u’/’,
    ‘prefer_metadata_cover’: False,
    ‘preserve_cover_aspect_ratio’: False,
    ‘pretty_print’: True,
    ‘pubdate’: None,
    ‘publisher’: None,
    ‘rating’: None,
    ‘read_metadata_from_opf’: u’C:\Users\David\AppData\Local\Temp\calibre_zepcgk\zzfuam.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’: u”,
    ‘search_replace’: ‘[]’,
    ‘series’: None,
    ‘series_index’: None,
    ‘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: KFX Input running
    on C:\Users\David\AppData\Local\Temp\calibre_zepcgk\nbxyyv.kfx-zip
    Software versions: KFX Input 1.7.0, calibre 3.29 [64bit], Windows-10-10.0.17134-SP0
    KFX Input plugin help is available at https://www.mobileread.com/forums/showthread.php?t=291290
    Converting C:\Users\David\AppData\Local\Temp\calibre_zepcgk\nbxyyv.kfx-zip
    Processing container: B00TLXIB9E_EBOK.azw
    Traceback (most recent call last):
    File “calibre_plugins.kfx_input.init“, line 98, in convert
    File “calibre_plugins.kfx_input.init“, line 198, in convert_from_kfx
    File “calibre_plugins.kfx_input.kfxlib.yj_book”, line 95, in convert_to_epub
    File “calibre_plugins.kfx_input.kfxlib.yj_book”, line 149, in decode_book
    File “calibre_plugins.kfx_input.kfxlib.yj_book”, line 260, in get_container
    KFXDRMError: Book container B00TLXIB9E_EBOK.azw has DRM and cannot be converted
    Python function terminated unexpectedly
    This book has DRM! (Error Code: 1)
    Traceback (most recent call last):
    File “site.py”, line 101, in main
    File “site.py”, line 78, in run_entry_point
    File “site-packages\calibre\utils\ipc\worker.py”, line 195, in main
    File “site-packages\calibre\gui2\convert\gui_conversion.py”, line 33, in gui_convert_override
    File “site-packages\calibre\gui2\convert\gui_conversion.py”, line 26, in gui_convert
    File “site-packages\calibre\ebooks\conversion\plumber.py”, line 1106, in run
    File “site-packages\calibre\customize\conversion.py”, line 246, in call
    File “calibre_plugins.kfx_input.init“, line 101, in convert
    calibre.ebooks.DRMError: This book has DRM!
    Thanks

  15. Absolutely first rate. I very much appreciate the continued effort to make DeDRM available and so simple to use. Many thanks

  16. Can anyone help me with this error? Thanks in advance:

    calibre, version 2.21.0 (win32, isfrozen: True)
    Conversion Error: Failed: Convert book 1 of 1 (B0787M53ZS EBOK)

    Convert book 1 of 1 (B0787M53ZS EBOK)
    Resolved conversion options
    calibre version: 2.21.0
    {‘asciiize’: False,
    ‘author_sort’: None,
    ‘authors’: None,
    ‘base_font_size’: 0.0,
    ‘book_producer’: None,
    ‘change_justification’: u’original’,
    ‘chapter’: u”//[((name()=’h1′ or name()=’h2′) and re:test(., ‘\s((chapter|book|section|part)\s+)|((prolog|prologue|epilogue)(\s+|$))’, ‘i’)) or @class = ‘chapter’]”,
    ‘chapter_mark’: u’pagebreak’,
    ‘comments’: None,
    ‘cover’: None,
    ‘custom_size’: None,
    ‘debug_pipeline’: None,
    ‘dehyphenate’: True,
    ‘delete_blank_paragraphs’: True,
    ‘disable_font_rescaling’: False,
    ‘duplicate_links_in_toc’: False,
    ’embed_all_fonts’: False,
    ’embed_font_family’: None,
    ‘enable_heuristics’: False,
    ‘expand_css’: False,
    ‘extra_css’: None,
    ‘filter_css’: u”,
    ‘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 0x0000000005324400>,
    ‘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,
    ‘no_chapters_in_toc’: False,
    ‘no_inline_navbars’: False,
    ‘old_pdf_engine’: False,
    ‘output_profile’: <calibre.customize.profiles.OutputProfile object at 0x0000000005324748>,
    ‘override_profile_size’: False,
    ‘page_breaks_before’: u”//*[name()=’h1′ or name()=’h2′]”,
    ‘paper_size’: u’letter’,
    ‘pdf_add_toc’: False,
    ‘pdf_default_font_size’: 20,
    ‘pdf_footer_template’: None,
    ‘pdf_header_template’: None,
    ‘pdf_mark_links’: False,
    ‘pdf_mono_family’: u’Courier New’,
    ‘pdf_mono_font_size’: 16,
    ‘pdf_page_numbers’: False,
    ‘pdf_sans_family’: u’Arial’,
    ‘pdf_serif_family’: u’Times New Roman’,
    ‘pdf_standard_font’: u’serif’,
    ‘prefer_metadata_cover’: False,
    ‘preserve_cover_aspect_ratio’: False,
    ‘pretty_print’: False,
    ‘pubdate’: None,
    ‘publisher’: None,
    ‘rating’: None,
    ‘read_metadata_from_opf’: u’C:\Users\Winnie\AppData\Local\Temp\calibre_dyg0hz\yuofga.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’: u”,
    ‘search_replace’: ‘[]’,
    ‘series’: None,
    ‘series_index’: None,
    ‘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,
    ‘uncompressed_pdf’: False,
    ‘unit’: u’inch’,
    ‘unsmarten_punctuation’: False,
    ‘unwrap_lines’: True,
    ‘use_auto_toc’: False,
    ‘verbose’: 2}
    InputFormatPlugin: MOBI Input running
    on C:\Users\Winnie\AppData\Local\Temp\calibre_dyg0hz\etnp9f.azw
    Python function terminated unexpectedly
    Unknown book type: ‘\x81\xc4\xde\x02\x9d\x8c#\x01’ (Error Code: 1)
    Traceback (most recent call last):
    File “site.py”, line 132, in main
    File “site.py”, line 109, in run_entry_point
    File “site-packages\calibre\utils\ipc\worker.py”, line 193, in main
    File “site-packages\calibre\gui2\convert\gui_conversion.py”, line 31, in gui_convert_override
    File “site-packages\calibre\gui2\convert\gui_conversion.py”, line 25, in gui_convert
    File “site-packages\calibre\ebooks\conversion\plumber.py”, line 1041, in run
    File “site-packages\calibre\customize\conversion.py”, line 241, in call
    File “site-packages\calibre\ebooks\conversion\plugins\mobi_input.py”, line 33, in convert
    File “site-packages\calibre\ebooks\mobi\reader\mobi6.py”, line 78, in init
    calibre.ebooks.mobi.MobiError: Unknown book type: ‘\x81\xc4\xde\x02\x9d\x8c#\x01’

  17. I rented a text book from Kindle (not 7 day trial) for my semester. Im trying to convert it to a PDF file as I find it easier to use for my class but I keep running into the DRM error, Is even possible to use DeDRM and the other plugins mentioned above to remove the DRM on a rented book?
    When import into calibre then try to cover I get a pop-up window that says that the booked is locked by DRM.
    Tried it with 2 different files. One came from PC for Kindle (AZW) and the other I downloaded from Amazon to transfer via USB which was an AZW4 and neither worked.
    OS: Windows 10
    Log
    Convert book 1 of 1 (Global Americans, Volume 2)
    Conversion options changed from defaults:
    verbose: 2
    read_metadata_from_opf: u’C:\Users\Josue\AppData\Local\Temp\calibre_8uv2bq\nalwox.opf’
    cover: u’C:\Users\Josue\AppData\Local\Temp\calibre_8uv2bq\e4e5hk.jpeg’
    output_profile: ‘generic_eink’
    Resolved conversion options
    calibre version: 3.30.0
    {‘asciiize’: False,
    ‘author_sort’: None,
    ‘authors’: None,
    ‘base_font_size’: 0.0,
    ‘book_producer’: None,
    ‘change_justification’: u’original’,
    ‘chapter’: u”//[((name()=’h1′ or name()=’h2′) and re:test(., ‘\s((chapter|book|section|part)\s+)|((prolog|prologue|epilogue)(\s+|$))’, ‘i’)) or @class = ‘chapter’]”,
    ‘chapter_mark’: u’pagebreak’,
    ‘comments’: None,
    ‘cover’: u’C:\Users\Josue\AppData\Local\Temp\calibre_8uv2bq\e4e5hk.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’: u”,
    ‘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 0x05207310>,
    ‘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 0x05207510>,
    ‘page_breaks_before’: u”//*[name()=’h1′ or name()=’h2′]”,
    ‘prefer_author_sort’: False,
    ‘prefer_metadata_cover’: False,
    ‘pretty_print’: False,
    ‘pubdate’: None,
    ‘publisher’: None,
    ‘rating’: None,
    ‘read_metadata_from_opf’: u’C:\Users\Josue\AppData\Local\Temp\calibre_8uv2bq\nalwox.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’: u”,
    ‘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: MOBI Input running
    on C:\Users\Josue\AppData\Local\Temp\calibre_8uv2bq\etxonc.azw
    Python function terminated unexpectedly
    Global Americans, Volume 2 (Error Code: 1)
    Traceback (most recent call last):
    File “site.py”, line 101, in main
    File “site.py”, line 78, in run_entry_point
    File “site-packages\calibre\utils\ipc\worker.py”, line 195, in main
    File “site-packages\calibre\gui2\convert\gui_conversion.py”, line 33, in gui_convert_override
    File “site-packages\calibre\gui2\convert\gui_conversion.py”, line 26, in gui_convert
    File “site-packages\calibre\ebooks\conversion\plumber.py”, line 1106, in run
    File “site-packages\calibre\customize\conversion.py”, line 246, in call
    File “site-packages\calibre\ebooks\conversion\plugins\mobi_input.py”, line 37, in convert
    File “site-packages\calibre\ebooks\mobi\reader\mobi6.py”, line 161, in extract_content
    File “site-packages\calibre\ebooks\mobi\reader\mobi6.py”, line 157, in check_for_drm
    calibre.ebooks.DRMError: Global Americans, Volume 2

    Thanks for any help in advance.

  18. I apologize for my previous post. I wrote all out and only a period posted. Lets try this again.

    I rented a text book (not 7 day trial) from Kindle for my semester. But I have always found it easier for me to use a book in PDF format. I have tried to remove the DRM on 2 different files of this same book. First file was from Kindle 1.24.3 (Kindle for PC) and file came as a .azw. The second one I download from Amazon to transfer via USB and that file was a .azw4.
    Using the last version of calibre with DeDRM 6.6.1, KFX input and output, KindleUnpack on Windows 10.
    Erroe Message; Cannot covert “Book” … This book is locked by DRM

    This first log is from my My Kindle Content in my PC:

    Convert book 1 of 1 (Global Americans, Volume 2)
    Conversion options changed from defaults:
    output_profile: ‘generic_eink’
    verbose: 2
    read_metadata_from_opf: u’C:\Users\Josue\AppData\Local\Temp\calibre_vz19qv\mhuppq.opf’
    cover: u’C:\Users\Josue\AppData\Local\Temp\calibre_vz19qv\yontnh.jpeg’
    Resolved conversion options
    calibre version: 3.30.0
    {‘asciiize’: False,
    ‘author_sort’: None,
    ‘authors’: None,
    ‘base_font_size’: 0.0,
    ‘book_producer’: None,
    ‘change_justification’: u’original’,
    ‘chapter’: u”//[((name()=’h1′ or name()=’h2′) and re:test(., ‘\s((chapter|book|section|part)\s+)|((prolog|prologue|epilogue)(\s+|$))’, ‘i’)) or @class = ‘chapter’]”,
    ‘chapter_mark’: u’pagebreak’,
    ‘comments’: None,
    ‘cover’: u’C:\Users\Josue\AppData\Local\Temp\calibre_vz19qv\yontnh.jpeg’,
    ‘custom_size’: None,
    ‘debug_pipeline’: None,
    ‘dehyphenate’: True,
    ‘delete_blank_paragraphs’: True,
    ‘disable_font_rescaling’: False,
    ‘duplicate_links_in_toc’: False,
    ’embed_all_fonts’: False,
    ’embed_font_family’: None,
    ‘enable_heuristics’: False,
    ‘expand_css’: False,
    ‘extra_css’: None,
    ‘filter_css’: u”,
    ‘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 0x053D2370>,
    ‘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,
    ‘no_chapters_in_toc’: False,
    ‘no_inline_navbars’: False,
    ‘output_profile’: <calibre.customize.profiles.GenericEink object at 0x053D2570>,
    ‘page_breaks_before’: u”//*[name()=’h1′ or name()=’h2′]”,
    ‘paper_size’: u’letter’,
    ‘pdf_add_toc’: False,
    ‘pdf_default_font_size’: 20,
    ‘pdf_footer_template’: None,
    ‘pdf_header_template’: None,
    ‘pdf_hyphenate’: False,
    ‘pdf_mark_links’: False,
    ‘pdf_mono_family’: u’Liberation Mono’,
    ‘pdf_mono_font_size’: 16,
    ‘pdf_page_margin_bottom’: 72.0,
    ‘pdf_page_margin_left’: 72.0,
    ‘pdf_page_margin_right’: 72.0,
    ‘pdf_page_margin_top’: 72.0,
    ‘pdf_page_numbers’: False,
    ‘pdf_sans_family’: u’Liberation Sans’,
    ‘pdf_serif_family’: u’Liberation Serif’,
    ‘pdf_standard_font’: u’serif’,
    ‘pdf_use_document_margins’: False,
    ‘prefer_metadata_cover’: False,
    ‘preserve_cover_aspect_ratio’: False,
    ‘pretty_print’: False,
    ‘pubdate’: None,
    ‘publisher’: None,
    ‘rating’: None,
    ‘read_metadata_from_opf’: u’C:\Users\Josue\AppData\Local\Temp\calibre_vz19qv\mhuppq.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’: u”,
    ‘search_replace’: ‘[]’,
    ‘series’: None,
    ‘series_index’: None,
    ‘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’: ‘[]’,
    ‘uncompressed_pdf’: False,
    ‘unit’: u’inch’,
    ‘unsmarten_punctuation’: False,
    ‘unwrap_lines’: True,
    ‘use_auto_toc’: False,
    ‘use_profile_size’: False,
    ‘verbose’: 2}
    InputFormatPlugin: MOBI Input running
    on C:\Users\Josue\AppData\Local\Temp\calibre_vz19qv\sc9vt8.azw
    Python function terminated unexpectedly
    Global Americans, Volume 2 (Error Code: 1)
    Traceback (most recent call last):
    File “site.py”, line 101, in main
    File “site.py”, line 78, in run_entry_point
    File “site-packages\calibre\utils\ipc\worker.py”, line 195, in main
    File “site-packages\calibre\gui2\convert\gui_conversion.py”, line 33, in gui_convert_override
    File “site-packages\calibre\gui2\convert\gui_conversion.py”, line 26, in gui_convert
    File “site-packages\calibre\ebooks\conversion\plumber.py”, line 1106, in run
    File “site-packages\calibre\customize\conversion.py”, line 246, in call
    File “site-packages\calibre\ebooks\conversion\plugins\mobi_input.py”, line 37, in convert
    File “site-packages\calibre\ebooks\mobi\reader\mobi6.py”, line 161, in extract_content
    File “site-packages\calibre\ebooks\mobi\reader\mobi6.py”, line 157, in check_for_drm
    calibre.ebooks.DRMError: Global Americans, Volume 2

    • This second log is from the file I downloaded from Amazon to transfer via USB (azw4).
      Question can DRM even be removed on these rented books??

      Error Message: Conversion Error
      Failed: Convert 1 of 1 (Book Name)

      Convert book 1 of 1 (Global Americans, Volume 2)
      Conversion options changed from defaults:
      output_profile: ‘generic_eink’
      verbose: 2
      read_metadata_from_opf: u’C:\Users\Josue\AppData\Local\Temp\calibre_vz19qv\esdghs.opf’
      cover: u’C:\Users\Josue\AppData\Local\Temp\calibre_vz19qv\gza_3n.jpeg’
      Resolved conversion options
      calibre version: 3.30.0
      {‘asciiize’: False,
      ‘author_sort’: None,
      ‘authors’: None,
      ‘base_font_size’: 0.0,
      ‘book_producer’: None,
      ‘change_justification’: u’original’,
      ‘chapter’: u”//[((name()=’h1′ or name()=’h2′) and re:test(., ‘\s((chapter|book|section|part)\s+)|((prolog|prologue|epilogue)(\s+|$))’, ‘i’)) or @class = ‘chapter’]”,
      ‘chapter_mark’: u’pagebreak’,
      ‘comments’: None,
      ‘cover’: u’C:\Users\Josue\AppData\Local\Temp\calibre_vz19qv\gza_3n.jpeg’,
      ‘custom_size’: None,
      ‘debug_pipeline’: None,
      ‘dehyphenate’: True,
      ‘delete_blank_paragraphs’: True,
      ‘disable_font_rescaling’: False,
      ‘duplicate_links_in_toc’: False,
      ’embed_all_fonts’: False,
      ’embed_font_family’: None,
      ‘enable_heuristics’: False,
      ‘expand_css’: False,
      ‘extra_css’: None,
      ‘filter_css’: u”,
      ‘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 0x05C2E370>,
      ‘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,
      ‘no_chapters_in_toc’: False,
      ‘no_inline_navbars’: False,
      ‘output_profile’: <calibre.customize.profiles.GenericEink object at 0x05C2E570>,
      ‘page_breaks_before’: u”//*[name()=’h1′ or name()=’h2′]”,
      ‘paper_size’: u’letter’,
      ‘pdf_add_toc’: False,
      ‘pdf_default_font_size’: 20,
      ‘pdf_footer_template’: None,
      ‘pdf_header_template’: None,
      ‘pdf_hyphenate’: False,
      ‘pdf_mark_links’: False,
      ‘pdf_mono_family’: u’Liberation Mono’,
      ‘pdf_mono_font_size’: 16,
      ‘pdf_page_margin_bottom’: 72.0,
      ‘pdf_page_margin_left’: 72.0,
      ‘pdf_page_margin_right’: 72.0,
      ‘pdf_page_margin_top’: 72.0,
      ‘pdf_page_numbers’: False,
      ‘pdf_sans_family’: u’Liberation Sans’,
      ‘pdf_serif_family’: u’Liberation Serif’,
      ‘pdf_standard_font’: u’serif’,
      ‘pdf_use_document_margins’: False,
      ‘prefer_metadata_cover’: False,
      ‘preserve_cover_aspect_ratio’: False,
      ‘pretty_print’: False,
      ‘pubdate’: None,
      ‘publisher’: None,
      ‘rating’: None,
      ‘read_metadata_from_opf’: u’C:\Users\Josue\AppData\Local\Temp\calibre_vz19qv\esdghs.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’: u”,
      ‘search_replace’: ‘[]’,
      ‘series’: None,
      ‘series_index’: None,
      ‘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’: ‘[]’,
      ‘uncompressed_pdf’: False,
      ‘unit’: u’inch’,
      ‘unsmarten_punctuation’: False,
      ‘unwrap_lines’: True,
      ‘use_auto_toc’: False,
      ‘use_profile_size’: False,
      ‘verbose’: 2}
      Python function terminated unexpectedly
      No embedded PDF found in AZW4 file (Error Code: 1)
      Traceback (most recent call last):
      File “site.py”, line 101, in main
      File “site.py”, line 78, in run_entry_point
      File “site-packages\calibre\utils\ipc\worker.py”, line 195, in main
      File “site-packages\calibre\gui2\convert\gui_conversion.py”, line 33, in gui_convert_override
      File “site-packages\calibre\gui2\convert\gui_conversion.py”, line 26, in gui_convert
      File “site-packages\calibre\ebooks\conversion\plumber.py”, line 1091, in run
      File “site-packages\calibre\ebooks\azw4\reader.py”, line 24, in unwrap
      ValueError: No embedded PDF found in AZW4 file

  19. Thanks for sharing this plugin with detailed instructions! I installed the deDRM plugin but it is not working for one of my Kindle books. The book was purchased frmo Amazon and downloaded to the Kindle app. I followed the debug instructions and here is my log:

    calibre Debug log
    calibre 2.71 embedded-python: True is64bit: True
    Darwin-17.7.0-x86_64-i386-64bit Darwin (’64bit’, ”)
    (‘Darwin’, ‘17.7.0’, ‘Darwin Kernel Version 17.7.0: Thu Jun 21 22:53:14 PDT 2018; root:xnu-4570.71.2~1/RELEASE_X86_64’)
    Python 2.7.11
    OSX: (‘10.13.6’, (”, ”, ”), ‘x86_64′)
    Successfully initialized third party plugins: DeDRM (6, 6, 1)
    devicePixelRatio: 2.0
    logicalDpi: 72.0 x 72.0
    physicalDpi: 110.50000166 x 110.50000166
    Starting up…
    Started up in 1.42 seconds with 16 books
    objc[58802]: Class FIFinderSyncExtensionHost is implemented in both /System/Library/PrivateFrameworks/FinderKit.framework/Versions/A/FinderKit (0x7fffab6c6c90) and /System/Library/PrivateFrameworks/FileProvider.framework/OverrideBundles/FinderSyncCollaborationFileProviderOverride.bundle/Contents/MacOS/FinderSyncCollaborationFileProviderOverride (0x10336acd8). One of the two will be used. Which one is undefined.
    DeDRM v6.6.1: Trying to decrypt B00XIH2FF0_EBOK.azw
    Using Library AlfCrypto DLL/DYLIB/SO
    MobiDeDrm v0.42.
    Copyright © 2008-2017 The Dark Reverser, Apprentice Harper et al.
    Decrypting Mobipocket 4 ebook: Framework for Marketing Management
    Got DSN key from database default_key
    Found 4 keys to try after 0.1 seconds
    Crypto Type is: 2
    DeDRM v6.6.1: Failed to decrypt with error: Cannot decode library or rented ebooks.
    DeDRM v6.6.1: Looking for new default Kindle Key after 0.1 seconds
    Found k4Mac kinf2011 file: /Users/gracecameron/Library/Containers/com.amazon.Kindle/Data/Library/Application Support/Kindle/storage/.kinf2011
    Decrypted key file using IDString ’01fbc51f7406’ and UserName ‘gracecameron’
    DeDRM v6.6.1: Ultimately failed to decrypt after 0.5 seconds. Read the FAQs at Harper’s repository: https://github.com/apprenticeharper/DeDRM_tools/blob/master/FAQs.md
    Running file type plugin DeDRM failed with traceback:
    Traceback (most recent call last):
    File “site-packages/calibre/customize/ui.py”, line 161, in _run_filetype_plugins
    File “calibre_plugins.dedrm.init“, line 621, in run
    File “calibre_plugins.dedrm.init“, line 571, in KindleMobiDecrypt
    DeDRMError: DeDRM v6.6.1: Ultimately failed to decrypt after 0.5 seconds. Read the FAQs at Harper’s repository: https://github.com/apprenticeharper/DeDRM_tools/blob/master/FAQs.md
    Added Framework for Marketing Management to db in: 0.0
    Added 1 books in 1.0 seconds

    Thanks!!

  20. Can’t get a purchased azw4 to convert to any format… downloaded from amazon to kindle for PC. Thoughts?

    calibre, version 3.30.0 (win32, embedded-python: True)
    Conversion error: Failed: Convert book 1 of 1 (Fundamentals of Anatomy & Physiology: Fundam Anatom Phys ePub _11)

    Convert book 1 of 1 (Fundamentals of Anatomy & Physiology: Fundam Anatom Phys ePub _11)
    Conversion options changed from defaults:
    verbose: 2
    read_metadata_from_opf: u’C:\Users\m\AppData\Local\Temp\calibre_ettxnd\ex3j6g.opf’
    output_profile: ‘kindle’
    cover: u’C:\Users\m\AppData\Local\Temp\calibre_ettxnd\chmx9r.jpeg’
    Resolved conversion options
    calibre version: 3.30.0
    {‘asciiize’: False,
    ‘author_sort’: None,
    ‘authors’: None,
    ‘base_font_size’: 0.0,
    ‘book_producer’: None,
    ‘change_justification’: u’original’,
    ‘chapter’: u”//*[((name()=’h1′ or name()=’h2′) and re:test(., ‘\s*((chapter|book|section|part)\s+)|((prolog|prologue|epilogue)(\s+|$))’, ‘i’)) or @class = ‘chapter’]”,
    ‘chapter_mark’: u’pagebreak’,
    ‘comments’: None,
    ‘cover’: u’C:\Users\m\AppData\Local\Temp\calibre_ettxnd\chmx9r.jpeg’,
    ‘custom_size’: None,
    ‘debug_pipeline’: None,
    ‘dehyphenate’: True,
    ‘delete_blank_paragraphs’: True,
    ‘disable_font_rescaling’: False,
    ‘duplicate_links_in_toc’: False,
    ’embed_all_fonts’: False,
    ’embed_font_family’: None,
    ‘enable_heuristics’: False,
    ‘expand_css’: False,
    ‘extra_css’: None,
    ‘filter_css’: u”,
    ‘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 0x000001DE401C8F98>,
    ‘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,
    ‘no_chapters_in_toc’: False,
    ‘no_inline_navbars’: False,
    ‘output_profile’: <calibre.customize.profiles.KindleOutput object at 0x000001DE401D25C0>,
    ‘page_breaks_before’: u”//*[name()=’h1′ or name()=’h2′]”,
    ‘paper_size’: u’letter’,
    ‘pdf_add_toc’: False,
    ‘pdf_default_font_size’: 20,
    ‘pdf_footer_template’: None,
    ‘pdf_header_template’: None,
    ‘pdf_hyphenate’: False,
    ‘pdf_mark_links’: False,
    ‘pdf_mono_family’: u’Liberation Mono’,
    ‘pdf_mono_font_size’: 16,
    ‘pdf_page_margin_bottom’: 72.0,
    ‘pdf_page_margin_left’: 72.0,
    ‘pdf_page_margin_right’: 72.0,
    ‘pdf_page_margin_top’: 72.0,
    ‘pdf_page_numbers’: False,
    ‘pdf_sans_family’: u’Liberation Sans’,
    ‘pdf_serif_family’: u’Liberation Serif’,
    ‘pdf_standard_font’: u’serif’,
    ‘pdf_use_document_margins’: False,
    ‘prefer_metadata_cover’: False,
    ‘preserve_cover_aspect_ratio’: False,
    ‘pretty_print’: False,
    ‘pubdate’: None,
    ‘publisher’: None,
    ‘rating’: None,
    ‘read_metadata_from_opf’: u’C:\Users\m\AppData\Local\Temp\calibre_ettxnd\ex3j6g.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’: u”,
    ‘search_replace’: ‘[]’,
    ‘series’: None,
    ‘series_index’: None,
    ‘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’: ‘[]’,
    ‘uncompressed_pdf’: False,
    ‘unit’: u’inch’,
    ‘unsmarten_punctuation’: False,
    ‘unwrap_lines’: True,
    ‘use_auto_toc’: False,
    ‘use_profile_size’: False,
    ‘verbose’: 2}
    Python function terminated unexpectedly
    No embedded PDF found in AZW4 file (Error Code: 1)
    Traceback (most recent call last):
    File “site.py”, line 101, in main
    File “site.py”, line 78, in run_entry_point
    File “site-packages\calibre\utils\ipc\worker.py”, line 195, in main
    File “site-packages\calibre\gui2\convert\gui_conversion.py”, line 33, in gui_convert_override
    File “site-packages\calibre\gui2\convert\gui_conversion.py”, line 26, in gui_convert
    File “site-packages\calibre\ebooks\conversion\plumber.py”, line 1091, in run
    File “site-packages\calibre\ebooks\azw4\reader.py”, line 24, in unwrap
    ValueError: No embedded PDF found in AZW4 file

      • calibre Debug log
        calibre 3.30 [64bit] embedded-python: True is64bit: True
        Windows-10-10.0.17134-SP0 Windows (’64bit’, ‘WindowsPE’)
        (‘Windows’, ’10’, ‘10.0.17134’)
        Python 2.7.12+
        Windows: (’10’, ‘10.0.17134’, ‘SP0′, u’Multiprocessor Free’)
        Interface language: None
        Successfully initialized third party plugins: Gather KFX-ZIP (from KFX Input) (1, 8, 0) && DeDRM (6, 6, 1) && Package KFX (from KFX Input) (1, 8, 0) && KFX metadata reader (from KFX Input) (1, 8, 0) && KFX Input (1, 8, 0) && KindleUnpack – The Plugin (0, 81, 5) && Set KFX metadata (from KFX Output) (1, 22, 0) && KFX Output (1, 22, 0)
        calibre 3.30 [64bit] embedded-python: True is64bit: True
        Windows-10-10.0.17134-SP0 Windows (’64bit’, ‘WindowsPE’)
        (‘Windows’, ’10’, ‘10.0.17134’)
        Python 2.7.12+
        Windows: (’10’, ‘10.0.17134’, ‘SP0′, u’Multiprocessor Free’)
        Interface language: None
        Successfully initialized third party plugins: Gather KFX-ZIP (from KFX Input) (1, 8, 0) && DeDRM (6, 6, 1) && Package KFX (from KFX Input) (1, 8, 0) && KFX metadata reader (from KFX Input) (1, 8, 0) && KFX Input (1, 8, 0) && KindleUnpack – The Plugin (0, 81, 5) && Set KFX metadata (from KFX Output) (1, 22, 0) && KFX Output (1, 22, 0)
        Turning on automatic hidpi scaling
        devicePixelRatio: 1.0
        logicalDpi: 106.0 x 106.0
        physicalDpi: 135.5328125 x 135.466666667
        Using calibre Qt style: True
        [0.00] Starting up…
        [0.00] Showing splash screen…
        [0.14] splash screen shown
        [0.14] Initializing db…
        [0.16] db initialized
        [0.16] Constructing main UI…
        [2.67] main UI initialized…
        [2.67] Hiding splash screen
        Failed to check for calibre update: [Errno 11001] getaddrinfo failed
        Failed to check for plugin update: [Errno 11001] getaddrinfo failed
        [71.61] splash screen hidden
        [71.61] Started up in 71.61 seconds with 1 books
        stdout+stderr from file dialog helper: [”, ”]
        piped data from file dialog helper: [‘\xa5\xdekhu\x8c\xe6\x1c\xa6\xff\xf7I^q\xec\xeb\x80|\x84\x1e\xdb\xb9\xbeS\x83_f\xb2\xe2~y3’, ‘C:\Users\m\Documents\My Kindle Content\Fundamentals of Anatomy & Physi – Frederic H. Martini.azw4’]
        DeDRM v6.6.1: Trying to decrypt Fundamentals of Anatomy & Physi – Frederic H. Martini.azw4
        Running file type plugin DeDRM failed with traceback:
        Traceback (most recent call last):
        File “site-packages\calibre\customize\ui.py”, line 171, in _run_filetype_plugins
        File “calibre_plugins.dummy1.init“, line 621, in run
        File “calibre_plugins.dummy1.init“, line 514, in KindleMobiDecrypt
        ImportError: No module named dedrm.prefs
        Added Fundamentals of Anatomy & Physiology: Fundam Anatom Phys ePub _11 to db in: 0.9
        Added 1 books in 1.8 seconds

  21. I have around 400 books in my kindle library that i’m trying to import into Calibre. Only 90 are coming up with Titles and Covers. But I have files for all 400 in my kindle content folder. Help!

  22. I am trying to add a book from my android phone but its not getting converted to kfx from kfx-zip. Pls help me. Also pls tell how can I get serial key file for my android, Thanks

    calibre Debug log
    calibre 3.30 embedded-python: True is64bit: False
    Windows-7-6.1.7600-SP0 Windows (’32bit’, ‘WindowsPE’)
    32bit process running on 64bit windows
    (‘Windows’, ‘7’, ‘6.1.7600’)
    Python 2.7.12+
    Windows: (‘7’, ‘6.1.7600’, ‘SP0′, u’Multiprocessor Free’)
    Interface language: None
    Successfully initialized third party plugins: Gather KFX-ZIP (from KFX Input) (1, 8, 0) && DeDRM (6, 6, 1) && Package KFX (from KFX Input) (1, 8, 0) && KFX metadata reader (from KFX Input) (1, 8, 0) && KFX Input (1, 8, 0)
    calibre 3.30 embedded-python: True is64bit: False
    Windows-7-6.1.7600-SP0 Windows (’32bit’, ‘WindowsPE’)
    32bit process running on 64bit windows
    (‘Windows’, ‘7’, ‘6.1.7600’)
    Python 2.7.12+
    Windows: (‘7’, ‘6.1.7600’, ‘SP0′, u’Multiprocessor Free’)
    Interface language: None
    Successfully initialized third party plugins: Gather KFX-ZIP (from KFX Input) (1, 8, 0) && DeDRM (6, 6, 1) && Package KFX (from KFX Input) (1, 8, 0) && KFX metadata reader (from KFX Input) (1, 8, 0) && KFX Input (1, 8, 0)
    Turning on automatic hidpi scaling
    devicePixelRatio: 1.0
    logicalDpi: 96.0 x 96.0
    physicalDpi: 71.9842323651 x 71.9822878229
    Using calibre Qt style: True
    [0.00] Starting up…
    [0.01] Showing splash screen…
    [0.16] splash screen shown
    [0.16] Initializing db…
    [0.20] db initialized
    [0.20] Constructing main UI…
    [3.46] main UI initialized…
    [3.46] Hiding splash screen
    [6.44] splash screen hidden
    [6.44] Started up in 6.44 seconds with 19 books
    DeDRM v6.6.1: Trying to decrypt B078XTPQ5J.kfx-zip
    Using Library AlfCrypto Python
    Decrypting KFX-ZIP ebook: B078XTPQ5J
    Got DSN key from database default_key
    Found 1 keys to try after 0.2 seconds
    Decrypting KFX DRM voucher: B078XTPQ5J/amzn1.drm-voucher.v1.e8b20056-e15f-40ef-8162-d038d4308b9b.ast
    DeDRM v6.6.1: Failed to decrypt with error: Failed to decrypt KFX DRM voucher with any key
    DeDRM v6.6.1: Looking for new default Kindle Key after 0.2 seconds
    searching for kinfoFiles in C:\Users\Sai\AppData\Local
    Found K4PC 1.9+ kinf2011 file: C:\Users\Sai\AppData\Local\Amazon\Kindle\storage.kinf2011
    Decrypted key file using IDString ‘747142810’ and UserName ‘536169’
    DeDRM v6.6.1: Found 1 new key
    Decrypting KFX-ZIP ebook: B078XTPQ5J
    Got DSN key from database default_key_1
    Found 1 keys to try after 0.5 seconds
    Decrypting KFX DRM voucher: B078XTPQ5J/amzn1.drm-voucher.v1.e8b20056-e15f-40ef-8162-d038d4308b9b.ast
    DeDRM v6.6.1: Ultimately failed to decrypt after 0.5 seconds. Read the FAQs at Harper’s repository: https://github.com/apprenticeharper/DeDRM_tools/blob/master/FAQs.md
    Running file type plugin DeDRM failed with traceback:
    Traceback (most recent call last):
    File “site-packages\calibre\customize\ui.py”, line 171, in _run_filetype_plugins
    File “calibre_plugins.dedrm.init“, line 621, in run
    File “calibre_plugins.dedrm.init“, line 571, in KindleMobiDecrypt
    DeDRMError: DeDRM v6.6.1: Ultimately failed to decrypt after 0.5 seconds. Read the FAQs at Harper’s repository: https://github.com/apprenticeharper/DeDRM_tools/blob/master/FAQs.md
    Package KFX (from KFX Input) 1.8.0: Packaging C:/Users/Sai/Desktop/New folder (2)/B078XTPQ5J.kfx-zip
    Processing container: B078XTPQ5J/CR!CVC1YT8TZ528FBKWZJ829NE28H6T.kfx
    Processing container: B078XTPQ5J/CR!EN35KZGPFH27XAPVNKCXJD5WH4TZ.kfx
    Processing container: B078XTPQ5J/CR!HD8YBMP5E52JH9XHCP4M13JEFBTC.kfx
    Running file type plugin Package KFX (from KFX Input) failed with traceback:
    Traceback (most recent call last):
    File “site-packages\calibre\customize\ui.py”, line 171, in _run_filetype_plugins
    File “calibre_plugins.kfx_input.package_filetype”, line 22, in run
    File “calibre_plugins.kfx_input.package_filetype”, line 35, in run_kfx
    File “calibre_plugins.kfx_input.kfxlib.yj_book”, line 76, in convert_to_single_kfx
    File “calibre_plugins.kfx_input.kfxlib.yj_book”, line 149, in decode_book
    File “calibre_plugins.kfx_input.kfxlib.yj_book”, line 260, in get_container
    KFXDRMError: Book container B078XTPQ5J/CR!HD8YBMP5E52JH9XHCP4M13JEFBTC.kfx has DRM and cannot be converted
    KFX metadata reader (from KFX Input) activated for C:/Users/Sai/Desktop/New folder (2)/B078XTPQ5J.kfx-zip
    Added VARSHA (Marathi Edition) to db in: 2.1
    Added 1 books in 5.0 seconds

  23. Hi,
    I would like to report a little BUG.
    An error arises when importing books with the name longer than 196 chars plus extension.
    Till 195 chars Calibre works properly.
    Anyway thanks a lot for your PlugIn!

  24. Question about the recent DeDRM release v6.6.1: Scanning the release zip through virustotal online scanner (https://www.virustotal.com/#/file/e0ac634fd4252a728acfc3e5b03c37999c90e2b8eaaf075925cb0ce29f3e7cdd/detection), it shows an “unsafe hit”. This may be a false positive, but one thing that is different from other things I’ve seen scanned is that under the behavior tab for the zip, there is a reported network communication observed from the files to time-osx.g.aaplimg.com (17.253.20.253) when executed (https://www.virustotal.com/#/file/e0ac634fd4252a728acfc3e5b03c37999c90e2b8eaaf075925cb0ce29f3e7cdd/behavior). Grepping for this domain name and IP (“grep -rnw . -e aaplimg”) in the source files from github could not find anything. Can anyone explain what this is about?

      • I see, thanks.
        Looking into it a bit more, time.apple.com appears to be a time server that can be used to sync time (based on this https://discussions.apple.com/thread/7507510 and this https://discussions.apple.com/thread/3322456).
        I guess my main question is: What is this communication being used for in the DeDRM program? From an outsider perspective I don’t see why it would need to sync with some remote time server in the course of processing / removing DRM stuff.
        Just concerned about putting anything on my machine whose remote communications get flagged by virustotal (IDK if it’s common, but I rarely ever see that).

          • Would you mind explaining a bit more where you think the communication is coming from and your opinion on it?

            Have never used AppleScript, but looking into what a droplet is a bit more (https://www.safaribooksonline.com/library/view/applescript-the-definitive/0596005571/ch04s06.html), I could not resolve the definition (basically an AppleScript applet that can handle things being drag-and-dropped onto its file icon) with what you were saying. Ie. I don’t fully get why the DeDRM program would need an applet that makes any remote communications (eg. to the time server) (unless such a droplet is something that is included into applescripts automatically when using the ScriptEditor).

            Are you saying that this particular binary making the time server call is something that is automatically bundled with any AppleScript that is created via the AppleScript ScriptEditor or are you saying that this is some binary written by Apple,Inc. and so regardless of why it is included in the DeDRM source code, we should be confident that it is fairly innocuous?

            Grepping for an applescript (“grep -rnw . -e applescript”) in the code, did find a file called “./contrib/macos/DeDRM.app/Contents/Resources/DeDRM Progress.app/Contents/Resources/English.lproj/MainMenu.nib” (for anyone else interested reading this comment, NIB files are … https://fileinfo.com/extension/nib). There’s also a droplet.rsrc file in “/contrib/macos/DeDRM.app/Contents/Resources” of the source code.

            • Perhaps AppleScript is used in the standalone DeDRM for Mac application? And the time.apple.com coding is a default used by ScriptEditor as you suggest? We probably need an expert AppleScript user to look at how AppleScript is used in DeDRM.

            • Without having investigated in detail, I do know that the Mac OS X DeDRM application is an Applescript saved as an application from Script Editor. It seems likely that if anything in the tools references an apple NTP server, it’ll be the binary included in that application by the Script Editor when it made the Application. That binary is called droplet, and it’s in DeDRM.app/Contents/MacOS.

              Presumably you could check this using the online tool you mentioned.

            • The thinking behind your suggestion is sound, DeDRM works without the need to contact the internet, as you can easily test by unplugging the computer and switching of WiFi and using DeDRM.

              So, “Would you mind explaining a bit more where you think the communication is coming from and your opinion on it?” will be guesswork, and as it is a timeserver, the communication should be harmless.
              You could try out Little Snitch (which is little more than a band-aid and a GUI for the Firewall) – but YOU need to know what you you are doing, and, sorry to be so blunt, but you obviously do not.
              This is TCP/IP, there are a lot of how-to’s, FAQ, introductions etc. for free available, also a few good books.

              In the settings for Mac OS for Date & Time the name or ip for the time-server can be seen and changed (this is Yosemite, 10.10, may be different for newer version, but my guess is, not), there you can set a different server, if you want.

              • “…and as it is a timeserver, the communication should be harmless”: Being that the address appears to be an official Apple,Inc. time server address mentioned in many different Apple articles / support threads, I too am pretty confident now that the communication is harmless (though don’t have a mac so can’t actually run any of the applescript files to check in that way). Thanks all who commented for helping ease my mind a bit there.

                By the way, “but YOU need to know what you you are doing, and, sorry to be so blunt, but you obviously do not”: Never claimed to know much about networking anything. Simply trying to work backwards from an unusual AV report with just basic computer literacy.

                  • No, didn’t do that. Good point.

                    Didn’t understand the program structure, so just dumped the whole release zipfile in the scanner (reading the ReadMe_First.txt file would have helped me there) as well as the fact that the master branch of the DeDRM_tools git repo does not have the named DeDRM_calibre_plugin folder that appears in the release zip, so never crossed my mind when browsing the project files.

                    Extracting the release zip and scanning the claibre plugin, reports clear across the board (https://www.virustotal.com/#/file/6ee00e1deb91bd24cab1909a4bb9d790750bb60abf407c3e05db5e946b1c536e/detection). Thanks for pointing this out. Definitely trust the software more now.

                    • The structure at GitHub has just one copy of those files which are the same across the 3 DeDRM tools: calibre plugin, Windows, and Mac. The release zip puts copies into their separate folders. That way one file can be updated, and all 3 tools stay in sync.

  25. i imported encrypted pdf file from .acsm file and Adobe Digital Edition but it doesn’t work.

    calibre Debug log
    calibre 3.30 Portable embedded-python: True is64bit: False
    Windows-10-10.0.17134-SP0 Windows (’32bit’, ‘WindowsPE’)
    32bit process running on 64bit windows
    (‘Windows’, ’10’, ‘10.0.17134’)
    Python 2.7.12+
    Windows: (’10’, ‘10.0.17134’, ‘SP0′, u’Multiprocessor Free’)
    Interface language: None
    Successfully initialized third party plugins: DeDRM (6, 6, 1)
    calibre 3.30 Portable embedded-python: True is64bit: False
    Windows-10-10.0.17134-SP0 Windows (’32bit’, ‘WindowsPE’)
    32bit process running on 64bit windows
    (‘Windows’, ’10’, ‘10.0.17134’)
    Python 2.7.12+
    Windows: (’10’, ‘10.0.17134’, ‘SP0′, u’Multiprocessor Free’)
    Interface language: None
    Successfully initialized third party plugins: DeDRM (6, 6, 1)
    Turning on automatic hidpi scaling
    devicePixelRatio: 1.0
    logicalDpi: 96.0 x 96.0
    physicalDpi: 100.569275362 x 100.55257732
    Using calibre Qt style: True
    [0.00] Starting up…
    [0.00] Showing splash screen…
    [0.08] splash screen shown
    [0.08] Initializing db…
    [0.09] db initialized
    [0.09] Constructing main UI…
    Loaded cached store plugin for: Beam EBooks DE at version: 4
    [1.56] main UI initialized…
    [1.56] Hiding splash screen
    [24.09] splash screen hidden
    [24.09] Started up in 24.09 seconds with 1 books
    stdout+stderr from file dialog helper: [”, ”]
    piped data from file dialog helper: [‘/\xa7\xc3\x0e\xae\xbfv\x0b7\xb3\xf7\xc4\x1a4\x94\x8dq\x03@\x80\x10\x16&\xc1\x15`\x81\xecgk\xca\xba’, ‘E:\phan mem win 10\tai lieu\SQL Server Inside Out.pdf’]
    DeDRM v6.6.1: Trying to decrypt SQL Server Inside Out.pdf
    DeDRM v6.6.1: SQL Server Inside Out.pdf is a PDF ebook
    DeDRM v6.6.1: Looking for new default Adobe Digital Editions Keys after 0.1 seconds
    Found 1 keys
    DeDRM v6.6.1: Trying a new default key
    DeDRM v6.6.1: Exception when decrypting after 1.2 seconds
    Traceback (most recent call last):
    File “calibre_plugins.dedrm.init“, line 475, in PDFDecrypt
    File “calibre_plugins.dedrm.ineptpdf”, line 2193, in decryptBook
    File “calibre_plugins.dedrm.ineptpdf”, line 1999, in init
    File “calibre_plugins.dedrm.ineptpdf”, line 1484, in initialize
    File “calibre_plugins.dedrm.ineptpdf”, line 1616, in initialize_ebx
    ADEPTError: error decrypting book session key
    DeDRM v6.6.1: Failed to decrypt with new default key after 1.2 seconds
    DeDRM v6.6.1: Ultimately failed to decrypt after 1.2 seconds. Read the FAQs at Harper’s repository: https://github.com/apprenticeharper/DeDRM_tools/blob/master/FAQs.md
    Running file type plugin DeDRM failed with traceback:
    Traceback (most recent call last):
    File “site-packages\calibre\customize\ui.py”, line 171, in _run_filetype_plugins
    File “calibre_plugins.dedrm.init“, line 628, in run
    File “calibre_plugins.dedrm.init“, line 503, in PDFDecrypt
    DeDRMError: DeDRM v6.6.1: Ultimately failed to decrypt after 1.2 seconds. Read the FAQs at Harper’s repository: https://github.com/apprenticeharper/DeDRM_tools/blob/master/FAQs.md
    Syntax Error: Couldn’t find the ‘EBX_HANDLER’ security handler
    pdfinfo errored out with return code: 1
    Traceback (most recent call last):
    File “site-packages\calibre\customize\ui.py”, line 427, in get_file_type_metadata
    File “site-packages\calibre\customize\builtins.py”, line 342, in get_metadata
    File “site-packages\calibre\ebooks\metadata\pdf.py”, line 115, in get_metadata
    ValueError: Could not read info dict from PDF
    Added SQL Server Inside Out to db in: 2.3
    Added 1 books in 4.5 seconds
    Exception TypeError: “‘NoneType’ object is not callable” in <bound method NativeFunction.__del__ of > ignored
    Exception TypeError: “‘NoneType’ object is not callable” in <bound method NativeFunction.__del__ of > ignored
    Running Open With commandline: u'”H:\Program Files (x86)\Google\Chrome\Application\chrome.exe” — “%1″‘ |==> u'”H:\Program Files (x86)\Google\Chrome\Application\chrome.exe” — “D:\phan mem\Calibre Portable\Calibre Library\Unknown\SQL Server Inside Out (8)\SQL Server Inside Out – Unknown.pdf”‘

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.