Giter VIP home page Giter VIP logo

Comments (20)

Leseratte10 avatar Leseratte10 commented on May 11, 2024
  • What do you mean with "it claims missing Adobe Digital Edition"?
  • What is the exact error message?
  • Please send me a debug log. Open Calibre, then click "Preferences" -> "Restart in debug mode". Then Calibre will restart, then perform the action that causes the error (probably adding the ACSM file), then close Calibre. A text file should then be opened with some more verbose logs.
  • In the plugin settings, does it correctly display something like "Authorized with AdobeID [email protected] on device yourdevice"? Or does it display any error message there?

The plugin is intended to work on all OSes that Calibre supports. I did test it myself on Windows a while ago and it worked just fine. I did not test v0.0.10 specifically, but I didn't really change any OS-specific stuff recently so I would be very surprised if there's a general error breaking Windows support for everyone. Also, quite a few people seem to be using this on Windows without issues.

from acsm-calibre-plugin.

johunb avatar johunb commented on May 11, 2024

Here are the logs:

calibre, version 5.30.0
ERROR: Unhandled exception: OSError:[WinError 1155] Der angegebenen Datei ist keine Anwendung zugeordnet: 'C:\Users\Admin\Calibre Library\Unknown\Windows10fuumlrSeniorenfuumlrDummies (2)\Windows10fuumlrSeniorenfuumlrDu - Unknown.acsm'

calibre 5.30 [64bit] embedded-python: True is64bit: True
Windows-10-10.0.18362 Windows ('64bit', 'WindowsPE')
('Windows', '10', '10.0.18362')
Python 3.8.5
Windows: ('10', '10.0.18362', '', 'Multiprocessor Free')
Interface language: None
Successfully initialized third party plugins: DeACSM (0, 0, 10) && DeDRM (7, 2, 1) && Obok DeDRM (7, 2, 1)
Traceback (most recent call last):
File "calibre\gui2\actions\view.py", line 295, in view_triggered
File "calibre\gui2\actions\view.py", line 372, in _view_books
File "calibre\gui2\actions\view.py", line 324, in _view_calibre_books
File "calibre\gui2\actions\view.py", line 150, in view_format_by_id
File "calibre\gui2\actions\view.py", line 206, in _view_file
File "calibre\gui2\actions\view.py", line 196, in launch_viewer
File "calibre\gui2_init
.py", line 1310, in open_local_file
OSError: [WinError 1155] Der angegebenen Datei ist keine Anwendung zugeordnet: 'C:\Users\Admin\Calibre Library\Unknown\Windows10fuumlrSeniorenfuumlrDummies (2)\Windows10fuumlrSeniorenfuumlrDu - Unknown.acsm'

