noDRM / DeDRM_tools

DeDRM tools for ebooks
7.29k stars 323 forks source link

DeDRM not working on Calibre 6.10 #244

Open jaceyjacey opened 1 year ago

jaceyjacey commented 1 year ago

Question / bug report

Don't know if it's a new issue but I got the book from Overdrive. Thanks

Which version of Calibre are you running?

6.10

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

ApplicationPaletteChange event ignored
Using calibre Qt style: True
ApplicationPaletteChange event received
calibre Debug log
calibre 6.10  embedded-python: True
Windows-10-10.0.19044-SP0 Windows ('64bit', 'WindowsPE')
('Windows', '10', '10.0.19044')
Python 3.10.1
Windows: ('10', '10.0.19044', 'SP0', 'Multiprocessor Free')
Interface language: None
Successfully initialized third party plugins: DeDRM (10, 0, 3)
calibre 6.10  embedded-python: True
Windows-10-10.0.19044-SP0 Windows ('64bit', 'WindowsPE')
('Windows', '10', '10.0.19044')
Python 3.10.1
Windows: ('10', '10.0.19044', 'SP0', 'Multiprocessor Free')
Interface language: None
Successfully initialized third party plugins: DeDRM (10, 0, 3)
QPA platform: windows
devicePixelRatio: 1.0
logicalDpi: 96.0 x 96.0
physicalDpi: 95.6235294117647 x 94.59310344827585
[0.00] Starting up...
[0.00] Showing splash screen...
[0.16] splash screen shown
[0.16] Initializing db...
[0.16] db initialized
[0.16] Constructing main UI...
Screens currently in system:
{'depth': 32,
 'device_pixel_ratio': 1.0,
 'geometry_in_logical_pixels': {'height': 1080, 'width': 1920, 'x': 0, 'y': 0},
 'index_in_screens_list': 0,
 'manufacturer': '',
 'model': '',
 'name': '\\\\.\\DISPLAY5',
 'serial': '',
 'size_in_logical_pixels': {'height': 1080, 'width': 1920},
 'virtual_geometry': {'height': 1080, 'width': 3840, 'x': 0, 'y': 0}}
{'depth': 32,
 'device_pixel_ratio': 1.0,
 'geometry_in_logical_pixels': {'height': 1080,
                                'width': 1920,
                                'x': 1920,
                                'y': 0},
 'index_in_screens_list': 1,
 'manufacturer': '',
 'model': '',
 'name': '\\\\.\\DISPLAY1',
 'serial': '',
 'size_in_logical_pixels': {'height': 1080, 'width': 1920},
 'virtual_geometry': {'height': 1080, 'width': 3840, 'x': 0, 'y': 0}}
Restoring geometry for: calibre_main_window_geometry
{'frame_geometry': {'height': 806, 'width': 1205, 'x': 1944, 'y': 160},
 'full_screened': False,
 'geometry': {'height': 775, 'width': 1205, 'x': 1944, 'y': 191},
 'maximized': False,
 'normal_geometry': {'height': 775, 'width': 1205, 'x': 1944, 'y': 191},
 'screen': {'depth': 32,
            'device_pixel_ratio': 1.0,
            'geometry_in_logical_pixels': {'height': 1080,
                                           'width': 1920,
                                           'x': 1920,
                                           'y': 0},
            'index_in_screens_list': 1,
            'manufacturer': '',
            'model': '',
            'name': '\\\\.\\DISPLAY1',
            'serial': '',
            'size_in_logical_pixels': {'height': 1080, 'width': 1920},
            'virtual_geometry': {'height': 1080,
                                 'width': 3840,
                                 'x': 0,
                                 'y': 0}}}
Matching screen: {'depth': 32,
 'device_pixel_ratio': 1.0,
 'geometry_in_logical_pixels': {'height': 1080,
                                'width': 1920,
                                'x': 1920,
                                'y': 0},
 'index_in_screens_list': 1,
 'manufacturer': '',
 'model': '',
 'name': '\\\\.\\DISPLAY1',
 'serial': '',
 'size_in_logical_pixels': {'height': 1080, 'width': 1920},
 'virtual_geometry': {'height': 1080, 'width': 3840, 'x': 0, 'y': 0}}
Moving widget to saved screen
Setting widget geometry to: {'height': 775, 'width': 1205, 'x': 1944, 'y': 191}
[0.69] main UI initialized...
[0.69] Hiding splash screen
Starting QuickView
DeDRM v10.0.3: Trying to decrypt Carrie Soto Is Back-Part01.epub
DeDRM v10.0.3: Verifying zip archive integrity
FontDecrypt: Checking OEBPS/9780385695800.opf for IETF font obfuscation keys ... found '9780385695800' (EbookISBN)
FontDecrypt: Checking OEBPS/9780385695800.opf for Adobe font obfuscation keys ... not found
FontDecrypt: There's remaining entries in encryption.xml, adding file ...
DeDRM v10.0.3: Post-processing took 0.1 seconds
DeDRM v10.0.3: Finished after 0.2 seconds
[8.20] splash screen hidden
[8.20] Started up in 8.20 seconds with 75 books
Added Carrie Soto Is Back: A Novel to db in: 3.7
ElleKayEm commented 1 year ago

Looks like the main DRM may be removed, but there's still an embedded font causing an issue. You might be able to read it in another ereader app. But just not calibre's.

jaceyjacey commented 1 year ago

I tried it with another book and Adobe Digital Editions and on my Kobo ereader. No go. DRM error.

ElleKayEm commented 1 year ago

Maybe @noDRM can take a look at it.

noDRM commented 1 year ago

Looks similar to #242, can you test the latest master version ( https://github.com/noDRM/DeDRM_tools/suites/10221472192/artifacts/500856155 ) and see if that helps?

If it doesn't, can you take the book with removed DRM, rename it to ZIP, open it, and post the encryption.xml here (or send me an email to the address in my profile if it's too large)?

jaceyjacey commented 1 year ago

email sent. thanks!

junipermoss commented 1 year ago

trying to problem solve alongside this thread but the new master version couldn't install

edit: wow okay nevermind i figured it out and also installed the obok plug in and it worked !! tysm <3

p.s. would love to throw some beer money your way

jaceyjacey commented 1 year ago

trying to problem solve alongside this thread but the new master version couldn't install

edit: wow okay nevermind i figured it out and also installed the obok plug in and it worked !! tysm <3

p.s. would love to throw some beer money your way

Did you have the same font error too?

junipermoss commented 1 year ago

not sure if it was a font issue... i think the problem was that i didn't install the obok plugin alongside the DeDRM. when i tried it before i got it to work, i was just getting a pdf with blank pages and random symbols and letters as the chapter titles.

ElleKayEm commented 1 year ago

@junipermoss The Obok plugin is for books downloaded with Kobo Desktop or a Kobo ereader and works completely independently of DeDRM which handles Adobe DRM and others.

jaceyjacey commented 1 year ago

@noDRM any luck?

junipermoss commented 1 year ago

interesting well i'm not sure why it worked then lol

samsenrohm commented 1 year ago

B0BSVL2X6Z_EBOK.zip

Just downloaded this file from Amazon... still getting the DRM message.

Any suggestions?

ElleKayEm commented 1 year ago

@samsenrohm Since this was just published, you'd need to have an E-ink Kindle to be able to decrypt it. See top of this post for info on Amazon's recent change: https://www.mobileread.com/forums/showthread.php?t=283371

ElleKayEm commented 1 year ago

@samsenrohm Actually it looks like this book isn't available to E-ink Kindles. I'll reply in the new issue you started.