Register Guidelines E-Books Today's Posts Search

Go Back   MobileRead Forums > E-Book Software > Calibre > Plugins

Notices

Reply
 
Thread Tools Search this Thread
Old 10-01-2022, 01:55 PM   #241
Leseratte_10
Groupie
Leseratte_10 ought to be getting tired of karma fortunes by now.Leseratte_10 ought to be getting tired of karma fortunes by now.Leseratte_10 ought to be getting tired of karma fortunes by now.Leseratte_10 ought to be getting tired of karma fortunes by now.Leseratte_10 ought to be getting tired of karma fortunes by now.Leseratte_10 ought to be getting tired of karma fortunes by now.Leseratte_10 ought to be getting tired of karma fortunes by now.Leseratte_10 ought to be getting tired of karma fortunes by now.Leseratte_10 ought to be getting tired of karma fortunes by now.Leseratte_10 ought to be getting tired of karma fortunes by now.Leseratte_10 ought to be getting tired of karma fortunes by now.
 
Posts: 183
Karma: 3587000
Join Date: Sep 2021
Device: PB Era, PB InkPad 3 Pro
Okay, looking at that log, the error message is "E_LIC_ALREADY_FULFILLED_BY_ANOTHER_USER", which means that this particular ACSM file has already been "used up" by another AdobeID / ADE account.

The account email you used for the book provider / book shop doesn't matter, but this error from your log indicates that you've already downloaded that book with another ADE account in the past and thus can't re-download it with another ADE account which you currently have in the plugin. You'd need to figure out what other account you used for the first download of that book, and need to use that account for future downloads of that same file.
Leseratte_10 is offline   Reply With Quote
Old 10-01-2022, 03:53 PM   #242
Patricia1066
Zealot
Patricia1066 is a splendid one to beholdPatricia1066 is a splendid one to beholdPatricia1066 is a splendid one to beholdPatricia1066 is a splendid one to beholdPatricia1066 is a splendid one to beholdPatricia1066 is a splendid one to beholdPatricia1066 is a splendid one to beholdPatricia1066 is a splendid one to beholdPatricia1066 is a splendid one to beholdPatricia1066 is a splendid one to beholdPatricia1066 is a splendid one to behold
 
Patricia1066's Avatar
 
Posts: 135
Karma: 19894
Join Date: Mar 2010
Location: Bromley, UK
Device: Kindle 11th gen, Kindle KB 3rd gen
Quote:
Originally Posted by Leseratte_10 View Post
Okay, looking at that log, the error message is "E_LIC_ALREADY_FULFILLED_BY_ANOTHER_USER", which means that this particular ACSM file has already been "used up" by another AdobeID / ADE account.

The account email you used for the book provider / book shop doesn't matter, but this error from your log indicates that you've already downloaded that book with another ADE account in the past and thus can't re-download it with another ADE account which you currently have in the plugin. You'd need to figure out what other account you used for the first download of that book, and need to use that account for future downloads of that same file.
Thanks for identifying the reason. I will check my ADE account again
Patricia1066 is offline   Reply With Quote
Advert
Old 10-08-2022, 09:42 AM   #243
jerik
Junior Member
jerik began at the beginning.
 
Posts: 3
Karma: 10
Join Date: Oct 2022
Device: Kindle
Web server GUI

Hi,

Thanks for a great plugin! It works prefect in calibre GUI!



Have somebody tested to add books in the web server GUI? It works but doesn't get the correct metadata I have attached the logs first when I add a acsm book in the web server GUI and then in the calibre GUI.

Is this a Calibre bug or a plugin bug?

I am running MacOS Monterey, Calibre 6.6.1, DeACSM v0.0.16, DeDRM v10.0.3.

Best regards
Attached Files
File Type: txt tmp1bygi44p.txt (19.5 KB, 107 views)
jerik is offline   Reply With Quote
Old 10-08-2022, 10:08 AM   #244
Leseratte_10
Groupie
Leseratte_10 ought to be getting tired of karma fortunes by now.Leseratte_10 ought to be getting tired of karma fortunes by now.Leseratte_10 ought to be getting tired of karma fortunes by now.Leseratte_10 ought to be getting tired of karma fortunes by now.Leseratte_10 ought to be getting tired of karma fortunes by now.Leseratte_10 ought to be getting tired of karma fortunes by now.Leseratte_10 ought to be getting tired of karma fortunes by now.Leseratte_10 ought to be getting tired of karma fortunes by now.Leseratte_10 ought to be getting tired of karma fortunes by now.Leseratte_10 ought to be getting tired of karma fortunes by now.Leseratte_10 ought to be getting tired of karma fortunes by now.
 