and:
calibre 5.30 [64bit] embedded-python: True is64bit: True
Windows-10-10.0.18362 Windows ('64bit', 'WindowsPE')
('Windows', '10', '10.0.18362')
Python 3.8.5
Windows: ('10', '10.0.18362', '', 'Multiprocessor Free')
Interface language: None
DeACSM v0.0.10: Copying needed library files from plugin zip
Successfully initialized third party plugins: DeACSM (0, 0, 10) && DeDRM (7, 2, 1) && Obok DeDRM (7, 2, 1)
Turning on automatic hidpi scaling
devicePixelRatio: 1.0
logicalDpi: 96.0 x 96.0
physicalDpi: 95.81139489194499 x 95.9160839160839
Using calibre Qt style: True
[0.00] Starting up...
[0.00] Showing splash screen...
[0.38] splash screen shown
[0.38] Initializing db...
[0.38] db initialized
[0.38] Constructing main UI...
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 obok::action_err.py - loading translations
[0.88] main UI initialized...
[0.88] Hiding splash screen
Starting QuickView
[1.03] splash screen hidden
[1.03] Started up in 1.03 seconds with 1 books
stdout+stderr from file dialog helper: [b'', b'']
piped data from file dialog helper: [b'\xe8\xf5\xb6\x8e\xf9\xffK\xaa+\x9a\x93v\xe1%\xf8Z\x80&3\x1a\xbcE\xe2\xb2\x9bC\r|\xfa\xca$\xde', b'C:\Users\Admin\Downloads\Windows10fuumlrSeniorenfuumlrDummies9783527815494.acsm']
Running file type plugin DeACSM failed with traceback:
Traceback (most recent call last):
File "urllib\request.py", line 1350, in do_open
File "http\client.py", line 1255, in request
File "http\client.py", line 1301, in _send_request
File "http\client.py", line 1250, in endheaders
File "http\client.py", line 1010, in _send_output
File "http\client.py", line 950, in send
File "http\client.py", line 1424, in connect
File "ssl.py", line 500, in wrap_socket
File "ssl.py", line 1040, in _create
File "ssl.py", line 1309, in do_handshake
ssl.SSLCertVerificationError: [SSL: CERTIFICATE_VERIFY_FAILED] certificate verify failed: certificate has expired (_ssl.c:1123)

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
File "calibre\customize\ui.py", line 175, in _run_filetype_plugins
File "calibre_plugins.deacsm.init", line 296, in run
File "calibre_plugins.deacsm.libadobeFulfill", line 373, in fulfill
File "calibre_plugins.deacsm.libadobeFulfill", line 650, in fetchLicenseServiceCertificate
File "calibre_plugins.deacsm.libadobe", line 227, in sendHTTPRequest
File "calibre_plugins.deacsm.libadobe", line 172, in sendHTTPRequest_getSimple
File "urllib\request.py", line 222, in urlopen
File "urllib\request.py", line 525, in open
File "urllib\request.py", line 542, in _open
File "urllib\request.py", line 502, in _call_chain
File "urllib\request.py", line 1393, in https_open
File "urllib\request.py", line 1353, in do_open
urllib.error.URLError: <urlopen error [SSL: CERTIFICATE_VERIFY_FAILED] certificate verify failed: certificate has expired (_ssl.c:1123)>
DeACSM v0.0.10: Copying needed library files from plugin zip
DeACSM v0.0.10: Trying to parse file Windows10fuumlrSeniorenfuumlrDummies9783527815494.acsm
DeACSM v0.0.10: Try to fulfill ...
Notifying server ...
Notifying server https://acsepub.contentreserve.com/fulfillment/FulfillmentNotification
Fulfillment notification successful.
Notifying optional server https://ofs.contentreserve.com/ACSNotificationService.svc/Notify
Weird Fulfillment Notification response:
calibre 5.30 [64bit] embedded-python: True is64bit: True
Windows-10-10.0.18362 Windows ('64bit', 'WindowsPE')
('Windows', '10', '10.0.18362')
Python 3.8.5
Windows: ('10', '10.0.18362', '', 'Multiprocessor Free')
Interface language: None
Successfully initialized third party plugins: DeACSM (0, 0, 10) && DeDRM (7, 2, 1) && Obok DeDRM (7, 2, 1)
Traceback (most recent call last):
File "calibre\gui2\actions\view.py", line 295, in view_triggered
File "calibre\gui2\actions\view.py", line 372, in _view_books
File "calibre\gui2\actions\view.py", line 324, in _view_calibre_books
File "calibre\gui2\actions\view.py", line 150, in view_format_by_id
File "calibre\gui2\actions\view.py", line 206, in _view_file
File "calibre\gui2\actions\view.py", line 196, in launch_viewer
File "calibre\gui2_init
.py", line 1310, in open_local_file
OSError: [WinError 1155] Der angegebenen Datei ist keine Anwendung zugeordnet: 'C:\Users\Admin\Calibre Library\Unknown\Windows10fuumlrSeniorenfuumlrDummies (2)\Windows10fuumlrSeniorenfuumlrDu - Unknown.acsm'

Added Windows10fuumlrSeniorenfuumlrDummies9783527815494 to db in: 0.1
Added 1 books in 14.9 seconds

Thank you!

from acsm-calibre-plugin.

johunb avatar johunb commented on May 11, 2024

