View Single Post
Old 07-19-2025, 07:13 PM   #615
gbm
Wizard
gbm ought to be getting tired of karma fortunes by now.gbm ought to be getting tired of karma fortunes by now.gbm ought to be getting tired of karma fortunes by now.gbm ought to be getting tired of karma fortunes by now.gbm ought to be getting tired of karma fortunes by now.gbm ought to be getting tired of karma fortunes by now.gbm ought to be getting tired of karma fortunes by now.gbm ought to be getting tired of karma fortunes by now.gbm ought to be getting tired of karma fortunes by now.gbm ought to be getting tired of karma fortunes by now.gbm ought to be getting tired of karma fortunes by now.
 
Posts: 2,200
Karma: 8888888
Join Date: Jun 2010
Device: Kobo Clara HD,Hisence Sero 7 Pro RIP, Nook STR, jetbook lite
Extract the acsm-calibre-plugin-master.zip file that you downloaded. Go to the folder acsm-calibre-plugin-master. Inside that folder will be the following files/folders:

Folders:

calibre-plugin
migration_plugin
tests
.github*

Files:
bundle_calibre_plugin.sh
bundle_migration_plugin.sh
LICENSE
package_modules.sh
README.md
.gitignore*

*hidden files

Now double click on the bundle_calibre_plugin.sh file--if it asks if you want display or run click run--this will build the file calibre-plugin.zip.

Go to plugins in calibre and click load plugin from file, then navigate to the calibre-plugin.zip click on it then click ok.

That will load the plugin, now you will have config it.

I highly recommend that you get a usb stick and copy your calibre config folder to it and keep it up dated that way if you ever have to do a clean install in the future you will have all of your plugin saved.

bernie




Quote:
Originally Posted by mariowarner View Post
Hi Bernie, would you please share how you installed it? When I install via the Master.zip then I get a bunch of errors when trying to load the calibre-plugin. This happened before as well, until I found that using this artifact https://github.com/Leseratte10/acsm-...ns/14431491679 was working. But now it seems to be expired, and I get the same errors I got back then.
Spoiler:

calibre, version 8.6.0
ERROR: Unhandled exception: <b>InvalidPlugin</b>:Initialization of plugin Traceback (most recent call last):
File "calibre/customize/ui.py", line 744, in initialize_plugin
File "calibre_plugins.deacsm.__init__", line 307, in initialize
File "/var/home/user/.var/app/com.calibre_ebook.calibre/config/calibre/plugins/ACSM Input.zip/libadobe.py", line 61, in &lt;module&gt;
from oscrypto import keys
ImportError: cannot import name 'keys' from 'oscrypto' (/var/home/user/.var/app/com.calibre_ebook.calibre/config/calibre/plugins/ACSMInput/modules/oscrypto/oscrypto/__init__.py)
failed with traceback:
Traceback (most recent call last):
File "calibre/customize/ui.py", line 744, in initialize_plugin
File "calibre_plugins.deacsm.__init__", line 307, in initialize
File "/var/home/user/.var/app/com.calibre_ebook.calibre/config/calibre/plugins/ACSM Input.zip/libadobe.py", line 61, in &lt;module&gt;
from oscrypto import keys
ImportError: cannot import name 'keys' from 'oscrypto' (/var/home/user/.var/app/com.calibre_ebook.calibre/config/calibre/plugins/ACSMInput/modules/oscrypto/oscrypto/__init__.py)


calibre 8.6 embedded-python: True
Linux-6.14.11-300.fc42.x86_64-x86_64-with-glibc2.40 Linux ('64bit', 'ELF')
('Linux', '6.14.11-300.fc42.x86_64', '#1 SMP PREEMPT_DYNAMIC Tue Jun 10 16:24:16 UTC 2025')
Python 3.11.12
Interface language: None
EXE path: /app/lib/calibre/bin/calibre
Successfully initialized third party plugins: ACSM Input Plugin GUI Extension (0, 1, 0)
Traceback (most recent call last):
File "calibre/customize/ui.py", line 744, in initialize_plugin
File "calibre_plugins.deacsm.__init__", line 307, in initialize
File "/var/home/user/.var/app/com.calibre_ebook.calibre/config/calibre/plugins/ACSM Input.zip/libadobe.py", line 61, in <module>
from oscrypto import keys
ImportError: cannot import name 'keys' from 'oscrypto' (/var/home/user/.var/app/com.calibre_ebook.calibre/config/calibre/plugins/ACSMInput/modules/oscrypto/oscrypto/__init__.py)

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
File "calibre/gui2/preferences/plugins.py", line 322, in add_plugin
File "calibre/customize/ui.py", line 547, in add_plugin
File "calibre/customize/ui.py", line 749, in initialize_plugin
calibre.customize.InvalidPlugin: Initialization of plugin Traceback (most recent call last):
File "calibre/customize/ui.py", line 744, in initialize_plugin
File "calibre_plugins.deacsm.__init__", line 307, in initialize
File "/var/home/user/.var/app/com.calibre_ebook.calibre/config/calibre/plugins/ACSM Input.zip/libadobe.py", line 61, in <module>
from oscrypto import keys
ImportError: cannot import name 'keys' from 'oscrypto' (/var/home/user/.var/app/com.calibre_ebook.calibre/config/calibre/plugins/ACSMInput/modules/oscrypto/oscrypto/__init__.py)
failed with traceback:
Traceback (most recent call last):
File "calibre/customize/ui.py", line 744, in initialize_plugin
File "calibre_plugins.deacsm.__init__", line 307, in initialize
File "/var/home/user/.var/app/com.calibre_ebook.calibre/config/calibre/plugins/ACSM Input.zip/libadobe.py", line 61, in <module>
from oscrypto import keys
ImportError: cannot import name 'keys' from 'oscrypto' (/var/home/user/.var/app/com.calibre_ebook.calibre/config/calibre/plugins/ACSMInput/modules/oscrypto/oscrypto/__init__.py)
Spoiler:

gbm is offline   Reply With Quote