Skip to content

Unable to remove DRM #1034

Description

@AlbertoBonfiglio

Question / bug report

I bought this book and cannot remove the DRM

tried with the latest and the alpha releases. No change

Which version of Calibre are you running?

9.11

Which version of the DeDRM plugin are you running?

v10.0.0.9

If applicable, which version of the Kindle software are you running?

No response

Log output

ApplicationPaletteChange event ignored
Using calibre Qt style: True
calibre Debug log
calibre 9.11 Portable embedded-python: True
Windows-11-10.0.26200-SP0 Windows ('64bit', 'WindowsPE')
('Windows', '11', '10.0.26200')
Python 3.14.6
Windows: ('11', '10.0.26200', 'SP0', 'Multiprocessor Free')
Interface language: None
EXE path: C:\Tools\Calibre\Calibre Portable\Calibre\calibre-debug.exe
Successfully initialized third party plugins: DeDRM (10, 0, 9)
calibre 9.11 Portable embedded-python: True
Windows-11-10.0.26200-SP0 Windows ('64bit', 'WindowsPE')
('Windows', '11', '10.0.26200')
Python 3.14.6
Windows: ('11', '10.0.26200', 'SP0', 'Multiprocessor Free')
Interface language: None
EXE path: C:\Tools\Calibre\Calibre Portable\Calibre\calibre-debug.exe
Successfully initialized third party plugins: DeDRM (10, 0, 9)
QPA platform: windows
devicePixelRatio: 1.5
logicalDpi: 96.0 x 96.0
physicalDpi: 162.01993355481727 x 162.12765957446808
[0.00] Starting up...
[0.00] Showing splash screen...
[1.29] splash screen shown
[1.29] Initializing db...
[1.32] db initialized
[1.32] Constructing main UI...
[1.75] GUI main window shown
[1.96] main UI initialized...
[1.96] Hiding splash screen
[1.96] splash screen hidden
[1.96] Started up in 1.96 seconds with 1 books
DeDRM v10.0.9: Trying to decrypt GPCert Cardio-Small Animal Cardiology (IIL-016-ONS).pdf
DeDRM v10.0.9: GPCert Cardio-Small Animal Cardiology (IIL-016-ONS).pdf is a PDF ebook with encryption EBX_HANDLER
DeDRM v10.0.9: GPCert Cardio-Small Animal Cardiology (IIL-016-ONS).pdf is a PDF ebook (EBX) for UUID 09db1cd1-7b09-11f1-ad7a-b5eeab3a73fd
DeDRM v10.0.9: Looking for new default Adobe Digital Editions Keys after 0.2 seconds
DeDRM v10.0.9: Exception when getting default Adobe Key after 0.2 seconds
Traceback (most recent call last):
  File "C:\Tools\Calibre\Calibre Portable\Calibre Settings\plugins\DeDRM.zip\adobekey.py", line 289, in adeptkeys
FileNotFoundError: [WinError 2] The system cannot find the file specified

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "calibre_plugins.dedrm.__init__", line 727, in PDFIneptDecrypt
  File "C:\Tools\Calibre\Calibre Portable\Calibre Settings\plugins\DeDRM.zip\adobekey.py", line 292, in adeptkeys
adobekey.ADEPTError: Adobe Digital Editions not activated
DeDRM v10.0.9: Finished after 0.4 seconds
Traceback (most recent call last):
  File "calibre\customize\ui.py", line 530, in get_file_type_metadata
  File "calibre\customize\builtins.py", line 331, in get_metadata
  File "calibre\ebooks\metadata\pdf.py", line 131, in get_metadata
ValueError: Could not read info dict from PDF
stdout+stderr from file dialog helper: [b'', b'']
piped data from file dialog helper: [b'\x15\xa8\x1bA\xc3\xa24\x8c\xd1\xbd\xd7\xd6\xd0\x7f\xe9\x1e\rMQ\xc8\xd6\xc4\xe0V\xba\xa3\xe2\x82_\xd32\xaa', b'C:\\Users\\alber\\Downloads\\GPCert Cardio-Small Animal Cardiology (IIL-016-ONS).pdf']
Added GPCert Cardio-Small Animal Cardiology (IIL-016-ONS) to db in: 0.2
Syntax Error: Couldn't find the 'EBX_HANDLER' security handler

pdfinfo errored out with return code: 1
Failed to count pages in book: 4 PDF with error:
Traceback (most recent call last):
  File "calibre\library\page_count.py", line 43, in count_pages_pdf
  File "calibre\utils\podofo\__init__.py", line 183, in get_page_count
podofo.Error: PdfErrorCode::UnsupportedFilter
Callstack:t#0 Error Source: main\PdfParser.cpp(97), Information: Unable to load objects from file
t#1 Error Source: main\PdfParser.cpp(593), Information: Error while loading object 4061 0 R
t#2 Error Source: main\PdfEncrypt.cpp(501), Information: Unsupported encryption filter: EBX_HANDLER
File: main\PdfParser.cpp Line: 97 Unable to load objects from file
File: main\PdfParser.cpp Line: 593 Error while loading object 4061 0 R
File: main\PdfEncrypt.cpp Line: 501 Unsupported encryption filter: EBX_HANDLER


During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "calibre\library\page_count.py", line 266, in serve_requests
  File "calibre\library\page_count.py", line 196, in count_pages
  File "calibre\library\page_count.py", line 49, in count_pages_pdf
  File "subprocess.py", line 473, in check_output
  File "subprocess.py", line 578, in run
subprocess.CalledProcessError: Command '['C:\\Tools\\Calibre\\Calibre Portable\\Calibre\\app\\bin\\pdfinfo.exe', '-']' returned non-zero exit status 1.

Added 1 books in 1.2 seconds
[10020.12] Shutdown starting...
[10020.14] Shutdown message shown...
[10020.14] Grid view shutdown
[10020.14] Bookshelf view shutdown
[10020.14] Actions shutdown
[10020.34] Various services shutdown
[10020.34] Metadata backup shutdown
[10020.46] Current database closed
[10020.47] Windows hidden
[10020.51] Waiting for overseers, mdns, and live to shutdown
[10020.51] Waiting for device manager to shutdown
[10020.51] Shutdown complete in 0.39, quitting...

Activity

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Projects

    No projects

      Milestone

      No milestone

      Relationships

      None yet

      Development

      No branches or pull requests

      Issue actions