What do you mean with "it claims missing Adobe Digital Edition"? It seems that Calibre want's to have installed ADE. ADE ist not installed.
What is the exact error message? Please see logs
In the plugin settings, does it correctly display something like "Authorized with AdobeID [email protected] on device yourdevice"? Or does it display any error message there? Yes, it correctly displays "Authorized with AdobeID ..."

from acsm-calibre-plugin.

Leseratte10 avatar Leseratte10 commented on May 11, 2024

Interesting. This same ACSM file is working just fine on Linux?

That error in the Calibre logs ("Der angegebenen Datei ist keine Anwendung zugeordnet") happens because the DeACSM plugin itself crashes, and then Calibre tries to use the "normal" way to open an ACSM file without any plugins, which obviously doesn't work.

The main cause for the plugin crashing is that one of the SSL certificates of the distributor (the shop you bought that book at) appears to have expired: <urlopen error [SSL: CERTIFICATE_VERIFY_FAILED] certificate verify failed: certificate has expired (_ssl.c:1123)>. It's pretty unlikely for that to be the case on Linux but not on Windows ...

Did you test this exact ACSM file (or at least ACSM files from the same book store) on Linux?

I will try making the plugin ignore expired SSL certs like this.

EDIT: The system time on your Windows machine is set correctly?

from acsm-calibre-plugin.

Leseratte10 avatar Leseratte10 commented on May 11, 2024

@johunb can you please try this test version of the plugin and see if that works? If it doesn't, please send me another debug log with this version, and please tell me what it says for "OperatorURL" when you open the ACSM file in a text editor.

Also, if this new version still doesn't work, please check if it works when you disable "Notify ACS server after successful fulfillment" in the plugin settings.

EDIT: Removed debug test version, bugfix will be included in next release.

from acsm-calibre-plugin.

johunb avatar johunb commented on May 11, 2024

I have just loaded the same eBook in my Linux enviroment with DeACSM_0.0.10 without any errors.

I will test you plugin. Just a moment ...

from acsm-calibre-plugin.

johunb avatar johunb commented on May 11, 2024

I am sorry, same error. Mhh ...

from acsm-calibre-plugin.

Leseratte10 avatar Leseratte10 commented on May 11, 2024

Same error? Interesting. Can you post a full debug log again, please?
I'll add some more logging then, I guess.

What happens when you try to access https://ofs.contentreserve.com/ACSNotificationService.svc/Notify on the Windows machine in MS Edge / Internet Explorer? It's supposed to display a blue bar ("Service") and an error message "Method not allowed.". If that page is also displaying SSL errors in normal web browsers on Windows then there might be an issue with your certificate store on Windows (see https://letsencrypt.org/docs/dst-root-ca-x3-expiration-september-2021 ). If that's the case (IE / Edge displaying SSL errors on that webpage) make sure you have all Windows updates installed.

EDIT: I wouldn't be surprised if this was this exact bug: https://www.reddit.com/r/learnpython/comments/q5fffb/windows_python_397_urllib_and_dst_root_ca_x3_lets/

from acsm-calibre-plugin.

johunb avatar johunb commented on May 11, 2024

It seems to work now. My Adobe ID was banned, had to crate a new one. Here is my log:

