Open 7enChan opened 1 year ago
Was this book downloaded with the DeACSM plugin?
Was this book downloaded with the DeACSM plugin?
No, downloaded with ADE
This is from the log on the Windows system, My ADE is installed on the Windows system
ApplicationPaletteChange event ignored
Using calibre Qt style: True
ApplicationPaletteChange event received
calibre 调试日志
calibre 6.15.1 embedded-python: True
Windows-10-10.0.17763-SP0 Windows ('64bit', 'WindowsPE')
('Windows', '10', '10.0.17763')
Python 3.10.1
Windows: ('10', '10.0.17763', 'SP0', 'Multiprocessor Free')
Interface language: zh_CN
Successfully initialized third party plugins: DeDRM (10, 0, 3) && Chinese Text Conversion (3, 0, 1)
calibre 6.15.1 embedded-python: True
Windows-10-10.0.17763-SP0 Windows ('64bit', 'WindowsPE')
('Windows', '10', '10.0.17763')
Python 3.10.1
Windows: ('10', '10.0.17763', 'SP0', 'Multiprocessor Free')
Interface language: zh_CN
Successfully initialized third party plugins: DeDRM (10, 0, 3) && Chinese Text Conversion (3, 0, 1)
QPA platform: windows
devicePixelRatio: 2.0
logicalDpi: 96.0 x 96.0
physicalDpi: 81.55183946488295 x 80.68235294117646
[0.00] Starting up...
[0.02] Showing splash screen...
[0.52] splash screen shown
[0.52] Initializing db...
[0.52] db initialized
[0.52] Constructing main UI...
[1.19] main UI initialized...
[1.19] Hiding splash screen
Starting QuickView
DeDRM v10.0.3: Trying to decrypt 奇蹟.epub
DeDRM v10.0.3: Verifying zip archive integrity
DeDRM v10.0.3: 奇蹟.epub is a secure Adobe Adept ePub for UUID 6abe9221-0c08-48cb-bc9a-f26e8e36805b
Running file type plugin DeDRM failed with traceback:
Traceback (most recent call last):
File "encodings\hex_codec.py", line 19, in hex_decode
ValueError: string argument should contain only ASCII characters
The above exception was the direct cause of the following exception:
Traceback (most recent call last):
File "calibre\customize\ui.py", line 187, in _run_filetype_plugins
File "calibre_plugins.dedrm.__init__", line 1067, in run
File "calibre_plugins.dedrm.__init__", line 533, in ePubDecrypt
ValueError: decoding with 'hex' codec failed (ValueError: string argument should contain only ASCII characters)
[3.34] splash screen hidden
[3.34] Started up in 3.34 seconds with 1 books
Added 奇蹟 to db in: 0.1
Added 1 books in 0.6 seconds
Delete the saved Adobe key from DeDRM's customization. Add the book letting DeDRM automatically retrieve the key.
Delete the saved Adobe key from DeDRM's customization. Add the book letting DeDRM automatically retrieve the key.
I have tried this method, but still cannot remove the DRM.
You've done this on the computer with ADE which was used to download the book? Let's see a log of adding the book after the key is deleted again.
Yes,on my PC.
the log without the key:
ApplicationPaletteChange event ignored
Using calibre Qt style: True
ApplicationPaletteChange event received
calibre 调试日志
calibre 6.15.1 embedded-python: True
Windows-10-10.0.17763-SP0 Windows ('64bit', 'WindowsPE')
('Windows', '10', '10.0.17763')
Python 3.10.1
Windows: ('10', '10.0.17763', 'SP0', 'Multiprocessor Free')
Interface language: zh_CN
Successfully initialized third party plugins: DeDRM (10, 0, 3) && Chinese Text Conversion (3, 0, 1)
calibre 6.15.1 embedded-python: True
Windows-10-10.0.17763-SP0 Windows ('64bit', 'WindowsPE')
('Windows', '10', '10.0.17763')
Python 3.10.1
Windows: ('10', '10.0.17763', 'SP0', 'Multiprocessor Free')
Interface language: zh_CN
Successfully initialized third party plugins: DeDRM (10, 0, 3) && Chinese Text Conversion (3, 0, 1)
QPA platform: windows
devicePixelRatio: 2.0
logicalDpi: 96.0 x 96.0
physicalDpi: 81.55183946488295 x 80.68235294117646
[0.00] Starting up...
[0.02] Showing splash screen...
[0.48] splash screen shown
[0.48] Initializing db...
[0.48] db initialized
[0.48] Constructing main UI...
Failed to check for calibre update: [Errno 11001] getaddrinfo failed
Failed to check for plugin update: [Errno 11001] getaddrinfo failed
[1.14] main UI initialized...
[1.14] Hiding splash screen
Starting QuickView
DeDRM v10.0.3: Trying to decrypt 奇蹟.epub
DeDRM v10.0.3: Verifying zip archive integrity
DeDRM v10.0.3: 奇蹟.epub is a secure Adobe Adept ePub for UUID 6abe9221-0c08-48cb-bc9a-f26e8e36805b
DeDRM v10.0.3: Looking for new default Adobe Digital Editions Keys after 0.2 seconds
Found 1 keys
DeDRM v10.0.3: Trying a new default key
vyucodtz.epub is a secure Adobe Adept ePub.
[12.80] splash screen hidden
[12.80] Started up in 12.80 seconds with 1 books
Could not decrypt vyucodtz.epub because of an exception:
Traceback (most recent call last):
File "C:\Users\ZenChan\AppData\Roaming\calibre\plugins\DeDRM.zip\ineptepub.py", line 342, in decryptBook
File "C:\Users\ZenChan\AppData\Roaming\calibre\plugins\DeDRM.zip\ineptepub.py", line 180, in get_xml
AttributeError: 'Decryptor' object has no attribute '_encryption'
DeDRM v10.0.3: Failed to decrypt with new default key after 1.0 seconds
DeDRM v10.0.3: Ultimately failed to decrypt after 1.0 seconds. Read the FAQs at noDRM's repository: https://github.com/noDRM/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 187, in _run_filetype_plugins
File "calibre_plugins.dedrm.__init__", line 1067, in run
File "calibre_plugins.dedrm.__init__", line 665, in ePubDecrypt
calibre_plugins.dedrm.DeDRMError: DeDRM v10.0.3: Ultimately failed to decrypt after 1.0 seconds. Read the FAQs at noDRM's repository: https://github.com/noDRM/DeDRM_tools/blob/master/FAQs.md
Okay, this log shows where the issue is. But it is something that @noDRM or someone else will need to look at. I don't know how to resolve it.
Okay, this log shows where the issue is. But it is something that @noDRM or someone else will need to look at. I don't know how to resolve it.
That error is caused by a bug fixed by NoDRM in commit 3c12806f38eecfd5b37a5ace890f7c00cbe52169 on Jan 6. However an updated version of the plugin was not released since then.
Okay, this log shows where the issue is. But it is something that @noDRM or someone else will need to look at. I don't know how to resolve it.
That error is caused by a bug fixed by NoDRM in commit 3c12806 on Jan 6. However an updated version of the plugin was not released since then.
thanks, I tried the outdated DeDRM 7.X version and it worked.
DeDRM 7.2.1 and calibre 5.x?
DeDRM 7.2.1 and calibre 5.x?
DeDRM 7.2.1 and calibre 6.2.1
Interesting. Thanks for reporting what worked.
Had a similar error trying to de-drm a greek book:
Running file type plugin DeDRM failed with traceback: Traceback (most recent call last): File "encodings\hex_codec.py", line 19, in hex_decode ValueError: string argument should contain only ASCII characters
The above exception was the direct cause of the following exception:
Traceback (most recent call last):
File "calibre\customize\ui.py", line 187, in _run_filetype_plugins
File "calibre_plugins.dedrm.__init__", line 1067, in run
File "calibre_plugins.dedrm.__init__", line 533, in ePubDecrypt
ValueError: decoding with 'hex' codec failed (ValueError: string argument should contain only ASCII characters)
[27.30] splash screen hidden
[27.30] Started up in 27.30 seconds with 661 books
Was fixed after I followed advice:
Delete the saved Adobe key from DeDRM's customization. Add the book letting DeDRM automatically retrieve the key.
It wasn't the book. This was a bug in manually retrieving the Adobe key. Fixed in 10.0.9.
Question / bug report
Hi, The problem I encountered is that some books cannot remove DRM while others can. book source:ADE (download from Google play books)
Which version of Calibre are you running?
6.17
Which version of the DeDRM plugin are you running?
v10.0.3
If applicable, which version of the Kindle software are you running?
No response
Log output