View Single Post
Old 02-25-2025, 02:58 AM   #523
DaRon
Enthusiast
DaRon can extract oil from cheeseDaRon can extract oil from cheeseDaRon can extract oil from cheeseDaRon can extract oil from cheeseDaRon can extract oil from cheeseDaRon can extract oil from cheeseDaRon can extract oil from cheeseDaRon can extract oil from cheeseDaRon can extract oil from cheese
 
DaRon's Avatar
 
Posts: 41
Karma: 1158
Join Date: Nov 2014
Location: Austria
Device: Libra Colour, Mini, Aura One, Pyrus mini
hi all,

first: thank you so much for this plugin - this *might* make life way easier :-)
"might" because: i cannot make it work.

I am running Calibre 7.26 on macos 15.3, with deacsm plugin installed, configured and authorized with my adobe account.

when i drag & drop the acsm file into calibre, it just imports it as acsm file...it wont download the drm'ed epub (or whatever format).
The very same acsm file works when i use it with ADE.

steps i have tried:
deleted and re-did the authorization
changed the ADE version

EDIT 1:
think i found the issue... (tried it a few times):
Code:
Running file type plugin DeACSM failed with traceback:
Traceback (most recent call last):
  File "calibre/customize/ui.py", line 200, in _run_filetype_plugins
  File "calibre_plugins.deacsm.__init__", line 416, in run
    success, replyData = fulfill(path_to_ebook, deacsmprefs["notify_fulfillment"])
                         ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
  File "/Users/daron/Library/Preferences/calibre/plugins/DeACSM.zip/libadobeFulfill.py", line 425, in fulfill
    ret = operatorAuth(fulfillURL)
          ^^^^^^^^^^^^^^^^^^^^^^^^
  File "/Users/daron/Library/Preferences/calibre/plugins/DeACSM.zip/libadobeFulfill.py", line 273, in operatorAuth
    ret = doOperatorAuth(operatorURL)
          ^^^^^^^^^^^^^^^^^^^^^^^^^^^
  File "/Users/daron/Library/Preferences/calibre/plugins/DeACSM.zip/libadobeFulfill.py", line 225, in doOperatorAuth
    replyData = sendRequestDocu(auth_req, authURL + "/Auth").decode("utf-8")
                ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
AttributeError: 'NoneType' object has no attribute 'decode'
DeACSM v0.0.16: Trying to parse file book.acsm
DeACSM v0.0.16: Try to fulfill ...
Post request caused HTTPError 403
Running file type plugin DeACSM failed with traceback:
Traceback (most recent call last):
  File "calibre/customize/ui.py", line 200, in _run_filetype_plugins
  File "calibre_plugins.deacsm.__init__", line 416, in run
    success, replyData = fulfill(path_to_ebook, deacsmprefs["notify_fulfillment"])
                         ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
  File "/Users/daron/Library/Preferences/calibre/plugins/DeACSM.zip/libadobeFulfill.py", line 425, in fulfill
    ret = operatorAuth(fulfillURL)
          ^^^^^^^^^^^^^^^^^^^^^^^^
  File "/Users/daron/Library/Preferences/calibre/plugins/DeACSM.zip/libadobeFulfill.py", line 273, in operatorAuth
    ret = doOperatorAuth(operatorURL)
          ^^^^^^^^^^^^^^^^^^^^^^^^^^^
  File "/Users/daron/Library/Preferences/calibre/plugins/DeACSM.zip/libadobeFulfill.py", line 225, in doOperatorAuth
    replyData = sendRequestDocu(auth_req, authURL + "/Auth").decode("utf-8")
                ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
AttributeError: 'NoneType' object has no attribute 'decode'
DeACSM v0.0.16: Trying to parse file book.acsm
DeACSM v0.0.16: Try to fulfill ...
Post request caused HTTPError 403
Added book to db in: 0.0
Added 1 books in 8.0 seconds
Added book to db in: 0.0
Added 1 books in 0.6 seconds
[52.29] Shutdown starting...
[55.57] Shutdown complete, quitting...
Does anyone has a resolution / fix / workaround for this?

Thank you in advance,
DaRon
Attached Files
File Type: txt debug.txt (8.2 KB, 89 views)

Last edited by DaRon; 02-25-2025 at 03:46 AM. Reason: more info after more investigations, added debug log
DaRon is offline   Reply With Quote