calibre 5.30 [64bit] embedded-python: True is64bit: True
Windows-10-10.0.18362 Windows ('64bit', 'WindowsPE')
('Windows', '10', '10.0.18362')
Python 3.8.5
Windows: ('10', '10.0.18362', '', 'Multiprocessor Free')
Interface language: None
DeACSM v0.0.10: Copying needed library files from plugin zip
Successfully initialized third party plugins: DeACSM (0, 0, 10) && DeDRM (7, 2, 1) && Obok DeDRM (7, 2, 1)
Turning on automatic hidpi scaling
devicePixelRatio: 1.0
logicalDpi: 96.0 x 96.0
physicalDpi: 95.81139489194499 x 95.9160839160839
Using calibre Qt style: True
[0.00] Starting up...
[0.02] Showing splash screen...
[0.41] splash screen shown
[0.41] Initializing db...
[0.41] db initialized
[0.41] Constructing main UI...
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 obok::action_err.py - loading translations
[0.91] main UI initialized...
[0.91] Hiding splash screen
Starting QuickView
[1.05] splash screen hidden
[1.05] Started up in 1.05 seconds with 1 books
stdout+stderr from file dialog helper: [b'', b'']
piped data from file dialog helper: [b'\xce~\x05#(\xff42@\x1f\xfd{\xe9U\x19@%\x90\xcb\x10B\xe7hvo\x9e\x8b\xca\xe0\x84Y\xa1', b'C:\Users\Admin\Downloads\Windows10fuumlrSeniorenfuumlrDummies9783527815494.acsm']
DeDRM v7.2.1: Trying to decrypt ogm87ztk.epub
DeDRM v7.2.1: Verifying zip archive integrity
DeDRM v7.2.1: ogm87ztk.epub is a secure Adobe Adept ePub
DeDRM v7.2.1: Looking for new default Adobe Digital Editions Keys after 0.1 seconds
DeDRM v7.2.1: Exception when getting default Adobe Key after 0.1 seconds
Traceback (most recent call last):
File "calibre_plugins.dedrm.adobekey", line 358, in adeptkeys
FileNotFoundError: [WinError 2] Das System kann die angegebene Datei nicht finden

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
File "calibre_plugins.dedrm.init", line 358, in ePubDecrypt
File "calibre_plugins.dedrm.adobekey", line 361, in adeptkeys
calibre_plugins.dedrm.adobekey.ADEPTError: Adobe Digital Editions not activated
DeDRM v7.2.1: Ultimately failed to decrypt after 0.1 seconds. Read the FAQs at Harper's repository: https://github.com/apprenticeharper/DeDRM_tools/blob/master/FAQs.md
DeACSM v0.0.10: Error while checking for DeDRM plugin.
DeACSM v0.0.10: Copying needed library files from plugin zip
DeACSM v0.0.10: Trying to parse file Windows10fuumlrSeniorenfuumlrDummies9783527815494.acsm
DeACSM v0.0.10: Try to fulfill ...
Notifying server ...
Notifying server https://acsepub.contentreserve.com/fulfillment/FulfillmentNotification
Fulfillment notification successful.
Notifying optional server https://ofs.contentreserve.com/ACSNotificationService.svc/Notify
Weird Fulfillment Notification response:
DeACSM v0.0.10: Downloading book ...
DeACSM v0.0.10: Loading book from https://acs.cdn.overdrive.com/ACSStore1/0128-1/6A6/CB3/5E/{6A6CB35E-0303-4999-BEB5-B1899AE626C6}Fmt410.epub
Download took 4124 ms (HTTP 200)
That's a ZIP file -> EPUB
DeACSM v0.0.10: File successfully fulfilled ...
DeACSM v0.0.10: Executing DeDRM plugin ...
Exception ignored in: <function NativeFunction.del at 0x000002AD35C3D790>
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 0x000002AD35C3D790>
Traceback (most recent call last):
File "calibre_plugins.dedrm.adobekey", line 268, in del
TypeError: 'NoneType' object is not callable
Added Windows 10 für Senioren für Dummies to db in: 0.1
Added 1 books in 19.2 seconds
Worker Launch took: 0.00 seconds
stdout+stderr from file dialog helper: [b'', b'']
piped data from file dialog helper: [b'=\x1b{\xf3\x19\xbd\xe1\xb83Kh\x14\xfd\xb1$\x9f\xfd\xc7\x07\xe3\xa9LUX\xe3\xff\xf5V\xbe\xfb\x1fL', b'C:\Users\Admin\Downloads\adobe_encryption_key.der']
stdout+stderr from file dialog helper: [b'', b'']
piped data from file dialog helper: [b'@\x18\xd1~\xbe\xde\xddC\x11Z\xf7re\xe4\xd4\xa4\xd5\xdfsZ\xc8&Q\xfds&\x7fh)\xe7\xc3\xf2', b'C:\Users\Admin\Downloads\Windows10fuumlrSeniorenfuumlrDummies9783527815494.acsm']
DeDRM v7.2.1: Trying to decrypt ewc8idk9.epub
DeDRM v7.2.1: Verifying zip archive integrity
DeDRM v7.2.1: ewc8idk9.epub is a secure Adobe Adept ePub
DeDRM v7.2.1: Trying Encryption key adobe_encryption_key
DeDRM v7.2.1: Decrypted with key adobe_encryption_key after 1.5 seconds
DeDRM v7.2.1: Finished after 1.5 seconds
DeACSM v0.0.10: Copying needed library files from plugin zip
DeACSM v0.0.10: Trying to parse file Windows10fuumlrSeniorenfuumlrDummies9783527815494.acsm
DeACSM v0.0.10: Try to fulfill ...
Notifying server ...
Notifying server https://acsepub.contentreserve.com/fulfillment/FulfillmentNotification
Fulfillment notification successful.
Notifying optional server https://ofs.contentreserve.com/ACSNotificationService.svc/Notify
Weird Fulfillment Notification response:
DeACSM v0.0.10: Downloading book ...
DeACSM v0.0.10: Loading book from https://acs.cdn.overdrive.com/ACSStore1/0128-1/6A6/CB3/5E/{6A6CB35E-0303-4999-BEB5-B1899AE626C6}Fmt410.epub
Download took 4296 ms (HTTP 200)
That's a ZIP file -> EPUB
DeACSM v0.0.10: File successfully fulfilled ...
DeACSM v0.0.10: Executing DeDRM plugin ...
Added Windows 10 für Senioren für Dummies to db in: 0.1
Added 1 books in 9.6 seconds
Worker Launch took: 0.02 seconds

