Closed alexreg closed 1 month ago
Did you have a previous version of the plugin installed or is this a clean install? Does this also happen after restarting Calibre?
Clean install. And yes, happens after restarting, I'm afraid.
I got the same error when trying a clean install of the plugin (never used it before) with calibre portable 7.1.0.
I downgraded calibre to 6.29 portable, and the plugin installed without errors and works fine.
Wonderful plugin btw, thanks for maintaining it :)
Interesting. Are you on MacOS as well?
I don't think I have tested a clean install on Calibre 7 yet, I've just updated from 6.x and made sure it still works.
I'm on Windows 11. Edit: I upgraded calibre to 7.1.0 again, plugin still works.
Error still occurs for me on Calibre 7.1 on macOS.
Interesting. I completely removed the plugin from Calibre, updated 7.1, installed it again, and it still just worked fine (on Linux). I'm going to set up a VM to try a clean new install of Calibre 7.1 where it was never installed in the past.
I'm experiencing the same issue on FreeBSD. It looks like the plugin zip file is not being added to sys.path
, while on Linux it is, and I'm really not sure why.
Anyhow I think the correct way to load modules within a plugin is with the magic prefix, eg: calibre_plugins.deacsm.libadobe
. If I change all imports to look like that, it works fine! But then the test fails of course. Let me see if there's a way to fix that.
Welp, the tests don't run on FreeBSD anyhow, because there's no legacy algorithm support in libcrypto. It looks like the tests use rc2-cbc-pkcs5.
Any update on this yet?
Works nicely for me now, I'm glad to say; thanks!
Bug description
To reproduce:
bundle_calibre_plugin.sh
script.calibre-plugin.zip
in Calibre.Operating system
MacOS
Which version of Calibre are you running?
7.0.0
Which version of the ACSM Input plugin are you running?
Git master branch
Import type
No response
Further information