Giter Club home page Giter Club logo

Comments (12)

apprenticeharper avatar apprenticeharper commented on June 20, 2024

I don't recognize those errors at all. I'll try to reproduce, but I'd be surprised if it was a plugin error.

from dedrm_tools.

apprenticeharper avatar apprenticeharper commented on June 20, 2024

I don't have a valid, incorrect .der file to test with. Could you email me one of yours? [email protected] Thanks.

from dedrm_tools.

apprenticeharper avatar apprenticeharper commented on June 20, 2024

I can't reproduce on Windows with calibre 2.2.2 and 6.,3.3. Just trying with 2.4.0 and 6.3.4

Microsoft Windows Version 6.3.9600 2013 Microsoft Corporation. All rights reserved.

C:\Users\Harper>calibre-debug -g
calibre 2.22 [64bit] isfrozen: True is64bit: True
Windows-8-6.2.9200 Windows ('64bit', 'WindowsPE')
('Windows', '8', '6.2.9200')
Python 2.7.9
Windows: ('8', '6.2.9200', '', 'Multiprocessor Free')
Successfully initialized third party plugins: DeDRM && Obok DeDRM
Starting up...
DEBUG: 0.0 obok::utilities.py - loading translations
DEBUG: 0.0 obok::dialogs.py - loading translations
DEBUG: 0.0 obok::config.py - loading translations
DEBUG: 0.0 using xml.etree for xml parsing
DEBUG: 0.1 obok::action_err.py - loading translations
Started up in 2.97 seconds with 8 books
DeDRM v6.3.3: Trying to decrypt Floating Gold A Natural (and Unnatural) History
of Ambergris.epub
DeDRM v6.3.3: Verifying zip archive integrity
DeDRM v6.3.3: Floating Gold A Natural (and Unnatural) History of Ambergris.epub
is a secure Adobe Adept ePub
DeDRM v6.3.3: Trying Encryption key other_key
DeDRM v6.3.3: Exception when decrypting after 0.2 seconds
Traceback (most recent call last):
File "calibre_plugins.dedrm.init", line 292, in ePubDecrypt
File "calibre_plugins.dedrm.ineptepub", line 398, in decryptBook
File "calibre_plugins.dedrm.ineptepub", line 313, in init
File "calibre_plugins.dedrm.ineptepub", line 290, in getChild
File "calibre_plugins.dedrm.ineptepub", line 227, in get
ASN1Error: Error decoding ASN.1
DeDRM v6.3.3: Failed to decrypt with key other_key after 0.2 seconds
DeDRM v6.3.3: Trying Encryption key real_key
DeDRM v6.3.3: Finished after 1.3 seconds
Added Floating Gold: A Natural (and Unnatural) History of Ambergris to db in: 0.
4
Added 1 books in 4.0 seconds

from dedrm_tools.

apprenticeharper avatar apprenticeharper commented on June 20, 2024

Can't reproduce with 6.3.4 and 2.2.2, although there's something nasty going on at the end.

Microsoft Windows Version 6.3.9600 2013 Microsoft Corporation. All rights reserved.