from acsm-calibre-plugin.

johunb avatar johunb commented on May 11, 2024

What happens when you try to access https://ofs.contentreserve.com/ACSNotificationService.svc/Notify on the Windows machine in MS Edge / Internet Explorer? It's supposed to display a blue bar ("Service") and an error message "Method not allowed." It displays "Method not allowed."

from acsm-calibre-plugin.

Leseratte10 avatar Leseratte10 commented on May 11, 2024

Interesting that it would work now. Why did your AdobeID get banned / how did you figure out it was banned? The previous errors you had definitely weren't caused by a banned AdobeID. I guess it was just issues with the Windows cert store. The reddit thread mentioned that visiting a webpage like this in Edge / IE once can fix these Windows certificate issues, so maybe that's what's happened here.

Would you mind checking if the latest official v0.0.10 (so, not the patched version I sent you) now works as well with that book? If it does then I don't need to include that workaround for everyone.

from acsm-calibre-plugin.

johunb avatar johunb commented on May 11, 2024

Yes, I will check. Just a moment ...

from acsm-calibre-plugin.

johunb avatar johunb commented on May 11, 2024

Same error with the latest official v0.0.10 (so, not the patched version you sent) plugin:
calibre, version 5.30.0
ERROR: Unhandled exception: OSError:[WinError 1155] Der angegebenen Datei ist keine Anwendung zugeordnet: 'C:\Users\Admin\Calibre Library\Unknown\Windows10fuumlrSeniorenfuumlrDummies (4)\Windows10fuumlrSeniorenfuumlrDu - Unknown.acsm'

calibre 5.30 [64bit] embedded-python: True is64bit: True
Windows-10-10.0.18362 Windows ('64bit', 'WindowsPE')
('Windows', '10', '10.0.18362')
Python 3.8.5
Windows: ('10', '10.0.18362', '', 'Multiprocessor Free')
Interface language: None
Successfully initialized third party plugins: DeACSM (0, 0, 10) && DeDRM (7, 2, 1) && Obok DeDRM (7, 2, 1)
Traceback (most recent call last):
File "calibre\gui2\actions\view.py", line 295, in view_triggered
File "calibre\gui2\actions\view.py", line 372, in _view_books
File "calibre\gui2\actions\view.py", line 324, in _view_calibre_books
File "calibre\gui2\actions\view.py", line 150, in view_format_by_id
File "calibre\gui2\actions\view.py", line 206, in _view_file
File "calibre\gui2\actions\view.py", line 196, in launch_viewer
File "calibre\gui2_init
.py", line 1310, in open_local_file
OSError: [WinError 1155] Der angegebenen Datei ist keine Anwendung zugeordnet: 'C:\Users\Admin\Calibre Library\Unknown\Windows10fuumlrSeniorenfuumlrDummies (4)\Windows10fuumlrSeniorenfuumlrDu - Unknown.acsm'