Posts: 183
Karma: 3587000
Join Date: Sep 2021
Device: PB Era, PB InkPad 3 Pro
I have not used the Web UI of Calibre before, but I suspect it's going to be a Calibre bug.

There was a similar bug in Calibre ( see https://bugs.launchpad.net/calibre/+bug/1945889 ) that caused this exact issue (metadata missing) with books added through the auto-add folder feature of Calibre which got fixed in 5.29.

I'll try to get the Web UI set up and do some tests, then I'll report that bug to the Calibre dev to hopefully get it fixed.

EDIT: Can confirm, that's a Calibre bug, will report to the developer.

EDIT 2: Here's the bug report: https://bugs.launchpad.net/calibre/+bug/1992244

Last edited by Leseratte_10; 10-08-2022 at 10:18 AM.
Leseratte_10 is offline   Reply With Quote
Old 10-08-2022, 04:42 PM   #245
jerik
Junior Member
jerik began at the beginning.
 
Posts: 3
Karma: 10
Join Date: Oct 2022
Device: Kindle
Quote:
Originally Posted by Leseratte_10 View Post
I have not used the Web UI of Calibre before, but I suspect it's going to be a Calibre bug.

There was a similar bug in Calibre ( see https://bugs.launchpad.net/calibre/+bug/1945889 ) that caused this exact issue (metadata missing) with books added through the auto-add folder feature of Calibre which got fixed in 5.29.

I'll try to get the Web UI set up and do some tests, then I'll report that bug to the Calibre dev to hopefully get it fixed.

EDIT: Can confirm, that's a Calibre bug, will report to the developer.

EDIT 2: Here's the bug report: https://bugs.launchpad.net/calibre/+bug/1992244
Thanks Man!
jerik is offline   Reply With Quote
Advert
Old 10-09-2022, 03:41 PM   #246
Leseratte_10
Groupie
Leseratte_10 ought to be getting tired of karma fortunes by now.Leseratte_10 ought to be getting tired of karma fortunes by now.Leseratte_10 ought to be getting tired of karma fortunes by now.Leseratte_10 ought to be getting tired of karma fortunes by now.Leseratte_10 ought to be getting tired of karma fortunes by now.Leseratte_10 ought to be getting tired of karma fortunes by now.Leseratte_10 ought to be getting tired of karma fortunes by now.Leseratte_10 ought to be getting tired of karma fortunes by now.Leseratte_10 ought to be getting tired of karma fortunes by now.Leseratte_10 ought to be getting tired of karma fortunes by now.Leseratte_10 ought to be getting tired of karma fortunes by now.
 
Posts: 183
Karma: 3587000
Join Date: Sep 2021
Device: PB Era, PB InkPad 3 Pro
Looks like this bug has now been fixed, so with the next release of Calibre next Friday this should work as intended without a plugin update.

EDIT: Nope, Calibre 6.7 is now released but it's even buggier than before, I've updated the bug report.

Last edited by Leseratte_10; 10-14-2022 at 06:50 AM.
Leseratte_10 is offline   Reply With Quote
Old 10-14-2022, 07:52 AM   #247
jerik
Junior Member
jerik began at the beginning.
 
Posts: 3
Karma: 10
Join Date: Oct 2022
Device: Kindle
yep tested myself you are right something is not right I can add a book and get the right metadata but the book is not saved as a epub instead only the acsm file is saved.

Thanks for the update of the bug report.

I attached my logs for adding two books if that to any need!
Attached Files
File Type: txt logFromMacCalibre3_7.txt (16.2 KB, 92 views)
jerik is offline   Reply With Quote
Old 10-14-2022, 08:46 AM   #248
Leseratte_10
Groupie
Leseratte_10 ought to be getting tired of karma fortunes by now.Leseratte_10 ought to be getting tired of karma fortunes by now.Leseratte_10 ought to be getting tired of karma fortunes by now.Leseratte_10 ought to be getting tired of karma fortunes by now.Leseratte_10 ought to be getting tired of karma fortunes by now.Leseratte_10 ought to be getting tired of karma fortunes by now.Leseratte_10 ought to be getting tired of karma fortunes by now.Leseratte_10 ought to be getting tired of karma fortunes by now.Leseratte_10 ought to be getting tired of karma fortunes by now.Leseratte_10 ought to be getting tired of karma fortunes by now.Leseratte_10 ought to be getting tired of karma fortunes by now.
 
Posts: 183
Karma: 3587000
Join Date: Sep 2021
Device: PB Era, PB InkPad 3 Pro
Thanks, I already tested it myself and reported it back to the developer. That bug is now fixed as well in Calibre 6.7.1.

Last edited by Leseratte_10; 10-15-2022 at 06:24 AM.
Leseratte_10 is offline   Reply With Quote
Old 10-23-2022, 02:23 PM   #249
jestew
Junior Member
jestew began at the beginning.
 
Posts: 1
Karma: 10
Join Date: Oct 2022
Device: none
Mac M1 error

Hi I'm using Calibre 6.7.1 and when I attempt to import the plugin (either from the zip download or built from git clone) I get the following error:

calibre, version 6.7.1
ERROR: Unhandled exception: <b>InvalidPlugin</b>:Initialisation of plug-in Traceback (most recent call last):
File "calibre/customize/ui.py", line 676, in initialize_plugin
File "calibre_plugins.deacsm.__init__", line 261, in initialize
from libadobe import createDeviceKeyFile, update_account_path, sendHTTPRequest
File "/Users/jasons/Downloads/DeACSM_0.0.16.zip/libadobe.py", line 59, in &lt;module&gt;
from oscrypto import keys
ModuleNotFoundError: No module named 'oscrypto'
failed with traceback:
Traceback (most recent call last):
File "calibre/customize/ui.py", line 676, in initialize_plugin
File "calibre_plugins.deacsm.__init__", line 261, in initialize
from libadobe import createDeviceKeyFile, update_account_path, sendHTTPRequest
File "/Users/jasons/Downloads/DeACSM_0.0.16.zip/libadobe.py", line 59, in &lt;module&gt;
from oscrypto import keys
ModuleNotFoundError: No module named 'oscrypto'


calibre 6.7.1 embedded-python: True
macOS-12.4-arm64-arm-64bit Darwin ('64bit', '')
('Darwin', '21.5.0', 'Darwin Kernel Version 21.5.0: Tue Apr 26 21:08:37 PDT 2022; root:xnu-8020.121.3~4/RELEASE_ARM64_T6000')
Python 3.10.1
OSX: ('12.4', ('', '', ''), 'arm64')
Interface language: en_GB
Successfully initialized third party plugins: DeDRM (7, 2, 1) && ACSM Input Plugin GUI Extension (0, 1, 0)
Traceback (most recent call last):
File "calibre/customize/ui.py", line 676, in initialize_plugin
File "calibre_plugins.deacsm.__init__", line 261, in initialize
from libadobe import createDeviceKeyFile, update_account_path, sendHTTPRequest
File "/Users/jasons/Downloads/DeACSM_0.0.16.zip/libadobe.py", line 59, in <module>
from oscrypto import keys
ModuleNotFoundError: No module named 'oscrypto'

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
File "calibre/gui2/preferences/plugins.py", line 325, in add_plugin
File "calibre/customize/ui.py", line 486, in add_plugin
File "calibre/customize/ui.py", line 681, in initialize_plugin
calibre.customize.InvalidPlugin: Initialisation of plug-in Traceback (most recent call last):
File "calibre/customize/ui.py", line 676, in initialize_plugin
File "calibre_plugins.deacsm.__init__", line 261, in initialize
from libadobe import createDeviceKeyFile, update_account_path, sendHTTPRequest
File "/Users/jasons/Downloads/DeACSM_0.0.16.zip/libadobe.py", line 59, in <module>
from oscrypto import keys
ModuleNotFoundError: No module named 'oscrypto'
failed with traceback:
Traceback (most recent call last):
File "calibre/customize/ui.py", line 676, in initialize_plugin
File "calibre_plugins.deacsm.__init__", line 261, in initialize
from libadobe import createDeviceKeyFile, update_account_path, sendHTTPRequest
File "/Users/jasons/Downloads/DeACSM_0.0.16.zip/libadobe.py", line 59, in <module>
from oscrypto import keys
ModuleNotFoundError: No module named 'oscrypto'

Any idea?
jestew is offline   Reply With Quote
Old 10-23-2022, 11:13 PM   #250
Leseratte_10
Groupie
Leseratte_10 ought to be getting tired of karma fortunes by now.Leseratte_10 ought to be getting tired of karma fortunes by now.Leseratte_10 ought to be getting tired of karma fortunes by now.Leseratte_10 ought to be getting tired of karma fortunes by now.Leseratte_10 ought to be getting tired of karma fortunes by now.Leseratte_10 ought to be getting tired of karma fortunes by now.Leseratte_10 ought to be getting tired of karma fortunes by now.Leseratte_10 ought to be getting tired of karma fortunes by now.Leseratte_10 ought to be getting tired of karma fortunes by now.Leseratte_10 ought to be getting tired of karma fortunes by now.Leseratte_10 ought to be getting tired of karma fortunes by now.
 
Posts: 183
Karma: 3587000
Join Date: Sep 2021
Device: PB Era, PB InkPad 3 Pro
Looks like you have a mixup of different versions. The log says "DeACSM 0.0.16" but "ACSM Input Plugin GUI Extension 0.1.0".

I'd say try removing the plugin completely then reinstall it and see if the issue still occurs.
Leseratte_10 is offline   Reply With Quote
Old 11-02-2022, 11:23 AM   #251
dasan
Junior Member
dasan began at the beginning.
 
Posts: 1
Karma: 10
Join Date: Nov 2022
Device: none
I tried downloading a very old book series from Archive.org
Volume one was downloaded only after I exported from DEACSM the anonymous Adobe account key and imported it into Dedrm.
After like 15 minutes I tried to download the second volume and for some reason it only imported the .ACSM file. I tried returing all books from Deacsm then re-downloading the second volume but still no success.
I can't figure out what's wrong.
I also tried to reinstall Calibre but it seems that after reinstalling Calibre back your plugin and Dedrm plugin remains. Not sure how I can delete truly all files that remain after uninstalling Calibre.
I'm using Fedora Linux.

Last edited by dasan; 11-02-2022 at 11:27 AM.
dasan is offline   Reply With Quote
Old 11-02-2022, 11:19 PM   #252
Leseratte_10
Groupie
Leseratte_10 ought to be getting tired of karma fortunes by now.Leseratte_10 ought to be getting tired of karma fortunes by now.Leseratte_10 ought to be getting tired of karma fortunes by now.Leseratte_10 ought to be getting tired of karma fortunes by now.Leseratte_10 ought to be getting tired of karma fortunes by now.Leseratte_10 ought to be getting tired of karma fortunes by now.Leseratte_10 ought to be getting tired of karma fortunes by now.Leseratte_10 ought to be getting tired of karma fortunes by now.Leseratte_10 ought to be getting tired of karma fortunes by now.Leseratte_10 ought to be getting tired of karma fortunes by now.Leseratte_10 ought to be getting tired of karma fortunes by now.
 
Posts: 183
Karma: 3587000
Join Date: Sep 2021
Device: PB Era, PB InkPad 3 Pro
Plugins are installed into your user folder (~./config/calibre/plugins on Linux ) so they stay even after a reinstall. You'd have to delete that folder or delete plugins through Calibre to get rid of everything.

If the plugin keeps the ACSM file there was an error while turning it into an EPUB or PDF file.
I'd need to see the logfile to find out why.

In Calibre, right-click the "Preferences" button then select "Restart in debug mode". When Calibre restarted, try to import the ACSM file again then close Calibre. After that a log file should pop up which you can post here.
Leseratte_10 is offline   Reply With Quote
Old 11-12-2022, 02:02 PM   #253
laurensb
Junior Member
laurensb began at the beginning.
 
Posts: 1
Karma: 10
Join Date: Nov 2022
Device: PocketBook HD 3
Hi Leseratte_10,

Thanks a lot for your work on this plug-in! It's a massive help towards managing my book collecting without resorting to all sorts of Wine shenanigans on Ubuntu. I am running Calibre 5.37 in combination with 0.0.16 of your plug-in. I am trying to import an ACSM file for a book purchased on Google Play. I am getting the following error message however:

DeACSM v0.0.16: Trying to parse file Leviathan_Wakes-epub.acsm
DeACSM v0.0.16: Try to fulfill ...
Post request caused HTTPError 404
Running file type plugin DeACSM failed with traceback:
Traceback (most recent call last):
File "/usr/lib/calibre/calibre/customize/ui.py", line 175, in _run_filetype_plugins
nfp = plugin.run(nfp) or nfp
File "calibre_plugins.deacsm.__init__", line 416, in run
success, replyData = fulfill(path_to_ebook, deacsmprefs["notify_fulfillment"])
File "/home/laurens/.config/calibre/plugins/DeACSM.zip/libadobeFulfill.py", line 442, in fulfill
replyData = sendRequestDocu(fulfill_req_signed, fulfillURL).decode("utf-8")
AttributeError: 'NoneType' object has no attribute 'decode'

First importing URLLink.acsm as suggested before and then importing the book again doesn't seem to fix anything unfortunately. I have tried various combinations of ADE versions to emulate and turning on/off the notification after fulfilment as well, but that doesn't seem to change anything either

Is there anything else I can try to make this work?

Thanks!
laurensb is offline   Reply With Quote
Old 11-14-2022, 10:05 AM   #254
Leseratte_10
Groupie
Leseratte_10 ought to be getting tired of karma fortunes by now.Leseratte_10 ought to be getting tired of karma fortunes by now.Leseratte_10 ought to be getting tired of karma fortunes by now.Leseratte_10 ought to be getting tired of karma fortunes by now.Leseratte_10 ought to be getting tired of karma fortunes by now.Leseratte_10 ought to be getting tired of karma fortunes by now.Leseratte_10 ought to be getting tired of karma fortunes by now.Leseratte_10 ought to be getting tired of karma fortunes by now.Leseratte_10 ought to be getting tired of karma fortunes by now.Leseratte_10 ought to be getting tired of karma fortunes by now.Leseratte_10 ought to be getting tired of karma fortunes by now.
 
Posts: 183
Karma: 3587000
Join Date: Sep 2021
Device: PB Era, PB InkPad 3 Pro
Hard to say from that error log. Can you enable verbose logging in the plugin settings and send me the debug log in a private message?
Leseratte_10 is offline   Reply With Quote
Old 11-21-2022, 03:07 PM   #255
dynabook
Techno-geek
dynabook ought to be getting tired of karma fortunes by now.dynabook ought to be getting tired of karma fortunes by now.dynabook ought to be getting tired of karma fortunes by now.dynabook ought to be getting tired of karma fortunes by now.dynabook ought to be getting tired of karma fortunes by now.dynabook ought to be getting tired of karma fortunes by now.dynabook ought to be getting tired of karma fortunes by now.dynabook ought to be getting tired of karma fortunes by now.dynabook ought to be getting tired of karma fortunes by now.dynabook ought to be getting tired of karma fortunes by now.dynabook ought to be getting tired of karma fortunes by now.
 
Posts: 225
Karma: 1116651
Join Date: Nov 2006
Location: Mississippi, USA
Device: PRS-T1 (Black), PRS-T3S (Black), Kobo Aura ONE
I am having the same issue where the ascm file is imported and not turned into an epub. I had updated Calibre to 6.8.0 just before it quit working. I downgraded to 6.7.1 and removed DeASCM and reinstalled (with all the required restarts.) No joy.

I am on a new Windows 11 PC and it had been working great.
--MH
dynabook is offline   Reply With Quote
Reply


Forum Jump

Similar Threads
Thread Thread Starter Forum Replies Last Post
[FileType Plugin] GetFileName Terisa de morgan Plugins 417 07-16-2024 03:37 AM
[FileType Plugin] YVES Bible Plugin ClashTheBunny Plugins 27 01-16-2023 01:25 AM
help with epub on_import filetype plugin digitalvideo Development 4 02-27-2020 05:13 AM
Question about file_types in FileType plugin Terisa de morgan Plugins 6 02-08-2017 05:53 AM
Zip Filetype Plugin? rsingley Plugins 7 02-11-2011 05:11 PM


All times are GMT -4. The time now is 06:00 PM.


MobileRead.com is a privately owned, operated and funded community.