C:\Users\Harper>calibre-debug -g
calibre 2.22 [64bit] isfrozen: True is64bit: True
Windows-8-6.2.9200 Windows ('64bit', 'WindowsPE')
('Windows', '8', '6.2.9200')
Python 2.7.9
Windows: ('8', '6.2.9200', '', 'Multiprocessor Free')
Successfully initialized third party plugins: DeDRM && Obok DeDRM
Starting up...
DEBUG: 0.0 obok::utilities.py - loading translations
DEBUG: 0.0 obok::dialogs.py - loading translations
DEBUG: 0.0 obok::config.py - loading translations
DEBUG: 0.0 using xml.etree for xml parsing
DEBUG: 0.1 obok::action_err.py - loading translations
Started up in 2.62 seconds with 7 books
DeDRM v6.3.4: Trying to decrypt Floating Gold A Natural (and Unnatural) History
of Ambergris.epub
DeDRM v6.3.4: Verifying zip archive integrity
DeDRM v6.3.4: Floating Gold A Natural (and Unnatural) History of Ambergris.epub
is a secure Adobe Adept ePub
DeDRM v6.3.4: Trying Encryption key real_key
DeDRM v6.3.4: Finished after 1.4 seconds
Added Floating Gold: A Natural (and Unnatural) History of Ambergris to db in: 1.
4
Added 1 books in 5.3 seconds
DeDRM v6.3.4: Trying to decrypt Floating Gold A Natural (and Unnatural) History
of Ambergris.epub
DeDRM v6.3.4: Verifying zip archive integrity
DeDRM v6.3.4: Floating Gold A Natural (and Unnatural) History of Ambergris.epub
is a secure Adobe Adept ePub
DeDRM v6.3.4: Trying Encryption key other_key
DeDRM v6.3.4: Exception when decrypting after 0.2 seconds
Traceback (most recent call last):
File "calibre_plugins.dedrm.init", line 293, in ePubDecrypt
File "calibre_plugins.dedrm.ineptepub", line 398, in decryptBook
File "calibre_plugins.dedrm.ineptepub", line 313, in init
File "calibre_plugins.dedrm.ineptepub", line 290, in getChild
File "calibre_plugins.dedrm.ineptepub", line 227, in get
ASN1Error: Error decoding ASN.1
DeDRM v6.3.4: Failed to decrypt with key other_key after 0.2 seconds
DeDRM v6.3.4: Looking for new default Adobe Digital Editions Keys after 0.2 seco
nds
Found 1 keys
DeDRM v6.3.4: Trying a new default key
DeDRM v6.3.4: Saving a new default key
DeDRM v6.3.4: Saved a new default key after 1.4 seconds
DeDRM v6.3.4: Finished after 1.4 seconds
Added Floating Gold: A Natural (and Unnatural) History of Ambergris to db in: 0.
4
Added 1 books in 4.3 seconds
Exception TypeError: "'NoneType' object is not callable" in <bound method Native
Function.del of <calibre_plugins.dedrm.adobekey.NativeFunction object at 0x0
000000003DF4E10>> ignored
Exception TypeError: "'NoneType' object is not callable" in <bound method Native
Function.del of <calibre_plugins.dedrm.adobekey.NativeFunction object at 0x0
000000003DF4CC0>> ignored

from dedrm_tools.

apprenticeharper avatar apprenticeharper commented on June 20, 2024

And as expected, I can't reproduce with calibre 2.4.0 and DeDRM 6.3.4 either.

C:\Users\Harper>calibre-debug -g
calibre 2.40 [64bit] isfrozen: True is64bit: True
Windows-8-6.2.9200 Windows ('64bit', 'WindowsPE')
('Windows', '8', '6.2.9200')
Python 2.7.9
Windows: ('8', '6.2.9200', '', 'Multiprocessor Free')
Successfully initialized third party plugins: DeDRM && Obok DeDRM
Registering with default programs...
Starting up...
Upgrading database to version 22...
DEBUG: 0.0 obok::utilities.py - loading translations
DEBUG: 0.0 obok::dialogs.py - loading translations
DEBUG: 0.0 obok::config.py - loading translations
DEBUG: 0.1 using xml.etree for xml parsing
DEBUG: 0.1 obok::action_err.py - loading translations
Registered with default programs in 3.7 seconds
Started up in 6.46 seconds with 8 books
DeDRM v6.3.4: Trying to decrypt Floating Gold A Natural (and Unnatural) History
of Ambergris.epub
DeDRM v6.3.4: Verifying zip archive integrity
DeDRM v6.3.4: Floating Gold A Natural (and Unnatural) History of Ambergris.epub
is a secure Adobe Adept ePub
DeDRM v6.3.4: Trying Encryption key other_key
DeDRM v6.3.4: Exception when decrypting after 0.5 seconds
Traceback (most recent call last):
File "calibre_plugins.dedrm.init", line 293, in ePubDecrypt
File "calibre_plugins.dedrm.ineptepub", line 398, in decryptBook
File "calibre_plugins.dedrm.ineptepub", line 313, in init
File "calibre_plugins.dedrm.ineptepub", line 290, in getChild
File "calibre_plugins.dedrm.ineptepub", line 227, in get
ASN1Error: Error decoding ASN.1
DeDRM v6.3.4: Failed to decrypt with key other_key after 0.5 seconds
DeDRM v6.3.4: Trying Encryption key default_key
DeDRM v6.3.4: Finished after 2.6 seconds
Added Floating Gold: A Natural (and Unnatural) History of Ambergris to db in: 0.
5
Added 1 books in 5.6 seconds