from acsm-calibre-plugin.

johunb avatar johunb commented on May 11, 2024

calibre 5.30 [64bit] embedded-python: True is64bit: True
Windows-10-10.0.18362 Windows ('64bit', 'WindowsPE')
('Windows', '10', '10.0.18362')
Python 3.8.5
Windows: ('10', '10.0.18362', '', 'Multiprocessor Free')
Interface language: None
DeACSM v0.0.10: Copying needed library files from plugin zip
Successfully initialized third party plugins: DeACSM (0, 0, 10) && DeDRM (7, 2, 1) && Obok DeDRM (7, 2, 1)
Turning on automatic hidpi scaling
devicePixelRatio: 1.0
logicalDpi: 96.0 x 96.0
physicalDpi: 95.81139489194499 x 95.9160839160839
Using calibre Qt style: True
[0.00] Starting up...
[0.02] Showing splash screen...
[0.41] splash screen shown
[0.41] Initializing db...
[0.41] db initialized
[0.41] Constructing main UI...
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 obok::action_err.py - loading translations
[0.91] main UI initialized...
[0.91] Hiding splash screen
Starting QuickView
[1.05] splash screen hidden
[1.05] Started up in 1.05 seconds with 1 books
stdout+stderr from file dialog helper: [b'', b'']
piped data from file dialog helper: [b'\xce~\x05#(\xff42@\x1f\xfd{\xe9U\x19@%\x90\xcb\x10B\xe7hvo\x9e\x8b\xca\xe0\x84Y\xa1', b'C:\Users\Admin\Downloads\Windows10fuumlrSeniorenfuumlrDummies9783527815494.acsm']
DeDRM v7.2.1: Trying to decrypt ogm87ztk.epub
DeDRM v7.2.1: Verifying zip archive integrity
DeDRM v7.2.1: ogm87ztk.epub is a secure Adobe Adept ePub
DeDRM v7.2.1: Looking for new default Adobe Digital Editions Keys after 0.1 seconds
DeDRM v7.2.1: Exception when getting default Adobe Key after 0.1 seconds
Traceback (most recent call last):
File "calibre_plugins.dedrm.adobekey", line 358, in adeptkeys
FileNotFoundError: [WinError 2] Das System kann die angegebene Datei nicht finden

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
File "calibre_plugins.dedrm.init", line 358, in ePubDecrypt
File "calibre_plugins.dedrm.adobekey", line 361, in adeptkeys
calibre_plugins.dedrm.adobekey.ADEPTError: Adobe Digital Editions not activated
DeDRM v7.2.1: Ultimately failed to decrypt after 0.1 seconds. Read the FAQs at Harper's repository: https://github.com/apprenticeharper/DeDRM_tools/blob/master/FAQs.md
DeACSM v0.0.10: Error while checking for DeDRM plugin.
DeACSM v0.0.10: Copying needed library files from plugin zip
DeACSM v0.0.10: Trying to parse file Windows10fuumlrSeniorenfuumlrDummies9783527815494.acsm
DeACSM v0.0.10: Try to fulfill ...
Notifying server ...
Notifying server https://acsepub.contentreserve.com/fulfillment/FulfillmentNotification
Fulfillment notification successful.
Notifying optional server https://ofs.contentreserve.com/ACSNotificationService.svc/Notify
Weird Fulfillment Notification response:
DeACSM v0.0.10: Downloading book ...
DeACSM v0.0.10: Loading book from https://acs.cdn.overdrive.com/ACSStore1/0128-1/6A6/CB3/5E/{6A6CB35E-0303-4999-BEB5-B1899AE626C6}Fmt410.epub
Download took 4124 ms (HTTP 200)
That's a ZIP file -> EPUB
DeACSM v0.0.10: File successfully fulfilled ...
DeACSM v0.0.10: Executing DeDRM plugin ...
Exception ignored in: <function NativeFunction.del at 0x000002AD35C3D790>
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 0x000002AD35C3D790>
Traceback (most recent call last):
File "calibre_plugins.dedrm.adobekey", line 268, in del
TypeError: 'NoneType' object is not callable
Added Windows 10 für Senioren für Dummies to db in: 0.1
Added 1 books in 19.2 seconds
Worker Launch took: 0.00 seconds
stdout+stderr from file dialog helper: [b'', b'']
piped data from file dialog helper: [b'=\x1b{\xf3\x19\xbd\xe1\xb83Kh\x14\xfd\xb1$\x9f\xfd\xc7\x07\xe3\xa9LUX\xe3\xff\xf5V\xbe\xfb\x1fL', b'C:\Users\Admin\Downloads\adobe_encryption_key.der']
stdout+stderr from file dialog helper: [b'', b'']
piped data from file dialog helper: [b'@\x18\xd1~\xbe\xde\xddC\x11Z\xf7re\xe4\xd4\xa4\xd5\xdfsZ\xc8&Q\xfds&\x7fh)\xe7\xc3\xf2', b'C:\Users\Admin\Downloads\Windows10fuumlrSeniorenfuumlrDummies9783527815494.acsm']
DeDRM v7.2.1: Trying to decrypt ewc8idk9.epub
DeDRM v7.2.1: Verifying zip archive integrity
DeDRM v7.2.1: ewc8idk9.epub is a secure Adobe Adept ePub
DeDRM v7.2.1: Trying Encryption key adobe_encryption_key
DeDRM v7.2.1: Decrypted with key adobe_encryption_key after 1.5 seconds
DeDRM v7.2.1: Finished after 1.5 seconds
DeACSM v0.0.10: Copying needed library files from plugin zip
DeACSM v0.0.10: Trying to parse file Windows10fuumlrSeniorenfuumlrDummies9783527815494.acsm
DeACSM v0.0.10: Try to fulfill ...
Notifying server ...
Notifying server https://acsepub.contentreserve.com/fulfillment/FulfillmentNotification
Fulfillment notification successful.
Notifying optional server https://ofs.contentreserve.com/ACSNotificationService.svc/Notify
Weird Fulfillment Notification response:
DeACSM v0.0.10: Downloading book ...
DeACSM v0.0.10: Loading book from https://acs.cdn.overdrive.com/ACSStore1/0128-1/6A6/CB3/5E/{6A6CB35E-0303-4999-BEB5-B1899AE626C6}Fmt410.epub
Download took 4296 ms (HTTP 200)
That's a ZIP file -> EPUB
DeACSM v0.0.10: File successfully fulfilled ...
DeACSM v0.0.10: Executing DeDRM plugin ...
Added Windows 10 für Senioren für Dummies to db in: 0.1
Added 1 books in 9.6 seconds
Worker Launch took: 0.02 seconds
calibre 5.30 [64bit] embedded-python: True is64bit: True
Windows-10-10.0.18362 Windows ('64bit', 'WindowsPE')
('Windows', '10', '10.0.18362')
Python 3.8.5
Windows: ('10', '10.0.18362', '', 'Multiprocessor Free')
Interface language: None
DeACSM v0.0.10: Copying needed library files from plugin zip
Successfully initialized third party plugins: DeACSM (0, 0, 10) && DeDRM (7, 2, 1) && Obok DeDRM (7, 2, 1)
Turning on automatic hidpi scaling
devicePixelRatio: 1.0
logicalDpi: 96.0 x 96.0
physicalDpi: 95.81139489194499 x 95.9160839160839
Using calibre Qt style: True
[0.00] Starting up...
[0.00] Showing splash screen...
[0.38] splash screen shown
[0.38] Initializing db...
[0.38] db initialized
[0.38] Constructing main UI...
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 obok::action_err.py - loading translations
[0.88] main UI initialized...
[0.88] Hiding splash screen
Starting QuickView
[1.00] splash screen hidden
[1.00] Started up in 1.00 seconds with 1 books
stdout+stderr from file dialog helper: [b'', b'']
piped data from file dialog helper: [b'\x97d\t\xda\x99\xb8\x973o\x80\xa1\x1a\xa8$p\xefs\xe3\nad\x91+\x8e\xac\xa4\x92\tF\xaaWq', b'C:\Users\Admin\Downloads\Windows10fuumlrSeniorenfuumlrDummies9783527815494.acsm']
DeACSM v0.0.10: Copying needed library files from plugin zip
DeACSM v0.0.10: Trying to parse file Windows10fuumlrSeniorenfuumlrDummies9783527815494.acsm
DeACSM v0.0.10: Try to fulfill ...
DeACSM v0.0.10: Hey, that didn't work:
Looks like there's been an error during Fulfillment:

