Closed ghost closed 7 years ago
Lots of help in the Read Me files, the help dialogues, and in the FAQs. To start figuring out what's wrong, we need an import log: https://github.com/apprenticeharper/DeDRM_tools/blob/master/FAQs.md#i-cannot-solve-my-problem-with-the-dedrm-plugin-and-now-i-need-to-post-a-log-how-do-i-do-that
@ElleKayEm thank you @apprenticealf Here is my log calibre Debug log calibre 2.70 embedded-python: True is64bit: False Windows-8-6.2.9200 Windows ('32bit', 'WindowsPE') 32bit process running on 64bit windows ('Windows', '8', '6.2.9200') Python 2.7.9 Windows: ('8', '6.2.9200', '', 'Multiprocessor Free') Successfully initialized third party plugins: DeDRM (6, 5, 3) devicePixelRatio: 1.0 logicalDpi: 96.0 x 96.0 physicalDpi: 100.861627907 x 101.07357513 Starting up... Started up in 14.00 seconds with 4 books stdout+stderr from file dialog helper: ['', ''] piped data from file dialog helper: ["l\x1c\xb0\x18_\xcc\xe1\xe9/\x11\xcc\x8a\x06\x9a\xbf\xf2\xda'\xf2\xac\xf9m\x89\x1f\xea\x80\xd8\x86\xb2(;{", 'C:\Users\win10\Documents\My Digital Editions\Value Change and Governance in Canada-2.pdf'] DeDRM v6.5.3: Trying to decrypt Value Change and Governance in Canada-2.pdf DeDRM v6.5.3: Value Change and Governance in Canada-2.pdf is a PDF ebook DeDRM v6.5.3: Looking for new default Adobe Digital Editions Keys after 0.1 seconds DeDRM v6.5.3: Exception when getting default Adobe Key after 0.1 seconds Traceback (most recent call last): File "calibre_plugins.dedrm.init", line 438, in PDFDecrypt File "calibre_plugins.dedrm.adobekey", line 378, in adeptkeys File "calibre_plugins.dedrm.adobekey", line 358, in CryptUnprotectData ADEPTError: Failed to decrypt user key key (sic) DeDRM v6.5.3: 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 161, in _run_filetype_plugins File "calibre_plugins.dedrm.init", line 617, in run File "calibre_plugins.dedrm.init", line 492, in PDFDecrypt DeDRMError: DeDRM v6.5.3: Ultimately failed to decrypt after 0.1 seconds. 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 408, in get_file_type_metadata File "site-packages\calibre\customize\builtins.py", line 341, 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 Value Change and Governance in Canada-2 to db in: 0.1 Added 1 books in 16.3 seconds Exception TypeError: "'NoneType' object is not callable" in <bound method NativeFunction.del of <calibre_plugins.dedrm.adobekey.NativeFunction object at 0x04B339B0>> ignored
You don't actually need to worry about Python or Pycrypto when using the calibre plugin. (You were probably looking at the info for the stand-alone Windows app.) For some reason, it was unable to retrieve your key. You had Adobe Digital Editions authorized with your Adobe ID before opening the .acsm file? One thing to try is going into the Adobe DRM section of the plugin customization and clicking the green plus sign. In the past, I've seen the tools have trouble automatically getting the key if the first thing you try is a PDF (instead of an epub.)
Assumed solved.
I’m trying to remove DRM from Adobe PDF which was downloaded from https://www.onlinevarsity.com tmpdc3e9s.txt . I tried many softwares but no luck.
calibre Debug log calibre 4.18 embedded-python: True is64bit: False Windows-10-10.0.14393-SP0 Windows ('32bit', 'WindowsPE') 32bit process running on 64bit windows ('Windows', '10', '10.0.14393') Python 2.7.16+ Windows: ('10', '10.0.14393', 'SP0', u'Multiprocessor Free') Interface language: None Successfully initialized third party plugins: DeDRM (6, 7, 0) calibre 4.18 embedded-python: True is64bit: False Windows-10-10.0.14393-SP0 Windows ('32bit', 'WindowsPE') 32bit process running on 64bit windows ('Windows', '10', '10.0.14393') Python 2.7.16+ Windows: ('10', '10.0.14393', 'SP0', u'Multiprocessor Free') Interface language: None Successfully initialized third party plugins: DeDRM (6, 7, 0) Turning on automatic hidpi scaling devicePixelRatio: 1.0 logicalDpi: 96.0 x 96.0 physicalDpi: 62.0754176611 x 74.4549618321 Using calibre Qt style: True [0.00] Starting up... [0.00] Showing splash screen... [0.59] splash screen shown [0.61] Initializing db... [0.64] db initialized [0.64] Constructing main UI... [3.26] main UI initialized... [3.26] Hiding splash screen [257.42] splash screen hidden [257.42] Started up in 257.42 seconds with 1 books stdout+stderr from file dialog helper: ['', ''] piped data from file dialog helper: ["]\xbd'\xfdT\xb9\xc4\x84\x99\xf9\xef\x87;\xa6\x96\xf1\xce\x8d\xc66\x0b\x17%G'\xc6\xb8|\xfc\xe7\xae\x10", 'C:\Users\Administrator\Documents\My Digital Editions\Elementary Programming with C_A - Copy.pdf'] DeDRM v6.7.0: Trying to decrypt Elementary Programming with C_A - Copy.pdf DeDRM v6.7.0: Elementary Programming with C_A - Copy.pdf is a PDF ebook DeDRM v6.7.0: Looking for new default Adobe Digital Editions Keys after 0.1 seconds Found 1 keys DeDRM v6.7.0: Trying a new default key DeDRM v6.7.0: Exception when decrypting after 1.5 seconds Traceback (most recent call last): File "calibre_plugins.dedrm.init", line 479, 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.7.0: Failed to decrypt with new default key after 1.5 seconds DeDRM v6.7.0: Ultimately failed to decrypt after 1.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 172, in _run_filetype_plugins File "calibre_plugins.dedrm.init", line 632, in run File "calibre_plugins.dedrm.init", line 507, in PDFDecrypt DeDRMError: DeDRM v6.7.0: Ultimately failed to decrypt after 1.5 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 428, in get_file_type_metadata File "site-packages\calibre\customize\builtins.py", line 343, in get_metadata File "site-packages\calibre\ebooks\metadata\pdf.py", line 129, in get_metadata ValueError: Could not read info dict from PDF Added Elementary Programming with C A to db in: 2.4 Added 1 books in 6.4 seconds Exception TypeError: "'NoneType' object is not callable" in <bound method NativeFunction.del of <calibre_plugins.dedrm.adobekey.NativeFunction object at 0x051FB5D0>> ignored Exception TypeError: "'NoneType' object is not callable" in <bound method NativeFunction.del of <calibre_plugins.dedrm.adobekey.NativeFunction object at 0x052FD7D0>> ignored
I answered over at the blog, but I'll repeat it here:
Was this downloaded via Adobe Digital Editions on the same machine and user as calibre with DeDRM? Is ADE authorized with your Adobe ID?
Try using 64-bit calibre if possible.
Hi,
Thanks for your reply. ADE authorized with computer not any ID and calibre is not authorised with any ID. I tried many softwares like Dr. PDF, Epubor but didn't able to remove DRM. Tomorrow I'll try again with x64 calibre.
On Wed, Jun 17, 2020, 7:09 PM ElleKayEm notifications@github.com wrote:
I answered over at the blog, but I'll repeat it here:
Was this downloaded via Adobe Digital Editions on the same machine and user as calibre with DeDRM? Is ADE authorized with your Adobe ID?
Try using 64-bit calibre if possible.
— You are receiving this because you commented. Reply to this email directly, view it on GitHub https://github.com/apprenticeharper/DeDRM_tools/issues/250#issuecomment-645379750, or unsubscribe https://github.com/notifications/unsubscribe-auth/AP7TX4U6V6Y3J6EQYWVO5Q3RXDBRPANCNFSM4DGOMNWA .
Adobe Digital Editions needs to be authorized with an Adobe ID before opening the acsm file. I don't know if you will be able to remove the DRM.
Still not working with 64 bit Calibre calibre, version 4.19.0 (win32, embedded-python: True) Conversion error: Failed: Convert book 1 of 1 (Elementary Programming with C A)
Convert book 1 of 1 (Elementary Programming with C A) Conversion options changed from defaults: read_metadata_from_opf: u'C:\Users\ADMINI~1\AppData\Local\Temp\1\calibre_m5l6in\zeisdh.opf' verbose: 2 output_profile: u'generic_eink' Resolved conversion options calibre version: 4.19.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_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 0x00000199D4251488>, '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, 'new_pdf_engine': False, 'no_chapters_in_toc': False, 'no_images': False, 'no_inline_navbars': False, 'no_inline_toc': False, 'output_profile': <calibre.customize.profiles.GenericEink object at 0x00000199D42570C8>, '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\ADMINI~1\AppData\Local\Temp\1\calibre_m5l6in\zeisdh.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_factor': 0.45, 'unwrap_lines': True, 'use_auto_toc': False, 'verbose': 2} InputFormatPlugin: PDF Input running on C:\Users\ADMINI~1\AppData\Local\Temp\1\calibre_m5l6in\rn5poe.pdf Converting file to html... Python function terminated unexpectedly pdftohtml failed with return code: 1 Syntax Error: Couldn't find the 'EBX_HANDLER' security handler (Error Code: 1) Traceback (most recent call last): File "site.py", line 114, in main File "site.py", line 88, in run_entry_point File "site-packages\calibre\utils\ipc\worker.py", line 209, in main File "site-packages\calibre\gui2\convert\gui_conversion.py", line 43, in gui_convert_override File "site-packages\calibre\gui2\convert\gui_conversion.py", line 28, in gui_convert File "site-packages\calibre\ebooks\conversion\plumber.py", line 1110, in run File "site-packages\calibre\customize\conversion.py", line 246, in call File "site-packages\calibre\ebooks\conversion\plugins\pdf_input.py", line 54, in convert File "site-packages\calibre\ebooks\pdf\pdftohtml.py", line 90, in pdftohtml calibre.ebooks.ConversionError: pdftohtml failed with return code: 1 Syntax Error: Couldn't find the 'EBX_HANDLER' security handler
calibre Debug log calibre 4.19 [64bit] embedded-python: True is64bit: True Windows-10-10.0.14393-SP0 Windows ('64bit', 'WindowsPE') ('Windows', '10', '10.0.14393') Python 2.7.16+ Windows: ('10', '10.0.14393', 'SP0', u'Multiprocessor Free') Interface language: None Successfully initialized third party plugins: DeDRM (6, 7, 0) calibre 4.19 [64bit] embedded-python: True is64bit: True Windows-10-10.0.14393-SP0 Windows ('64bit', 'WindowsPE') ('Windows', '10', '10.0.14393') Python 2.7.16+ Windows: ('10', '10.0.14393', 'SP0', u'Multiprocessor Free') Interface language: None Successfully initialized third party plugins: DeDRM (6, 7, 0) Turning on automatic hidpi scaling devicePixelRatio: 1.0 logicalDpi: 96.0 x 96.0 physicalDpi: 62.0754176611 x 74.4549618321 Using calibre Qt style: True [0.00] Starting up... [0.03] Showing splash screen... [0.64] splash screen shown [0.64] Initializing db... [0.66] db initialized [0.66] Constructing main UI... [3.05] main UI initialized... [3.05] Hiding splash screen [47.25] splash screen hidden [47.25] Started up in 47.25 seconds with 1 books stdout+stderr from file dialog helper: ['', ''] piped data from file dialog helper: ['\xc3\x0c\x18\x9c\xa8B\x19\xb9/*\xc0\xeel\x1fN\xfc3C9:\xe5\x81\x16\xdd\x88\x10s\x9d\x91H\xc5,', 'C:\Users\Administrator\Documents\My Digital Editions\Elementary Programming with C_A - Copy.pdf'] DeDRM v6.7.0: Trying to decrypt Elementary Programming with C_A - Copy.pdf DeDRM v6.7.0: Elementary Programming with C_A - Copy.pdf is a PDF ebook DeDRM v6.7.0: Looking for new default Adobe Digital Editions Keys after 0.1 seconds Found 1 keys DeDRM v6.7.0: Trying a new default key DeDRM v6.7.0: Exception when decrypting after 1.0 seconds Traceback (most recent call last): File "calibre_plugins.dedrm.init", line 479, 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.7.0: Failed to decrypt with new default key after 1.0 seconds DeDRM v6.7.0: Ultimately failed to decrypt after 1.0 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 172, in _run_filetype_plugins File "calibre_plugins.dedrm.init", line 632, in run File "calibre_plugins.dedrm.init", line 507, in PDFDecrypt DeDRMError: DeDRM v6.7.0: Ultimately failed to decrypt after 1.0 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 428, in get_file_type_metadata File "site-packages\calibre\customize\builtins.py", line 343, in get_metadata File "site-packages\calibre\ebooks\metadata\pdf.py", line 129, in get_metadata ValueError: Could not read info dict from PDF Added Elementary Programming with C A to db in: 2.7 Added 1 books in 6.5 seconds Exception TypeError: "'NoneType' object is not callable" in <bound method NativeFunction.del of <calibre_plugins.dedrm.adobekey.NativeFunction object at 0x000001ECE5B7DDC8>> ignored
Adobe Digital Editions needs to be authorized with an Adobe ID before opening the acsm file. I don't know if you will be able to remove the DRM.
There're an option in left side bottom available in ADE to authorize computer without any adobe ID
You won't be able to remove the DRM if you don't authorize with an Adobe ID. DeDRM needs the key created from the Adobe ID to unlock the book.
You won't be able to remove the DRM if you don't authorize with an Adobe ID. DeDRM needs the key created from the Adobe ID to unlock the book.
I've tried with adobe ID but getting the same error.
You've authorized ADE with an Adobe ID, opened the ACSM file, and downloaded a new copy of the PDF? You could read that copy in ADE? And you tried adding the new copy to calibre?
You've authorized ADE with an Adobe ID, opened the ACSM file, and downloaded a new copy of the PDF? You could read that copy in ADE? And you tried adding the new copy to calibre?
Yes. I tried every possibilities, checking on different systems but getting the same EBX_HANDLER error.
Okay. No idea if this will work. I think you may be out of luck with this particular book. But here is something to try:
If you follow this exactly and it doesn't work, then I'm unaware of any other way to remove the DRM.
Okay. No idea if this will work. I think you may be out of luck with this particular book. But here is something to try:
- De-authorize and uninstall Adobe Digital Editions.
- Go to https://helpx.adobe.com/digital-editions/kb/activation-errors-adobe-digital-editions.html and follow the instructions under "TROUBLESHOOTING REAUTHORIZATION AND DEAUTHORIZATION ISSUES ON WINDOWS" for deleting the registry key. As it says there, be very careful when editing the Windows registry.
- Install Adobe Digital Editions version 2.0.1 and authorize it with your Adobe ID. (Available here: https://www.adobe.com/support/digitaleditions/downloads.html)
- Download a fresh copy of the ACSM file, open it in ADE, and make sure you can read it.
- Add the new copy of the PDF into 64-bit calibre with DeDRM.
If you follow this exactly and it doesn't work, then I'm unaware of any other way to remove the DRM.
Okay, I'll try it on other system with fresh installation of ADE 2.0 and Calibre x64.
Hi, Not able to download books with ADE 2.0.1. ADE 3.0 is working but again getting the same error. Syntax Error: Couldn't find the 'EBX_HANDLER' security handler
If you can't open it with ADE 2.0.1, then DeDRM definitely can't remove the DRM.
If you can't open it with ADE 2.0.1, then DeDRM definitely can't remove the DRM.
Okay. Only ADE 3.0 and 4.5 is working.
I have a problem converting an PDF file. It starts converting but it doesn't go fruther than 1%
calibre Registro de depuración calibre 4.20 embedded-python: True is64bit: False Windows-10-10.0.19041-SP0 Windows ('32bit', 'WindowsPE') 32bit process running on 64bit windows ('Windows', '10', '10.0.19041') Python 2.7.16+ Windows: ('10', '10.0.19041', 'SP0', u'Multiprocessor Free') Interface language: es Successfully initialized third party plugins: DeDRM (6, 8, 0) calibre 4.20 embedded-python: True is64bit: False Windows-10-10.0.19041-SP0 Windows ('32bit', 'WindowsPE') 32bit process running on 64bit windows ('Windows', '10', '10.0.19041') Python 2.7.16+ Windows: ('10', '10.0.19041', 'SP0', u'Multiprocessor Free') Interface language: es Successfully initialized third party plugins: DeDRM (6, 8, 0) Turning on automatic hidpi scaling devicePixelRatio: 1.0 logicalDpi: 120.0 x 120.0 physicalDpi: 141.76744186 x 142.134715026 Using calibre Qt style: True [0.00] Starting up... [0.00] Showing splash screen... [0.36] splash screen shown [0.36] Initializing db... [0.36] db initialized [0.36] Constructing main UI... [1.48] main UI initialized... [1.48] Hiding splash screen [11.19] splash screen hidden [11.19] Started up in 11.19 seconds with 14 books DeDRM v6.8.0: Trying to decrypt A dream of passion the development of the method.pdf DeDRM v6.8.0: A dream of passion the development of the method.pdf is a PDF ebook DeDRM v6.8.0: Trying Encryption key default_key DeDRM v6.8.0: Finished after 1.2 seconds C:\Program Files (x86)\Calibre2\app\pylib.zip\dateutil\parser_parser.py:1177: UnicodeWarning: Unicode equal comparison failed to convert both arguments to Unicode - interpreting them as being unequal C:\Program Files (x86)\Calibre2\app\pylib.zip\dateutil\parser_parser.py:1177: UnicodeWarning: Unicode equal comparison failed to convert both arguments to Unicode - interpreting them as being unequal Added A dream of passion : the development of the method to db in: 0.1 Added 1 books in 7.5 seconds Worker Launch took: 0.154000043869 Job: 0 Convertido el libro 1 de 1 (A dream of passion : the development of the method) finished Convertido el libro 1 de 1 (A dream of passion : the development of the method) C:\Program Files (x86)\Calibre2\app\pylib.zip\dateutil\parser_parser.py:1177: UnicodeWarning: Unicode equal comparison failed to convert both arguments to Unicode - interpreting them as being unequal Conversion options changed from defaults: output_profile: u'kindle_pw3' verbose: 2 read_metadata_from_opf: u'C:\Users\MARIAJ~1\AppData\Local\Temp\calibre_gnxcvf\xkscx0.opf' cover: u'C:\Users\MARIAJ~1\AppData\Local\Temp\calibre_gnxcvf\yupn5m.jpeg' Resolved conversion options calibre version: 4.20.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\MARIAJ~1\AppData\Local\Temp\calibre_gnxcvf\yupn5m.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 0x059C5030>, '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, 'new_pdf_engine': False, 'no_chapters_in_toc': False, 'no_images': False, 'no_inline_navbars': True, 'no_inline_toc': False, 'output_profile': <calibre.customize.profiles.KindlePaperWhite3Output object at 0x059C53D0>, '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\MARIAJ~1\AppData\Local\Temp\calibre_gnxcvf\xkscx0.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_factor': 0.45, 'unwrap_lines': True, 'use_auto_toc': False, 'verbose': 2} InputFormatPlugin: PDF Input running on C:\Users\MARIAJ~1\AppData\Local\Temp\calibre_gnxcvf\gpebhl.pdf Converting file to html...
Try using 64-bit calibre.
For those seeking help, this may help:
Here's the correct link for DeDRM 6.8 in step 4: https://github.com/apprenticeharper/DeDRM_tools/releases/tag/v6.8.0
As far as I can tell, it is working with Calibre 6.25 and DeDRM version 10.0.3. You gotta have Adobe Digital Editions with your Adobe ID authorized on your Windows PC.
@miqueasgamero If you're referring to hardened Adobe DRM, yes, noDRM's DeDRM 10.0.3 can handle it.
Hello, So I just installed DeDRM 6.5.3, I installed Python 2.7 from activestate, but not pycrypto because i couldn't get it install (couldn't find the directory, saying it wasn't working since it wasn't 2.6 or whatever). I put the pluggin into calibre & when i tried to use it, it didn't work. Can anyone offer advice/instructions? THANKS! Here's the log:
calibre, version 2.70.0 (win32, embedded-python: True) Conversion Error: Failed: Convert book 1 of 1 (Value Change and Governance in Canada-2)
Convert book 1 of 1 (Value Change and Governance in Canada-2) Resolved conversion options calibre version: 2.70.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': u'C:\Users\win10\Documents\DeDRM_tools_6.5.3', '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.InputProfile object at 0x0454DDF0>, '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, 'new_pdf_engine': False, 'no_chapters_in_toc': False, 'no_default_epub_cover': False, 'no_images': False, 'no_inline_navbars': False, 'no_svg_cover': False, 'output_profile': <calibre.customize.profiles.OutputProfile object at 0x0454DFD0>, '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\win10\AppData\Local\Temp\calibre_79s4o1\by8uvm.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_factor': 0.45, 'unwrap_lines': True, 'use_auto_toc': False, 'verbose': 2} InputFormatPlugin: PDF Input running on C:\Users\win10\AppData\Local\Temp\calibre_79s4o1\78hx2d.pdf Converting file to html... Python function terminated unexpectedly pdftohtml failed with return code: 1 Syntax Error: Couldn't find the 'EBX_HANDLER' security handler (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 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 1064, in run File "site-packages\calibre\customize\conversion.py", line 245, in call File "site-packages\calibre\ebooks\conversion\plugins\pdf_input.py", line 51, in convert File "site-packages\calibre\ebooks\pdf\pdftohtml.py", line 92, in pdftohtml calibre.ebooks.ConversionError: pdftohtml failed with return code: 1 Syntax Error: Couldn't find the 'EBX_HANDLER' security handler