from dedrm_tools.

apprenticeharper avatar apprenticeharper commented on June 20, 2024

Since I don't have a Linux-based machine, I don't think there's a lot more that I can do. But if you could post a full log, I could try to spot some way to catch the error and allow the further keys to be used. (The snippets you've posted so far give no context as to when the error happens.)

I suspect that the error is actually down to the particular variety and version of Linux you have.

from dedrm_tools.

clayote avatar clayote commented on June 20, 2024
sanotehu@sanotehu-P1801:~/src/LiSE$ which calibre-debug
/usr/bin/calibre-debug
sanotehu@sanotehu-P1801:~/src/LiSE$ calibre-debug -g
calibre 2.33  isfrozen: False is64bit: True
Linux-4.2.0-16-generic-x86_64-with-Ubuntu-15.10-wily Linux ('64bit', 'ELF')
('Linux', '4.2.0-16-generic', '#19-Ubuntu SMP Thu Oct 8 15:35:06 UTC 2015')
Python 2.7.10
Linux: ('Ubuntu', '15.10', 'wily')
Successfully initialized third party plugins: DeDRM
Starting up...
Started up in 1.82 seconds with 289 books
KSambaShare: Could not find smb.conf!
DeDRM v6.3.4: Trying to decrypt The_Annihilation_Score_0001.epub
DeDRM v6.3.4: Verifying zip archive integrity
DeDRM v6.3.4: The_Annihilation_Score_0001.epub is a secure Adobe Adept ePub
DeDRM v6.3.4: Trying Encryption key calibre-adeptkey

and then, as above.

I didn't think that would be very helpful but there you go ...

from dedrm_tools.

apprenticeharper avatar apprenticeharper commented on June 20, 2024

Thanks. It is, at least, helpful in a negative way - there's nothing obvious in there that's causing a problem.

So, a closer look at the error:

No node found for item that was just removed: QUrl( "file:///home/sanotehu/Documents/My Digital Editions/manifest.xml" )

Clearly something to do with Adobe Digital Editions, but nothing that the DeDRM plugin code is referencing. A puzzle indeed.

I'll see if I can add some more error handling to get both keys tried no matter what's throwing the error.

from dedrm_tools.

apprenticeharper avatar apprenticeharper commented on June 20, 2024

OK, I have a test version for you to try. Please email me directly, [email protected] and I'll send it to you.

from dedrm_tools.

apprenticeharper avatar apprenticeharper commented on June 20, 2024

I don't seem to have received an email from you. If you are still having problems, let me know by email and I'll re-open this issue.

from dedrm_tools.

Evidlo avatar Evidlo commented on June 20, 2024

I'm also seeing this issue with DeDRM 6.6.3 and Calibre 3.36.

from dedrm_tools.

ElleKayEm avatar ElleKayEm commented on June 20, 2024

Post a log if you want someone to take a look.

from dedrm_tools.

Related Issues (20)

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. 📊📈🎉

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google ❤️ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.