calibre 5.30 [64bit] embedded-python: True is64bit: True
Windows-10-10.0.18362 Windows ('64bit', 'WindowsPE')
('Windows', '10', '10.0.18362')
Python 3.8.5
Windows: ('10', '10.0.18362', '', 'Multiprocessor Free')
Interface language: None
Successfully initialized third party plugins: DeACSM (0, 0, 10) && DeDRM (7, 2, 1) && Obok DeDRM (7, 2, 1)
Traceback (most recent call last):
File "calibre\gui2\actions\view.py", line 295, in view_triggered
File "calibre\gui2\actions\view.py", line 372, in _view_books
File "calibre\gui2\actions\view.py", line 324, in _view_calibre_books
File "calibre\gui2\actions\view.py", line 150, in view_format_by_id
File "calibre\gui2\actions\view.py", line 206, in _view_file
File "calibre\gui2\actions\view.py", line 196, in launch_viewer
File "calibre\gui2_init
.py", line 1310, in open_local_file
OSError: [WinError 1155] Der angegebenen Datei ist keine Anwendung zugeordnet: 'C:\Users\Admin\Calibre Library\Unknown\Windows10fuumlrSeniorenfuumlrDummies (5)\Windows10fuumlrSeniorenfuumlrDu - Unknown.acsm'

