You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
I tried to import a PDF that had been downloaded using ADE 4.0.2. Using Calibre 5.38 and DeDRM 7.2.1.
Here's the debug log. Any suggestions?
Thanks
rbcam
calibre Debug log
calibre 5.38 embedded-python: True is64bit: False
Windows-10-10.0.19041 Windows ('32bit', 'WindowsPE')
32bit process running on 64bit windows
('Windows', '10', '10.0.19041')
Python 3.8.5
Windows: ('10', '10.0.19041', '', 'Multiprocessor Free')
Interface language: None
Successfully initialized third party plugins: Gather KFX-ZIP (from KFX Input) (1, 47, 0) && DeDRM (7, 2, 1) && Package KFX (from KFX Input) (1, 47, 0) && KFX metadata reader (from KFX Input) (1, 47, 0) && KFX Input (1, 47, 0)
calibre 5.38 embedded-python: True is64bit: False
Windows-10-10.0.19041 Windows ('32bit', 'WindowsPE')
32bit process running on 64bit windows
('Windows', '10', '10.0.19041')
Python 3.8.5
Windows: ('10', '10.0.19041', '', 'Multiprocessor Free')
Interface language: None
Successfully initialized third party plugins: Gather KFX-ZIP (from KFX Input) (1, 47, 0) && DeDRM (7, 2, 1) && Package KFX (from KFX Input) (1, 47, 0) && KFX metadata reader (from KFX Input) (1, 47, 0) && KFX Input (1, 47, 0)
Turning on automatic hidpi scaling
devicePixelRatio: 1.0
logicalDpi: 96.0 x 96.0
physicalDpi: 94.14671814671814 x 94.07407407407408
Using calibre Qt style: True
[0.00] Starting up...
[0.00] Showing splash screen...
[0.84] splash screen shown
[0.84] Initializing db...
[0.94] db initialized
[0.94] Constructing main UI...
[2.28] main UI initialized...
[2.28] Hiding splash screen
Starting QuickView
DeDRM v7.2.1: Trying to decrypt Statius Thebaid and the Poetics of Civil War.pdf
DeDRM v7.2.1: Statius Thebaid and the Poetics of Civil War.pdf is a PDF ebook
DeDRM v7.2.1: Trying Encryption key default_key
[11.99] splash screen hidden
[11.99] Started up in 11.99 seconds with 915 books
stdout+stderr from file dialog helper: [b'', b'']
piped data from file dialog helper: [b'\x82&\x14\xe8;q\xd5 OW@O-\xe8<e"\xbb\x17\xb6S\xc4\x94[ \xdd\xcc\xb9\xbf\x918\x89', b'C:\Users\rick\Documents\My Digital Editions\Statius Thebaid and the Poetics of Civil War.pdf']
DeDRM v7.2.1: Exception when decrypting after 0.7 seconds
Traceback (most recent call last):
File "calibre_plugins.dedrm.init", line 436, in PDFDecrypt
File "calibre_plugins.dedrm.ineptpdf", line 2178, in decryptBook
File "calibre_plugins.dedrm.ineptpdf", line 1984, in init
File "calibre_plugins.dedrm.ineptpdf", line 1469, in initialize
File "calibre_plugins.dedrm.ineptpdf", line 1599, in initialize_ebx
File "calibre_plugins.dedrm.ineptpdf", line 390, in decrypt
File "Crypto\Cipher\PKCS1_v1_5.py", line 165, in decrypt
ValueError: Ciphertext with incorrect length.
DeDRM v7.2.1: Failed to decrypt with key default_key after 0.7 seconds
DeDRM v7.2.1: Looking for new default Adobe Digital Editions Keys after 0.7 seconds
Found 1 keys
DeDRM v7.2.1: Trying a new default key
DeDRM v7.2.1: Exception when decrypting after 1.1 seconds
Traceback (most recent call last):
File "calibre_plugins.dedrm.init", line 487, in PDFDecrypt
File "calibre_plugins.dedrm.ineptpdf", line 2178, in decryptBook
File "calibre_plugins.dedrm.ineptpdf", line 1984, in init
File "calibre_plugins.dedrm.ineptpdf", line 1469, in initialize
File "calibre_plugins.dedrm.ineptpdf", line 1599, in initialize_ebx
File "calibre_plugins.dedrm.ineptpdf", line 390, in decrypt
File "Crypto\Cipher\PKCS1_v1_5.py", line 165, in decrypt
ValueError: Ciphertext with incorrect length.
DeDRM v7.2.1: Failed to decrypt with new default key after 1.1 seconds
DeDRM v7.2.1: Ultimately failed to decrypt after 1.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 "calibre\customize\ui.py", line 175, in _run_filetype_plugins
File "calibre_plugins.dedrm.init", line 640, in run
File "calibre_plugins.dedrm.init", line 515, in PDFDecrypt
calibre_plugins.dedrm.DeDRMError: DeDRM v7.2.1: Ultimately failed to decrypt after 1.1 seconds. Read the FAQs at Harper's repository: https://github.com/apprenticeharper/DeDRM_tools/blob/master/FAQs.md
Traceback (most recent call last):
File "calibre\customize\ui.py", line 432, in get_file_type_metadata
File "calibre\customize\builtins.py", line 315, in get_metadata
File "calibre\ebooks\metadata\pdf.py", line 124, in get_metadata
ValueError: Could not read info dict from PDF
Syntax Error: Couldn't find the 'EBX_HANDLER' security handler
pdfinfo errored out with return code: 1
Exception ignored in: <function NativeFunction.del at 0x07B494F0>
Traceback (most recent call last):
File "calibre_plugins.dedrm.adobekey", line 268, in del
TypeError: 'NoneType' object is not callable
Exception ignored in: <function NativeFunction.del at 0x07B494F0>
Traceback (most recent call last):
File "calibre_plugins.dedrm.adobekey", line 268, in del
TypeError: 'NoneTAdded Statius Thebaid and the Poetics of Civil War to db in: 0.2
Added 1 books in 2.1 seconds
reacted with thumbs up emoji reacted with thumbs down emoji reacted with laugh emoji reacted with hooray emoji reacted with confused emoji reacted with heart emoji reacted with rocket emoji reacted with eyes emoji
Uh oh!
There was an error while loading. Please reload this page.
I tried to import a PDF that had been downloaded using ADE 4.0.2. Using Calibre 5.38 and DeDRM 7.2.1.
Here's the debug log. Any suggestions?
Thanks
calibre Debug log
calibre 5.38 embedded-python: True is64bit: False
Windows-10-10.0.19041 Windows ('32bit', 'WindowsPE')
32bit process running on 64bit windows
('Windows', '10', '10.0.19041')
Python 3.8.5
Windows: ('10', '10.0.19041', '', 'Multiprocessor Free')
Interface language: None
Successfully initialized third party plugins: Gather KFX-ZIP (from KFX Input) (1, 47, 0) && DeDRM (7, 2, 1) && Package KFX (from KFX Input) (1, 47, 0) && KFX metadata reader (from KFX Input) (1, 47, 0) && KFX Input (1, 47, 0)
calibre 5.38 embedded-python: True is64bit: False
Windows-10-10.0.19041 Windows ('32bit', 'WindowsPE')
32bit process running on 64bit windows
('Windows', '10', '10.0.19041')
Python 3.8.5
Windows: ('10', '10.0.19041', '', 'Multiprocessor Free')
Interface language: None
Successfully initialized third party plugins: Gather KFX-ZIP (from KFX Input) (1, 47, 0) && DeDRM (7, 2, 1) && Package KFX (from KFX Input) (1, 47, 0) && KFX metadata reader (from KFX Input) (1, 47, 0) && KFX Input (1, 47, 0)
Turning on automatic hidpi scaling
devicePixelRatio: 1.0
logicalDpi: 96.0 x 96.0
physicalDpi: 94.14671814671814 x 94.07407407407408
Using calibre Qt style: True
[0.00] Starting up...
[0.00] Showing splash screen...
[0.84] splash screen shown
[0.84] Initializing db...
[0.94] db initialized
[0.94] Constructing main UI...
[2.28] main UI initialized...
[2.28] Hiding splash screen
Starting QuickView
DeDRM v7.2.1: Trying to decrypt Statius Thebaid and the Poetics of Civil War.pdf
DeDRM v7.2.1: Statius Thebaid and the Poetics of Civil War.pdf is a PDF ebook
DeDRM v7.2.1: Trying Encryption key default_key
[11.99] splash screen hidden
[11.99] Started up in 11.99 seconds with 915 books
stdout+stderr from file dialog helper: [b'', b'']
piped data from file dialog helper: [b'\x82&\x14\xe8;q\xd5 OW@O-\xe8<e"\xbb\x17\xb6S\xc4\x94[ \xdd\xcc\xb9\xbf\x918\x89', b'C:\Users\rick\Documents\My Digital Editions\Statius Thebaid and the Poetics of Civil War.pdf']
DeDRM v7.2.1: Exception when decrypting after 0.7 seconds
Traceback (most recent call last):
File "calibre_plugins.dedrm.init", line 436, in PDFDecrypt
File "calibre_plugins.dedrm.ineptpdf", line 2178, in decryptBook
File "calibre_plugins.dedrm.ineptpdf", line 1984, in init
File "calibre_plugins.dedrm.ineptpdf", line 1469, in initialize
File "calibre_plugins.dedrm.ineptpdf", line 1599, in initialize_ebx
File "calibre_plugins.dedrm.ineptpdf", line 390, in decrypt
File "Crypto\Cipher\PKCS1_v1_5.py", line 165, in decrypt
ValueError: Ciphertext with incorrect length.
DeDRM v7.2.1: Failed to decrypt with key default_key after 0.7 seconds
DeDRM v7.2.1: Looking for new default Adobe Digital Editions Keys after 0.7 seconds
Found 1 keys
DeDRM v7.2.1: Trying a new default key
DeDRM v7.2.1: Exception when decrypting after 1.1 seconds
Traceback (most recent call last):
File "calibre_plugins.dedrm.init", line 487, in PDFDecrypt
File "calibre_plugins.dedrm.ineptpdf", line 2178, in decryptBook
File "calibre_plugins.dedrm.ineptpdf", line 1984, in init
File "calibre_plugins.dedrm.ineptpdf", line 1469, in initialize
File "calibre_plugins.dedrm.ineptpdf", line 1599, in initialize_ebx
File "calibre_plugins.dedrm.ineptpdf", line 390, in decrypt
File "Crypto\Cipher\PKCS1_v1_5.py", line 165, in decrypt
ValueError: Ciphertext with incorrect length.
DeDRM v7.2.1: Failed to decrypt with new default key after 1.1 seconds
DeDRM v7.2.1: Ultimately failed to decrypt after 1.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 "calibre\customize\ui.py", line 175, in _run_filetype_plugins
File "calibre_plugins.dedrm.init", line 640, in run
File "calibre_plugins.dedrm.init", line 515, in PDFDecrypt
calibre_plugins.dedrm.DeDRMError: DeDRM v7.2.1: Ultimately failed to decrypt after 1.1 seconds. Read the FAQs at Harper's repository: https://github.com/apprenticeharper/DeDRM_tools/blob/master/FAQs.md
Traceback (most recent call last):
File "calibre\customize\ui.py", line 432, in get_file_type_metadata
File "calibre\customize\builtins.py", line 315, in get_metadata
File "calibre\ebooks\metadata\pdf.py", line 124, in get_metadata
ValueError: Could not read info dict from PDF
Syntax Error: Couldn't find the 'EBX_HANDLER' security handler
pdfinfo errored out with return code: 1
Exception ignored in: <function NativeFunction.del at 0x07B494F0>
Traceback (most recent call last):
File "calibre_plugins.dedrm.adobekey", line 268, in del
TypeError: 'NoneType' object is not callable
Exception ignored in: <function NativeFunction.del at 0x07B494F0>
Traceback (most recent call last):
File "calibre_plugins.dedrm.adobekey", line 268, in del
TypeError: 'NoneTAdded Statius Thebaid and the Poetics of Civil War to db in: 0.2
Added 1 books in 2.1 seconds
All reactions