Added Windows10fuumlrSeniorenfuumlrDummies9783527815494 to db in: 0.1
Added 1 books in 1.9 seconds

from acsm-calibre-plugin.

johunb avatar johunb commented on May 11, 2024

Why did your AdobeID get banned / how did you figure out it was banned?
I have unloaded the plugin in Calibre and deletes all files under C:\Users\Admin\AppData\Roaming\calibre\plugins\DeACSM.
Then tried to authorize again and got an error to many attempts ...

from acsm-calibre-plugin.

Leseratte10 avatar Leseratte10 commented on May 11, 2024

Well, I guess I'll add the changes in your test version to the main code and make an v0.0.11 so everyone gets that bugfix. It's not really an ideal solution, but as long as it works ...

As for the AdobeID stuff, great that it's just been the usual "out of activations" error. I thought Adobe actually manually banned the account for something.

from acsm-calibre-plugin.

johunb avatar johunb commented on May 11, 2024

Does the "out of activations" error mean, that I can never again authorize with that Adobe ID or is this a time limited out of activation error?

from acsm-calibre-plugin.

Leseratte10 avatar Leseratte10 commented on May 11, 2024

I believe the error goes away eventually, but not like tomorrow or next week. More like "next year, if you're lucky".
Though I believe you can call the Adobe US support (or use their web chat) and just "play dumb" and say something like "I had to reinstall my computer and now it says I ran out of activations can you reset it", and they'll usually reset the counter so you have another six activations (without it deleting the previous activations, so all your devices stay linked).
Just don't mention anything about Calibre, this plugin, or DRM removal to them.

from acsm-calibre-plugin.

johunb avatar johunb commented on May 11, 2024

I will not call the Adobe US Support. I have no linked devices. I have created a new Adobe ID and will backup the authorization data now ... ;-)
Thank you so much for your quick and qualified support!

from acsm-calibre-plugin.

Leseratte10 avatar Leseratte10 commented on May 11, 2024

The bugfix for this is now included in v0.0.11, so I'm closing this issue. If this occurs again, feel free to comment here again (or open a new issue).

from acsm-calibre-plugin.

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.