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 07-30-2024, 08:51 AM   #466
sgmoore
Zealot
sgmoore ought to be getting tired of karma fortunes by now.sgmoore ought to be getting tired of karma fortunes by now.sgmoore ought to be getting tired of karma fortunes by now.sgmoore ought to be getting tired of karma fortunes by now.sgmoore ought to be getting tired of karma fortunes by now.sgmoore ought to be getting tired of karma fortunes by now.sgmoore ought to be getting tired of karma fortunes by now.sgmoore ought to be getting tired of karma fortunes by now.sgmoore ought to be getting tired of karma fortunes by now.sgmoore ought to be getting tired of karma fortunes by now.sgmoore ought to be getting tired of karma fortunes by now.
 
Posts: 111
Karma: 642206
Join Date: Mar 2021
Device: Kindle Voyage
Quote:
Originally Posted by DNSB View Post
I tried helping a friend to install the ACSM plugin on their computer. I had downloaded the 0.0.16 version from the second message and also the 0.1.0 beta and neither would install. Their computer is running Windows 11. We tried using pip to install oscrypto but that did not work either.
oscrypto should be included in the plugin, but as a zip file which is extracted during installation. Something must be going wrong at that stage which occurs before your error.

I would recommend going to the plugins folder and deleting or renaming the DeACSM folder if it exists.
Then restart calibre in debug mode and try the installation again. If it still fails then post the log from the installation.
sgmoore is offline   Reply With Quote
Old 07-30-2024, 04:11 PM   #467
DNSB
Bibliophagist
DNSB ought to be getting tired of karma fortunes by now.DNSB ought to be getting tired of karma fortunes by now.DNSB ought to be getting tired of karma fortunes by now.DNSB ought to be getting tired of karma fortunes by now.DNSB ought to be getting tired of karma fortunes by now.DNSB ought to be getting tired of karma fortunes by now.DNSB ought to be getting tired of karma fortunes by now.DNSB ought to be getting tired of karma fortunes by now.DNSB ought to be getting tired of karma fortunes by now.DNSB ought to be getting tired of karma fortunes by now.DNSB ought to be getting tired of karma fortunes by now.
 
DNSB's Avatar
 
Posts: 40,647
Karma: 157444382
Join Date: Jul 2010
Location: Vancouver
Device: Kobo Sage, Libra Colour, Lenovo M8 FHD, Paperwhite 4, Tolino epos
Quote:
Originally Posted by sgmoore View Post
oscrypto should be included in the plugin, but as a zip file which is extracted during installation. Something must be going wrong at that stage which occurs before your error.

I would recommend going to the plugins folder and deleting or renaming the DeACSM folder if it exists.
Then restart calibre in debug mode and try the installation again. If it still fails then post the log from the installation.
I was hoping to avoid that. I'm remoting into their computer (it's a bit too far to drive to Saskatoon ) and the connection is painfully slow.

Okay, I removed multiple items with ACSM in their name from calibre's plugin directory and removed a couple of references from .json files. 0.1.0 installed happily after that. Copied the account information back and was able to import a couple of books from Kobo and Google.
DNSB is offline   Reply With Quote
Old 08-11-2024, 10:08 PM   #468
Yelsnia
Junior Member
Yelsnia began at the beginning.
 
Posts: 2
Karma: 10
Join Date: Aug 2024
Device: Kobo Libra H2O
Unable to Install Plugin

I'm running Calibre 6.29.0 (I've also tried 7.16.0 with the same result) on MacOS Sonoma 14.5 and I am running into an error when trying to install the v0.0.16 plugin. The error details are below. Thanks in advance!
Spoiler:

Traceback (most recent call last):
File "calibre/customize/ui.py", line 710, in initialize_plugin
File "calibre_plugins.deacsm.__init__", line 226, in initialize
from libadobe import createDeviceKeyFile, update_account_path, sendHTTPRequest
File "/var/folders/c2/mw3_ntd93slb7z9rw3kcx65w0000gn/C/calibre_6.29.0_tmp_85z_gbn5/n3inm1r0.zip/libadobe.py", line 59, in <module>
from oscrypto import keys
File "/Users/ainsleyshymko/Library/Preferences/calibre/plugins/DeACSM/modules/oscrypto/oscrypto/keys.py", line 5, in <module>
from ._asymmetric import parse_certificate, parse_private, parse_public
File "/Users/ainsleyshymko/Library/Preferences/calibre/plugins/DeACSM/modules/oscrypto/oscrypto/_asymmetric.py", line 27, in <module>
from .kdf import pbkdf1, pbkdf2, pkcs12_kdf
File "/Users/ainsleyshymko/Library/Preferences/calibre/plugins/DeACSM/modules/oscrypto/oscrypto/kdf.py", line 9, in <module>
from .util import rand_bytes
File "/Users/ainsleyshymko/Library/Preferences/calibre/plugins/DeACSM/modules/oscrypto/oscrypto/util.py", line 10, in <module>
from ._mac.util import rand_bytes
File "/Users/ainsleyshymko/Library/Preferences/calibre/plugins/DeACSM/modules/oscrypto/oscrypto/_mac/util.py", line 208, in <module>
from .._openssl._libcrypto import libcrypto
File "/Users/ainsleyshymko/Library/Preferences/calibre/plugins/DeACSM/modules/oscrypto/oscrypto/_openssl/_libcrypto.py", line 24, in <module>
from ._libcrypto_ctypes import (
File "/Users/ainsleyshymko/Library/Preferences/calibre/plugins/DeACSM/modules/oscrypto/oscrypto/_openssl/_libcrypto_ctypes.py", line 30, in <module>
libcrypto = CDLL(libcrypto_path, use_errno=True)
File "ctypes/__init__.py", line 374, in __init__
OSError: dlopen(/usr/local/lib/libcrypto.dylib, 0x0006): tried: '/usr/local/lib/libcrypto.dylib' (mach-o file, but is an incompatible architecture (have 'x86_64', need 'arm64e' or 'arm64')), '/System/Volumes/Preboot/Cryptexes/OS/usr/local/lib/libcrypto.dylib' (no such file), '/usr/local/lib/libcrypto.dylib' (mach-o file, but is an incompatible architecture (have 'x86_64', need 'arm64e' or 'arm64')), '/usr/local/Cellar/openssl@3/3.2.0_1/lib/libcrypto.3.dylib' (mach-o file, but is an incompatible architecture (have 'x86_64', need 'arm64e' or 'arm64')), '/System/Volumes/Preboot/Cryptexes/OS/usr/local/Cellar/openssl@3/3.2.0_1/lib/libcrypto.3.dylib' (no such file), '/usr/local/Cellar/openssl@3/3.2.0_1/lib/libcrypto.3.dylib' (mach-o file, but is an incompatible architecture (have 'x86_64', need 'arm64e' or 'arm64'))

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
File "calibre/gui2/dialogs/plugin_updater.py", line 729, in _install_clicked
File "calibre/customize/ui.py", line 520, in add_plugin
File "calibre/customize/ui.py", line 715, in initialize_plugin
calibre.customize.InvalidPlugin: Initialization of plugin Traceback (most recent call last):
File "calibre/customize/ui.py", line 710, in initialize_plugin
File "calibre_plugins.deacsm.__init__", line 226, in initialize
from libadobe import createDeviceKeyFile, update_account_path, sendHTTPRequest
File "/var/folders/c2/mw3_ntd93slb7z9rw3kcx65w0000gn/C/calibre_6.29.0_tmp_85z_gbn5/n3inm1r0.zip/libadobe.py", line 59, in <module>
from oscrypto import keys
File "/Users/ainsleyshymko/Library/Preferences/calibre/plugins/DeACSM/modules/oscrypto/oscrypto/keys.py", line 5, in <module>
from ._asymmetric import parse_certificate, parse_private, parse_public
File "/Users/ainsleyshymko/Library/Preferences/calibre/plugins/DeACSM/modules/oscrypto/oscrypto/_asymmetric.py", line 27, in <module>
from .kdf import pbkdf1, pbkdf2, pkcs12_kdf
File "/Users/ainsleyshymko/Library/Preferences/calibre/plugins/DeACSM/modules/oscrypto/oscrypto/kdf.py", line 9, in <module>
from .util import rand_bytes
File "/Users/ainsleyshymko/Library/Preferences/calibre/plugins/DeACSM/modules/oscrypto/oscrypto/util.py", line 10, in <module>
from ._mac.util import rand_bytes
File "/Users/ainsleyshymko/Library/Preferences/calibre/plugins/DeACSM/modules/oscrypto/oscrypto/_mac/util.py", line 208, in <module>
from .._openssl._libcrypto import libcrypto
File "/Users/ainsleyshymko/Library/Preferences/calibre/plugins/DeACSM/modules/oscrypto/oscrypto/_openssl/_libcrypto.py", line 24, in <module>
from ._libcrypto_ctypes import (
File "/Users/ainsleyshymko/Library/Preferences/calibre/plugins/DeACSM/modules/oscrypto/oscrypto/_openssl/_libcrypto_ctypes.py", line 30, in <module>
libcrypto = CDLL(libcrypto_path, use_errno=True)
File "ctypes/__init__.py", line 374, in __init__
OSError: dlopen(/usr/local/lib/libcrypto.dylib, 0x0006): tried: '/usr/local/lib/libcrypto.dylib' (mach-o file, but is an incompatible architecture (have 'x86_64', need 'arm64e' or 'arm64')), '/System/Volumes/Preboot/Cryptexes/OS/usr/local/lib/libcrypto.dylib' (no such file), '/usr/local/lib/libcrypto.dylib' (mach-o file, but is an incompatible architecture (have 'x86_64', need 'arm64e' or 'arm64')), '/usr/local/Cellar/openssl@3/3.2.0_1/lib/libcrypto.3.dylib' (mach-o file, but is an incompatible architecture (have 'x86_64', need 'arm64e' or 'arm64')), '/System/Volumes/Preboot/Cryptexes/OS/usr/local/Cellar/openssl@3/3.2.0_1/lib/libcrypto.3.dylib' (no such file), '/usr/local/Cellar/openssl@3/3.2.0_1/lib/libcrypto.3.dylib' (mach-o file, but is an incompatible architecture (have 'x86_64', need 'arm64e' or 'arm64'))
failed with traceback:
Traceback (most recent call last):
File "calibre/customize/ui.py", line 710, in initialize_plugin
File "calibre_plugins.deacsm.__init__", line 226, in initialize
from libadobe import createDeviceKeyFile, update_account_path, sendHTTPRequest
File "/var/folders/c2/mw3_ntd93slb7z9rw3kcx65w0000gn/C/calibre_6.29.0_tmp_85z_gbn5/n3inm1r0.zip/libadobe.py", line 59, in <module>
from oscrypto import keys
File "/Users/ainsleyshymko/Library/Preferences/calibre/plugins/DeACSM/modules/oscrypto/oscrypto/keys.py", line 5, in <module>
from ._asymmetric import parse_certificate, parse_private, parse_public
File "/Users/ainsleyshymko/Library/Preferences/calibre/plugins/DeACSM/modules/oscrypto/oscrypto/_asymmetric.py", line 27, in <module>
from .kdf import pbkdf1, pbkdf2, pkcs12_kdf
File "/Users/ainsleyshymko/Library/Preferences/calibre/plugins/DeACSM/modules/oscrypto/oscrypto/kdf.py", line 9, in <module>
from .util import rand_bytes
File "/Users/ainsleyshymko/Library/Preferences/calibre/plugins/DeACSM/modules/oscrypto/oscrypto/util.py", line 10, in <module>
from ._mac.util import rand_bytes
File "/Users/ainsleyshymko/Library/Preferences/calibre/plugins/DeACSM/modules/oscrypto/oscrypto/_mac/util.py", line 208, in <module>
from .._openssl._libcrypto import libcrypto
File "/Users/ainsleyshymko/Library/Preferences/calibre/plugins/DeACSM/modules/oscrypto/oscrypto/_openssl/_libcrypto.py", line 24, in <module>
from ._libcrypto_ctypes import (
File "/Users/ainsleyshymko/Library/Preferences/calibre/plugins/DeACSM/modules/oscrypto/oscrypto/_openssl/_libcrypto_ctypes.py", line 30, in <module>
libcrypto = CDLL(libcrypto_path, use_errno=True)
File "ctypes/__init__.py", line 374, in __init__
OSError: dlopen(/usr/local/lib/libcrypto.dylib, 0x0006): tried: '/usr/local/lib/libcrypto.dylib' (mach-o file, but is an incompatible architecture (have 'x86_64', need 'arm64e' or 'arm64')), '/System/Volumes/Preboot/Cryptexes/OS/usr/local/lib/libcrypto.dylib' (no such file), '/usr/local/lib/libcrypto.dylib' (mach-o file, but is an incompatible architecture (have 'x86_64', need 'arm64e' or 'arm64')), '/usr/local/Cellar/openssl@3/3.2.0_1/lib/libcrypto.3.dylib' (mach-o file, but is an incompatible architecture (have 'x86_64', need 'arm64e' or 'arm64')), '/System/Volumes/Preboot/Cryptexes/OS/usr/local/Cellar/openssl@3/3.2.0_1/lib/libcrypto.3.dylib' (no such file), '/usr/local/Cellar/openssl@3/3.2.0_1/lib/libcrypto.3.dylib' (mach-o file, but is an incompatible architecture (have 'x86_64', need 'arm64e' or 'arm64'))

Last edited by theducks; 08-11-2024 at 11:15 PM. Reason: SPOILER LOG files
Yelsnia is offline   Reply With Quote
Old 08-12-2024, 12:28 AM   #469
DNSB
Bibliophagist
DNSB ought to be getting tired of karma fortunes by now.DNSB ought to be getting tired of karma fortunes by now.DNSB ought to be getting tired of karma fortunes by now.DNSB ought to be getting tired of karma fortunes by now.DNSB ought to be getting tired of karma fortunes by now.DNSB ought to be getting tired of karma fortunes by now.DNSB ought to be getting tired of karma fortunes by now.DNSB ought to be getting tired of karma fortunes by now.DNSB ought to be getting tired of karma fortunes by now.DNSB ought to be getting tired of karma fortunes by now.DNSB ought to be getting tired of karma fortunes by now.
 
DNSB's Avatar
 
Posts: 40,647
Karma: 157444382
Join Date: Jul 2010
Location: Vancouver
Device: Kobo Sage, Libra Colour, Lenovo M8 FHD, Paperwhite 4, Tolino epos
Have you tried using "brew unlink openssl@3" before the install? After the install, you can use "brew link openssl@3". This assumes that you have Homebrew installed. See Homebrew The Missing Package Manager for macOS (or Linux). Though some of your error messages also suggest that you have the wrong machine architecture version installed.
DNSB is offline   Reply With Quote
Old 08-12-2024, 01:27 AM   #470
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,129
Karma: 8796706
Join Date: Jun 2010
Device: Kobo Clara HD,Hisence Sero 7 Pro RIP, Nook STR, jetbook lite
Use this link download the most recent commits that has a fix for libcrypt.

Fix plugin when libcrypto override variable is not set

Be sure to read and follow the readme file in the migration_plugin folder.

bernie


Quote:
Originally Posted by Yelsnia View Post
I'm running Calibre 6.29.0 (I've also tried 7.16.0 with the same result) on MacOS Sonoma 14.5 and I am running into an error when trying to install the v0.0.16 plugin. The error details are below. Thanks in advance!
Spoiler:

Traceback (most recent call last):
File "calibre/customize/ui.py", line 710, in initialize_plugin
File "calibre_plugins.deacsm.__init__", line 226, in initialize
from libadobe import createDeviceKeyFile, update_account_path, sendHTTPRequest
File "/var/folders/c2/mw3_ntd93slb7z9rw3kcx65w0000gn/C/calibre_6.29.0_tmp_85z_gbn5/n3inm1r0.zip/libadobe.py", line 59, in <module>
from oscrypto import keys
File "/Users/ainsleyshymko/Library/Preferences/calibre/plugins/DeACSM/modules/oscrypto/oscrypto/keys.py", line 5, in <module>
from ._asymmetric import parse_certificate, parse_private, parse_public
File "/Users/ainsleyshymko/Library/Preferences/calibre/plugins/DeACSM/modules/oscrypto/oscrypto/_asymmetric.py", line 27, in <module>
from .kdf import pbkdf1, pbkdf2, pkcs12_kdf
File "/Users/ainsleyshymko/Library/Preferences/calibre/plugins/DeACSM/modules/oscrypto/oscrypto/kdf.py", line 9, in <module>
from .util import rand_bytes
File "/Users/ainsleyshymko/Library/Preferences/calibre/plugins/DeACSM/modules/oscrypto/oscrypto/util.py", line 10, in <module>
from ._mac.util import rand_bytes
File "/Users/ainsleyshymko/Library/Preferences/calibre/plugins/DeACSM/modules/oscrypto/oscrypto/_mac/util.py", line 208, in <module>
from .._openssl._libcrypto import libcrypto
File "/Users/ainsleyshymko/Library/Preferences/calibre/plugins/DeACSM/modules/oscrypto/oscrypto/_openssl/_libcrypto.py", line 24, in <module>
from ._libcrypto_ctypes import (
File "/Users/ainsleyshymko/Library/Preferences/calibre/plugins/DeACSM/modules/oscrypto/oscrypto/_openssl/_libcrypto_ctypes.py", line 30, in <module>
libcrypto = CDLL(libcrypto_path, use_errno=True)
File "ctypes/__init__.py", line 374, in __init__
OSError: dlopen(/usr/local/lib/libcrypto.dylib, 0x0006): tried: '/usr/local/lib/libcrypto.dylib' (mach-o file, but is an incompatible architecture (have 'x86_64', need 'arm64e' or 'arm64')), '/System/Volumes/Preboot/Cryptexes/OS/usr/local/lib/libcrypto.dylib' (no such file), '/usr/local/lib/libcrypto.dylib' (mach-o file, but is an incompatible architecture (have 'x86_64', need 'arm64e' or 'arm64')), '/usr/local/Cellar/openssl@3/3.2.0_1/lib/libcrypto.3.dylib' (mach-o file, but is an incompatible architecture (have 'x86_64', need 'arm64e' or 'arm64')), '/System/Volumes/Preboot/Cryptexes/OS/usr/local/Cellar/openssl@3/3.2.0_1/lib/libcrypto.3.dylib' (no such file), '/usr/local/Cellar/openssl@3/3.2.0_1/lib/libcrypto.3.dylib' (mach-o file, but is an incompatible architecture (have 'x86_64', need 'arm64e' or 'arm64'))

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
File "calibre/gui2/dialogs/plugin_updater.py", line 729, in _install_clicked
File "calibre/customize/ui.py", line 520, in add_plugin
File "calibre/customize/ui.py", line 715, in initialize_plugin
calibre.customize.InvalidPlugin: Initialization of plugin Traceback (most recent call last):
File "calibre/customize/ui.py", line 710, in initialize_plugin
File "calibre_plugins.deacsm.__init__", line 226, in initialize
from libadobe import createDeviceKeyFile, update_account_path, sendHTTPRequest
File "/var/folders/c2/mw3_ntd93slb7z9rw3kcx65w0000gn/C/calibre_6.29.0_tmp_85z_gbn5/n3inm1r0.zip/libadobe.py", line 59, in <module>
from oscrypto import keys
File "/Users/ainsleyshymko/Library/Preferences/calibre/plugins/DeACSM/modules/oscrypto/oscrypto/keys.py", line 5, in <module>
from ._asymmetric import parse_certificate, parse_private, parse_public
File "/Users/ainsleyshymko/Library/Preferences/calibre/plugins/DeACSM/modules/oscrypto/oscrypto/_asymmetric.py", line 27, in <module>
from .kdf import pbkdf1, pbkdf2, pkcs12_kdf
File "/Users/ainsleyshymko/Library/Preferences/calibre/plugins/DeACSM/modules/oscrypto/oscrypto/kdf.py", line 9, in <module>
from .util import rand_bytes
File "/Users/ainsleyshymko/Library/Preferences/calibre/plugins/DeACSM/modules/oscrypto/oscrypto/util.py", line 10, in <module>
from ._mac.util import rand_bytes
File "/Users/ainsleyshymko/Library/Preferences/calibre/plugins/DeACSM/modules/oscrypto/oscrypto/_mac/util.py", line 208, in <module>
from .._openssl._libcrypto import libcrypto
File "/Users/ainsleyshymko/Library/Preferences/calibre/plugins/DeACSM/modules/oscrypto/oscrypto/_openssl/_libcrypto.py", line 24, in <module>
from ._libcrypto_ctypes import (
File "/Users/ainsleyshymko/Library/Preferences/calibre/plugins/DeACSM/modules/oscrypto/oscrypto/_openssl/_libcrypto_ctypes.py", line 30, in <module>
libcrypto = CDLL(libcrypto_path, use_errno=True)
File "ctypes/__init__.py", line 374, in __init__
OSError: dlopen(/usr/local/lib/libcrypto.dylib, 0x0006): tried: '/usr/local/lib/libcrypto.dylib' (mach-o file, but is an incompatible architecture (have 'x86_64', need 'arm64e' or 'arm64')), '/System/Volumes/Preboot/Cryptexes/OS/usr/local/lib/libcrypto.dylib' (no such file), '/usr/local/lib/libcrypto.dylib' (mach-o file, but is an incompatible architecture (have 'x86_64', need 'arm64e' or 'arm64')), '/usr/local/Cellar/openssl@3/3.2.0_1/lib/libcrypto.3.dylib' (mach-o file, but is an incompatible architecture (have 'x86_64', need 'arm64e' or 'arm64')), '/System/Volumes/Preboot/Cryptexes/OS/usr/local/Cellar/openssl@3/3.2.0_1/lib/libcrypto.3.dylib' (no such file), '/usr/local/Cellar/openssl@3/3.2.0_1/lib/libcrypto.3.dylib' (mach-o file, but is an incompatible architecture (have 'x86_64', need 'arm64e' or 'arm64'))
failed with traceback:
Traceback (most recent call last):
File "calibre/customize/ui.py", line 710, in initialize_plugin
File "calibre_plugins.deacsm.__init__", line 226, in initialize
from libadobe import createDeviceKeyFile, update_account_path, sendHTTPRequest
File "/var/folders/c2/mw3_ntd93slb7z9rw3kcx65w0000gn/C/calibre_6.29.0_tmp_85z_gbn5/n3inm1r0.zip/libadobe.py", line 59, in <module>
from oscrypto import keys
File "/Users/ainsleyshymko/Library/Preferences/calibre/plugins/DeACSM/modules/oscrypto/oscrypto/keys.py", line 5, in <module>
from ._asymmetric import parse_certificate, parse_private, parse_public
File "/Users/ainsleyshymko/Library/Preferences/calibre/plugins/DeACSM/modules/oscrypto/oscrypto/_asymmetric.py", line 27, in <module>
from .kdf import pbkdf1, pbkdf2, pkcs12_kdf
File "/Users/ainsleyshymko/Library/Preferences/calibre/plugins/DeACSM/modules/oscrypto/oscrypto/kdf.py", line 9, in <module>
from .util import rand_bytes
File "/Users/ainsleyshymko/Library/Preferences/calibre/plugins/DeACSM/modules/oscrypto/oscrypto/util.py", line 10, in <module>
from ._mac.util import rand_bytes
File "/Users/ainsleyshymko/Library/Preferences/calibre/plugins/DeACSM/modules/oscrypto/oscrypto/_mac/util.py", line 208, in <module>
from .._openssl._libcrypto import libcrypto
File "/Users/ainsleyshymko/Library/Preferences/calibre/plugins/DeACSM/modules/oscrypto/oscrypto/_openssl/_libcrypto.py", line 24, in <module>
from ._libcrypto_ctypes import (
File "/Users/ainsleyshymko/Library/Preferences/calibre/plugins/DeACSM/modules/oscrypto/oscrypto/_openssl/_libcrypto_ctypes.py", line 30, in <module>
libcrypto = CDLL(libcrypto_path, use_errno=True)
File "ctypes/__init__.py", line 374, in __init__
OSError: dlopen(/usr/local/lib/libcrypto.dylib, 0x0006): tried: '/usr/local/lib/libcrypto.dylib' (mach-o file, but is an incompatible architecture (have 'x86_64', need 'arm64e' or 'arm64')), '/System/Volumes/Preboot/Cryptexes/OS/usr/local/lib/libcrypto.dylib' (no such file), '/usr/local/lib/libcrypto.dylib' (mach-o file, but is an incompatible architecture (have 'x86_64', need 'arm64e' or 'arm64')), '/usr/local/Cellar/openssl@3/3.2.0_1/lib/libcrypto.3.dylib' (mach-o file, but is an incompatible architecture (have 'x86_64', need 'arm64e' or 'arm64')), '/System/Volumes/Preboot/Cryptexes/OS/usr/local/Cellar/openssl@3/3.2.0_1/lib/libcrypto.3.dylib' (no such file), '/usr/local/Cellar/openssl@3/3.2.0_1/lib/libcrypto.3.dylib' (mach-o file, but is an incompatible architecture (have 'x86_64', need 'arm64e' or 'arm64'))
gbm is offline   Reply With Quote
Old 08-12-2024, 11:08 AM   #471
Yelsnia
Junior Member
Yelsnia began at the beginning.
 
Posts: 2
Karma: 10
Join Date: Aug 2024
Device: Kobo Libra H2O
Quote:
Originally Posted by DNSB View Post
Have you tried using "brew unlink openssl@3" before the install? After the install, you can use "brew link openssl@3". This assumes that you have Homebrew installed. See Homebrew The Missing Package Manager for macOS (or Linux). Though some of your error messages also suggest that you have the wrong machine architecture version installed.
This actually worked, thank you! I saw people talking about doing this earlier in the thread but thought it couldn't possibly fix my issue. Guess I should've just tried it....

Thanks for the assistance everyone!
Yelsnia is offline   Reply With Quote
Old 08-12-2024, 12:32 PM   #472
DNSB
Bibliophagist
DNSB ought to be getting tired of karma fortunes by now.DNSB ought to be getting tired of karma fortunes by now.DNSB ought to be getting tired of karma fortunes by now.DNSB ought to be getting tired of karma fortunes by now.DNSB ought to be getting tired of karma fortunes by now.DNSB ought to be getting tired of karma fortunes by now.DNSB ought to be getting tired of karma fortunes by now.DNSB ought to be getting tired of karma fortunes by now.DNSB ought to be getting tired of karma fortunes by now.DNSB ought to be getting tired of karma fortunes by now.DNSB ought to be getting tired of karma fortunes by now.
 
DNSB's Avatar
 
Posts: 40,647
Karma: 157444382
Join Date: Jul 2010
Location: Vancouver
Device: Kobo Sage, Libra Colour, Lenovo M8 FHD, Paperwhite 4, Tolino epos
Quote:
Originally Posted by Yelsnia View Post
This actually worked, thank you! I saw people talking about doing this earlier in the thread but thought it couldn't possibly fix my issue. Guess I should've just tried it....

Thanks for the assistance everyone!
Great to hear that your issue is fixed!
DNSB is offline   Reply With Quote
Old 08-22-2024, 08:05 PM   #473
xircso
Junior Member
xircso began at the beginning.
 
Posts: 6
Karma: 10
Join Date: May 2021
Device: kobo clara color
error on import test file

When I import a test acsm file from the adobe library, I get an error saying that "Traceback (most recent call last):
File "encodings\hex_codec.py", line 19, in hex_decode
ValueError: string argument should contain only ASCII characters"

When I try to load acsm files that I have downloaded from other sources, they successfully load into Calibre, but they give the DRM error when I try to open them up.

I've attached the config I have set up
Attached Thumbnails
Click image for larger version

Name:	config.png
Views:	55
Size:	32.0 KB
ID:	210364  
xircso is offline   Reply With Quote
Old 08-22-2024, 11:42 PM   #474
xircso
Junior Member
xircso began at the beginning.
 
Posts: 6
Karma: 10
Join Date: May 2021
Device: kobo clara color
Quote:
Originally Posted by xircso View Post
When I import a test acsm file from the adobe library, I get an error saying that "Traceback (most recent call last):
File "encodings\hex_codec.py", line 19, in hex_decode
ValueError: string argument should contain only ASCII characters"

When I try to load acsm files that I have downloaded from other sources, they successfully load into Calibre, but they give the DRM error when I try to open them up.

I've attached the config I have set up
And here are the debug logs

Spoiler:

ApplicationPaletteChange event ignored
Using calibre Qt style: True
ApplicationPaletteChange event received
calibre Debug log
calibre 7.12 embedded-python: True
Windows-10-10.0.22631-SP0 Windows ('64bit', 'WindowsPE')
('Windows', '10', '10.0.22631')
Python 3.11.5
Windows: ('10', '10.0.22631', 'SP0', 'Multiprocessor Free')
Interface language: None
EXE path: C:\Program Files\Calibre2\calibre-debug.exe
Successfully initialized third party plugins: DeACSM (0, 0, 16) && Gather KFX-ZIP (from KFX Input) (2, 15, 0) && DeDRM (10, 0, 3) && Package KFX (from KFX Input) (2, 15, 0) && Baen (1, 1, 0) && EpubSplit (3, 9, 0) && Find Duplicates (1, 10, 9) && KFX metadata reader (from KFX Input) (2, 15, 0) && From KFX (2, 15, 0) && KFX Input (2, 15, 0) && KOReader Sync (0, 6, 7) && Kobo Utilities (2, 17, 1) && KoboTouchExtended (3, 6, 11) && Manage Series (1, 5, 2) && Obok DeDRM (10, 0, 3) && SmartEject (2, 5, 0) && Smashwords Metadata (1, 0, 2)
calibre 7.12 embedded-python: True
Windows-10-10.0.22631-SP0 Windows ('64bit', 'WindowsPE')
('Windows', '10', '10.0.22631')
Python 3.11.5
Windows: ('10', '10.0.22631', 'SP0', 'Multiprocessor Free')
Interface language: None
EXE path: C:\Program Files\Calibre2\calibre-debug.exe
Successfully initialized third party plugins: DeACSM (0, 0, 16) && Gather KFX-ZIP (from KFX Input) (2, 15, 0) && DeDRM (10, 0, 3) && Package KFX (from KFX Input) (2, 15, 0) && Baen (1, 1, 0) && EpubSplit (3, 9, 0) && Find Duplicates (1, 10, 9) && KFX metadata reader (from KFX Input) (2, 15, 0) && From KFX (2, 15, 0) && KFX Input (2, 15, 0) && KOReader Sync (0, 6, 7) && Kobo Utilities (2, 17, 1) && KoboTouchExtended (3, 6, 11) && Manage Series (1, 5, 2) && Obok DeDRM (10, 0, 3) && SmartEject (2, 5, 0) && Smashwords Metadata (1, 0, 2)
QPA platform: windows
devicePixelRatio: 1.5
logicalDpi: 96.0 x 96.0
physicalDpi: 126.04011627906975 x 126.05488372093023
[0.00] Starting up...
[0.00] Initializing db...
[0.39] db initialized
[0.39] Constructing main UI...
DEBUG: 0.0 Kobo Utilities Configuration - CreateNewCustomColumn is supported
DEBUG: 0.0 KoboUtilites::action.py - loading translations
DEBUG: 0.0 KoboUtilites::dialogs.py - loading translations
DEBUG: 0.0 KoboUtilites::action.py - loading translations
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
DEBUG: 0.0 koreader:action:KoreaderAction:genesis:start
[1.66] GUI main window shown
DEBUG: 0.7 No Kobo Touch, Glo or Mini appears to be connected
DEBUG: 0.7 rebuild_menus - self.supports_ratings=None, self.supports_tiles=None
DEBUG: 0.7 KoboUtilities:set_toolbar_button_tooltip - start: text='None'
DEBUG: 0.7 KoboUtilities:set_toolbar_button_tooltip - setting to text='Utilities to use with Kobo ereaders

Driver: KoboTouchExtended'
[1.78] main UI initialized...
[1.78] Started up in 1.78 seconds with 1106 books
stdout+stderr from file dialog helper: [b'', b'']
piped data from file dialog helper: [b'$?\xaeRV\t\xfd\x12\x97\x84\xdek\xbf\xe7\xa4\xcb\ xac\xbf\x8cE;\xebG7\xbe\xd3?\xf6\x0e@_]', b'C:\\Users\\chris.dempewolf\\Downloads\\personal\ \misc\\books\\URLLink.acsm']
DeDRM v10.0.3: Trying to decrypt 26m6bhtf.pdf
DeDRM v10.0.3: 26m6bhtf.pdf is a PDF ebook with encryption EBX_HANDLER
DeDRM v10.0.3: 26m6bhtf.pdf is a PDF ebook (EBX) for UUID e7b7172b-3b7b-45d6-834f-d4e4c01fca5b
DeACSM v0.0.16: Running file type plugin failed with traceback:
Traceback (most recent call last):
File "encodings\hex_codec.py", line 19, in hex_decode
ValueError: string argument should contain only ASCII characters

The above exception was the direct cause of the following exception:

Traceback (most recent call last):
File "calibre_plugins.deacsm.__init__", line 486, in run
File "calibre_plugins.dedrm.__init__", line 1063, in run
File "calibre_plugins.dedrm.__init__", line 923, in PDFDecrypt
File "calibre_plugins.dedrm.__init__", line 695, in PDFIneptDecrypt
ValueError: decoding with 'hex' codec failed (ValueError: string argument should contain only ASCII characters)
Traceback (most recent call last):
File "calibre\customize\ui.py", line 481, in get_file_type_metadata
File "calibre\customize\builtins.py", line 325, in get_metadata
File "calibre\ebooks\metadata\pdf.py", line 126, in get_metadata
ValueError: Could not read info dict from PDF
DeACSM v0.0.16: Trying to parse file URLLink.acsm
DeACSM v0.0.16: Try to fulfill ...
Fulfill request:
<?xml version="1.0"?><adept:fulfill xmlns:adept="http://ns.adobe.com/adept"><adept:user>urn:uuid:e7b7172b-3b7b-45d6-834f-d4e4c01fca5b</adept:user><adept:device>urn:uuid:02b5d14a-f2b3-4116-9d3d-84d1db2c7020</adept:device><adept:deviceType>standalone</adept:deviceType><fulfillmentToken xmlns="http://ns.adobe.com/adept" fulfillmentType="free" auth="user">
<distributor>urn:uuid:b4e1303f-630f-4769-9c82-4dea6d65a277</distributor>
<operatorURL>https://contentserver.adobe.com/fulfillment</operatorURL>
<transaction>a3cc2cbb-5c18-43bd-8362-3feec1d7a914-00001cfb</transaction>
<purchase>2024-08-22T22:51:58+00:00</purchase>
<expiration>2024-08-22T23:51:58+00:00</expiration>
<resourceItemInfo>
<resource>urn:uuid:98cdb717-fa80-407c-a076-b520eb149de8</resource>
<resourceItem>1</resourceItem>
<metadata>
<dc:title xmlns:dc="http://purl.org/dc/elements/1.1/">Dracula</dc:title>
<dc:creator xmlns:dc="http://purl.org/dc/elements/1.1/">Bram Stoker</dc:creator>
<dc:format xmlns:dc="http://purl.org/dc/elements/1.1/">application/pdf</dc:format>
</metadata>
<licenseToken>
<resource>urn:uuid:98cdb717-fa80-407c-a076-b520eb149de8</resource>
<permissions>
<display/>
<excerpt/>
<print/>
<play/>
</permissions>
</licenseToken>
</resourceItemInfo>
<hmac>FYxoeKyK3N0STWndu5+Jx5v0Qdg=</hmac>
</fulfillmentToken>
<adept:targetDevice><adept:softwareVersion>9.3.580 46</adept:softwareVersion><adept:clientOS>Windows Vista</adept:clientOS><adept:clientLocale>en</adept:clientLocale><adept:clientVersion>2.0.1.7876 5</adept:clientVersion><adept:deviceType>standalone</adept:deviceType><adeptroductName>ADOBE Digitial Editions</adeptroductName><adept:fingerprint>mtAWgH5gckw0Y qY4uM++ZBwuUdg=</adept:fingerprint><adept:activationToken><adept:us er>urn:uuid:e7b7172b-3b7b-45d6-834f-d4e4c01fca5b</adept:user><adept:device>urn:uuid:02b5d14a-f2b3-4116-9d3d-84d1db2c7020</adept:device></adept:activationToken></adept:targetDevice></adept:fulfill>
fulfillmentResult:
<envelope xmlns="http://ns.adobe.com/adept">
<fulfillmentResult>
<fulfillment>a3cc2cbb-5c18-43bd-8362-3feec1d7a914-00001cfc</fulfillment>
<returnable>false</returnable>
<initial>false</initial>
<notify>
<notifyURL>https://contentserver.adobe.com/fulfillment/FulfillmentNotification</notifyURL>
<body>
<fulfillment>a3cc2cbb-5c18-43bd-8362-3feec1d7a914-00001cfc</fulfillment>
<transaction>a3cc2cbb-5c18-43bd-8362-3feec1d7a914-00001cfb</transaction>
<user>urn:uuid:e7b7172b-3b7b-45d6-834f-d4e4c01fca5b</user>
<fulfilled>true</fulfilled>
<returned>false</returned>
</body>
</notify>
<resourceItemInfo>
<resource>urn:uuid:98cdb717-fa80-407c-a076-b520eb149de8</resource>
<resourceItem>1</resourceItem>
<metadata>
<dc:title xmlns:dc="http://purl.org/dc/elements/1.1/">Dracula</dc:title>
<dc:creator xmlns:dc="http://purl.org/dc/elements/1.1/">Bram Stoker</dc:creator>
<dc:format xmlns:dc="http://purl.org/dc/elements/1.1/">application/pdf</dc:format>
<price>0.0</price>
</metadata>
<src>http://contentserver.adobe.com/media/98cdb717-fa80-407c-a076-b520eb149de8.pdf</src>
<downloadType>simple</downloadType>
<licenseToken>
<user>urn:uuid:e7b7172b-3b7b-45d6-834f-d4e4c01fca5b</user>
<resource>urn:uuid:98cdb717-fa80-407c-a076-b520eb149de8</resource>
<resourceItemType>application/pdf</resourceItemType>
<deviceType>standalone</deviceType>
<device>urn:uuid:02b5d14a-f2b3-4116-9d3d-84d1db2c7020</device>
<voucher>98cdb717-fa80-407c-a076-b520eb149de8</voucher>
<licenseURL>https://nasigningservice.adobe.com/licensesign</licenseURL>
<operatorURL>https://contentserver.adobe.com/fulfillment</operatorURL>
<fulfillment>a3cc2cbb-5c18-43bd-8362-3feec1d7a914-00001cfc</fulfillment>
<distributor>urn:uuid:b4e1303f-630f-4769-9c82-4dea6d65a277</distributor>
<encryptedKey keyInfo="user">HkwEnvAxKQW2epK31p7hc4WrBYgmoIjTEwl LapIuQ2UMiU5VVH9kpwDkYNegQ95JQUcRPi5SXjoAstOsPpThm 6RbvHL2Yn/U/TZEgVLgcSCkSH3x3cUYyEVLYExYcNuYZ2Dk+sgVmotrQ95fi6V 3prYRDw3NGKwhwGdDlou4Tgw=</encryptedKey>
<model version="1.0">2817</model>
<permissions>
<display/>
<excerpt/>
<print/>
<play/>
</permissions>
<signature>bLE7JB0lQvE8py/N9Vp/n/2P4cOgQO84VgQTcdFVi//XOfg51N8U+Vd59jX89IAICko73sdpMLyZ3SGPHOkAJKlhgV4nt M7rSxQ/9nQmvDXWe1YHqvqPcu9w7UOJsrstwPodA01TbuNnHE0gK7dqpY M8qBgPsXUxYyyaDAjynu0=</signature>
</licenseToken> </resourceItemInfo>
</fulfillmentResult>
</envelope>

Notifying server ...
Notifying server https://contentserver.adobe.com/fulf...ntNotification
Fulfillment notification successful.
DeACSM v0.0.16: Downloading book ...
DeACSM v0.0.16: Loading book from http://contentserver.adobe.com/media...20eb149de8.pdf
Download took 3539 ms (HTTP 200)
That's a PDF file
DeACSM v0.0.16: Downloaded PDF, adding encryption config ...
Searching for startxref ...
Got startxref: 1051475
Found ENC after 5 attempts - took 0 ms
Found EBX after 1443 attempts - took 4 ms


Encryption handler:
<</Root 1416 0 R/Info 1414 0 R/Encrypt 1432 0 R/ID[<3508AA28DA705AA2EEA8944CC694EC4B><18D59E5AC55544E D8A5D4F5FE59921B5>]/Size 1433>>
EBX handler:
<</Length 128/EBX_TITLE(Dracula)/Filter/EBX_HANDLER/EBX_AUTHOR(Bram Stoker)/V 4/ADEPT_ID(urn:uuid:98cdb717-fa80-407c-a076-b520eb149de8)>>
Trimmed encryption handler:
<</Root 1416 0 R/Info 1414 0 R/Encrypt 1432 0 R/ID[<3508AA28DA705AA2EEA8944CC694EC4B><18D59E5AC55544E D8A5D4F5FE59921B5>]/Size 1433>>
Updated EBX handler not logged due to sensitive data
Whole DRM patching took 21 milliseconds.
DeACSM v0.0.16: File successfully fulfilled ...
DeACSM v0.0.16: Executing plugin DeDRM ...
DeACSM v0.0.16: Plugin returned nothing - skipping
Syntax Error: Couldn't find the 'EBX_HANDLER' security handler
pdfinfo errored out with return code: 1
Convert book 1 of 1 (URLLink)
DeDRM v10.0.3: Trying to decrypt p_ehfcqj.pdf
DeDRM v10.0.3: p_ehfcqj.pdf is a PDF ebook with encryption EBX_HANDLER
DeDRM v10.0.3: p_ehfcqj.pdf is a PDF ebook (EBX) for UUID e7b7172b-3b7b-45d6-834f-d4e4c01fca5b
Running file type plugin DeDRM failed with traceback:
Traceback (most recent call last):
File "encodings\hex_codec.py", line 19, in hex_decode
ValueError: string argument should contain only ASCII characters

The above exception was the direct cause of the following exception:

Traceback (most recent call last):
File "calibre\customize\ui.py", line 199, in _run_filetype_plugins
File "calibre_plugins.dedrm.__init__", line 1063, in run
File "calibre_plugins.dedrm.__init__", line 923, in PDFDecrypt
File "calibre_plugins.dedrm.__init__", line 695, in PDFIneptDecrypt
ValueError: decoding with 'hex' codec failed (ValueError: string argument should contain only ASCII characters)
Conversion options changed from defaults:
verbose: 2
output_profile: 'kobo'
read_metadata_from_opf: 'C:\\Users\\CHRIS~1.DEM\\AppData\\Local\\Temp\\cal ibre_p7dxo4kf\\rz6yg81x.opf'
Resolved conversion options
calibre version: 7.12.0
{'add_alt_text_to_img': False,
'asciiize': False,
'author_sort': None,
'authors': None,
'base_font_size': 0.0,
'book_producer': None,
'change_justification': 'original',
'chapter': "//*[((name()='h1' or name()='h2') and re:test(., "
"'\\s*((chapter|book|section|part)\\s+)|((prolog|p rologue|epilogue)(\\s+|$))', "
"'i')) or @class = 'chapter']",
'chapter_mark': 'pagebreak',
'comments': None,
'cover': None,
'debug_pipeline': None,
'dehyphenate': True,
'delete_blank_paragraphs': True,
'disable_font_rescaling': False,
'dont_split_on_page_breaks': False,
'duplicate_links_in_toc': False,
'embed_all_fonts': False,
'embed_font_family': None,
'enable_heuristics': False,
'epub_flatten': False,
'epub_inline_toc': False,
'epub_max_image_size': 'none',
'epub_toc_at_end': False,
'epub_version': '2',
'expand_css': False,
'extra_css': None,
'extract_to': None,
'filter_css': '',
'fix_indents': True,
'flow_size': 260,
'font_size_mapping': None,
'format_scene_breaks': True,
'html_unwrap_factor': 0.4,
'input_encoding': None,
'input_profile': <calibre.customize.profiles.InputProfile object at 0x00000262FF8654D0>,
'insert_blank_line': False,
'insert_blank_line_size': 0.5,
'insert_metadata': False,
'isbn': None,
'italicize_common_cases': True,
'keep_ligatures': False,
'language': None,
'level1_toc': None,
'level2_toc': None,
'level3_toc': None,
'line_height': 0.0,
'linearize_tables': False,
'margin_bottom': 5.0,
'margin_left': 5.0,
'margin_right': 5.0,
'margin_top': 5.0,
'markup_chapter_headings': True,
'max_toc_links': 50,
'minimum_line_height': 120.0,
'new_pdf_engine': False,
'no_chapters_in_toc': False,
'no_default_epub_cover': False,
'no_images': False,
'no_inline_navbars': False,
'no_svg_cover': False,
'output_profile': <calibre.customize.profiles.KoboReaderOutput object at 0x00000262FF876BD0>,
'page_breaks_before': "//*[name()='h1' or name()='h2']",
'prefer_metadata_cover': False,
'preserve_cover_aspect_ratio': False,
'pretty_print': True,
'pubdate': None,
'publisher': None,
'rating': None,
'read_metadata_from_opf': 'C:\\Users\\CHRIS~1.DEM\\AppData\\Local\\Temp\\cal ibre_p7dxo4kf\\rz6yg81x.opf',
'remove_fake_margins': True,
'remove_first_image': False,
'remove_paragraph_spacing': False,
'remove_paragraph_spacing_indent_size': 1.5,
'renumber_headings': True,
'replace_scene_breaks': '',
'search_replace': '[]',
'series': None,
'series_index': None,
'smarten_punctuation': False,
'sr1_replace': None,
'sr1_search': None,
'sr2_replace': None,
'sr2_search': None,
'sr3_replace': None,
'sr3_search': None,
'start_reading_at': None,
'subset_embedded_fonts': False,
'tags': None,
'timestamp': None,
'title': None,
'title_sort': None,
'toc_filter': None,
'toc_threshold': 6,
'toc_title': None,
'transform_css_rules': '[]',
'transform_html_rules': '[]',
'unsmarten_punctuation': False,
'unwrap_factor': 0.45,
'unwrap_lines': True,
'use_auto_toc': False,
'verbose': 2}
DeDRM v10.0.3: Trying to decrypt p_ehfcqj.pdf
DeDRM v10.0.3: p_ehfcqj.pdf is a PDF ebook with encryption EBX_HANDLER
DeDRM v10.0.3: p_ehfcqj.pdf is a PDF ebook (EBX) for UUID e7b7172b-3b7b-45d6-834f-d4e4c01fca5b
Running file type plugin DeDRM failed with traceback:
Traceback (most recent call last):
File "encodings\hex_codec.py", line 19, in hex_decode
ValueError: string argument should contain only ASCII characters

The above exception was the direct cause of the following exception:

Traceback (most recent call last):
File "calibre\customize\ui.py", line 199, in _run_filetype_plugins
File "calibre_plugins.dedrm.__init__", line 1063, in run
File "calibre_plugins.dedrm.__init__", line 923, in PDFDecrypt
File "calibre_plugins.dedrm.__init__", line 695, in PDFIneptDecrypt
ValueError: decoding with 'hex' codec failed (ValueError: string argument should contain only ASCII characters)
InputFormatPlugin: PDF Input running
on C:\Users\CHRIS~1.DEM\AppData\Local\Temp\calibre_p7 dxo4kf\p_ehfcqj.pdf
Converting file to html...
Traceback (most recent call last):
File "runpy.py", line 198, in _run_module_as_main
File "runpy.py", line 88, in _run_code
File "site.py", line 83, in <module>
File "site.py", line 78, in main
File "site.py", line 50, in run_entry_point
File "calibre\utils\ipc\worker.py", line 215, in main
File "calibre\gui2\convert\gui_conversion.py", line 38, in gui_convert_override
File "calibre\gui2\convert\gui_conversion.py", line 25, in gui_convert
File "calibre\ebooks\conversion\plumber.py", line 1127, in run
File "calibre\customize\conversion.py", line 245, in __call__
File "calibre\ebooks\conversion\plugins\pdf_input.p y", line 51, in convert
File "calibre\ebooks\pdf\pdftohtml.py", line 83, in pdftohtml
calibre.ebooks.ConversionError: pdftohtml failed with return code: 1
Syntax Error: Couldn't find the 'EBX_HANDLER' security handler

xircso is offline   Reply With Quote
Old 08-23-2024, 02:44 PM   #475
DNSB
Bibliophagist
DNSB ought to be getting tired of karma fortunes by now.DNSB ought to be getting tired of karma fortunes by now.DNSB ought to be getting tired of karma fortunes by now.DNSB ought to be getting tired of karma fortunes by now.DNSB ought to be getting tired of karma fortunes by now.DNSB ought to be getting tired of karma fortunes by now.DNSB ought to be getting tired of karma fortunes by now.DNSB ought to be getting tired of karma fortunes by now.DNSB ought to be getting tired of karma fortunes by now.DNSB ought to be getting tired of karma fortunes by now.DNSB ought to be getting tired of karma fortunes by now.
 
DNSB's Avatar
 
Posts: 40,647
Karma: 157444382
Join Date: Jul 2010
Location: Vancouver
Device: Kobo Sage, Libra Colour, Lenovo M8 FHD, Paperwhite 4, Tolino epos
The first suggestion that comes to mind is to update your DeDRM plugin. To do this, click on Automatic alpha release with latest changes, under Assets, download the .zip file, extract the DeDRM.zip file from the downloaded file and load it into calibre ( Preferences => Plugins => Load plugin from file ).
DNSB is offline   Reply With Quote
Old 08-23-2024, 08:13 PM   #476
xircso
Junior Member
xircso began at the beginning.
 
Posts: 6
Karma: 10
Join Date: May 2021
Device: kobo clara color
Quote:
Originally Posted by DNSB View Post
The first suggestion that comes to mind is to update your DeDRM plugin. To do this, click on Automatic alpha release with latest changes, under Assets, download the .zip file, extract the DeDRM.zip file from the downloaded file and load it into calibre ( Preferences => Plugins => Load plugin from file ).
Thanks for the suggestion, I went from DeDRM 10.0.3 to 10.0.9, but I'm still getting the same error.
xircso is offline   Reply With Quote
Old 08-23-2024, 08:55 PM   #477
foosion
Evangelist
foosion is an enigma wrapped up in a mystery.foosion is an enigma wrapped up in a mystery.foosion is an enigma wrapped up in a mystery.foosion is an enigma wrapped up in a mystery.foosion is an enigma wrapped up in a mystery.foosion is an enigma wrapped up in a mystery.foosion is an enigma wrapped up in a mystery.foosion is an enigma wrapped up in a mystery.foosion is an enigma wrapped up in a mystery.foosion is an enigma wrapped up in a mystery.foosion is an enigma wrapped up in a mystery.
 
Posts: 451
Karma: 41524
Join Date: Sep 2011
Device: Kobo Libra 2 & Clara BW
You might have a look at the Libby Overdrive plugin thread. It has instructions for getting a "key" using Firefox or Chrome as part of the importing ACSM process (not the setup suggested in the OP of that thread). Search for firefox or chrome in that thread.

FWIW, I'm using the Libby Overdrive plugin together with DeACSM and DeDRM 10.0.3 to import library books.
foosion is offline   Reply With Quote
Old 08-24-2024, 09:01 AM   #478
MajoraZ
Junior Member
MajoraZ began at the beginning.
 
Posts: 2
Karma: 10
Join Date: Jul 2023
Device: none
Are the instructions in the OP still functional, or has anything changed in the 3 years/30 pages of the thread since?
MajoraZ is offline   Reply With Quote
Old 08-24-2024, 12:01 PM   #479
sgmoore
Zealot
sgmoore ought to be getting tired of karma fortunes by now.sgmoore ought to be getting tired of karma fortunes by now.sgmoore ought to be getting tired of karma fortunes by now.sgmoore ought to be getting tired of karma fortunes by now.sgmoore ought to be getting tired of karma fortunes by now.sgmoore ought to be getting tired of karma fortunes by now.sgmoore ought to be getting tired of karma fortunes by now.sgmoore ought to be getting tired of karma fortunes by now.sgmoore ought to be getting tired of karma fortunes by now.sgmoore ought to be getting tired of karma fortunes by now.sgmoore ought to be getting tired of karma fortunes by now.
 
Posts: 111
Karma: 642206
Join Date: Mar 2021
Device: Kindle Voyage
Quote:
Originally Posted by xircso View Post
When I import a test acsm file from the adobe library, I get an error saying that "Traceback (most recent call last):
File "encodings\hex_codec.py", line 19, in hex_decode
ValueError: string argument should contain only ASCII characters"
It is possible the problem is related to one of your keys, presumably the ADE key.
If so, try the workaround mentioned here https://github.com/noDRM/DeDRM_tools...ent-1732593861
sgmoore is offline   Reply With Quote
Old 08-27-2024, 06:38 AM   #480
Siavahda
Zealot
Siavahda can eat soup with a fork.Siavahda can eat soup with a fork.Siavahda can eat soup with a fork.Siavahda can eat soup with a fork.Siavahda can eat soup with a fork.Siavahda can eat soup with a fork.Siavahda can eat soup with a fork.Siavahda can eat soup with a fork.Siavahda can eat soup with a fork.Siavahda can eat soup with a fork.Siavahda can eat soup with a fork.
 
Posts: 107
Karma: 9400
Join Date: Aug 2010
Location: Helsinki
Device: Kindle Paperwhite 2018
Quote:
Originally Posted by jadrake View Post
Hi,

Lubuntu 22.04
Calibre 6.28.1
DeASCM 0.0.16

Everything worked fine until I updated Calibre this evening to 6.28.1. Now, I click "Add Books" and select the ASCM file, and Calibre just imports the file itself. DeASCM doesn't appear to do anything.

I have only imported a couple of ASCM books last month, so I may be missing something vital - anyone have any ideas?

Thanks,

Adam
I'm having the same problem, but redownloading the ACSM files made no difference - Calibre just keeps importing the ACSM file. These are all from the Internet Archive.

Running Calibre 7.17 on Windows, version 0.0.16 of the ACSM input plugin, no idea what I'm doing wrong. (The ACSM files also won't open in Adobe - I keep getting either a E_ADEPT_DOCUMENT_TYPE_UNKNOWN error or E-STREAM_ERROR.)

I tried an ACSM file from another source - one which did open on Adobe - and that was fine.

If anyone has thoughts, please explain like I'm five, I'm NOT the tech-savviest...
Siavahda 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 04:37 AM
[FileType Plugin] YVES Bible Plugin ClashTheBunny Plugins 27 01-16-2023 02:25 AM
help with epub on_import filetype plugin digitalvideo Development 4 02-27-2020 06:13 AM
Question about file_types in FileType plugin Terisa de morgan Plugins 6 02-08-2017 06:53 AM
Zip Filetype Plugin? rsingley Plugins 7 02-11-2011 06:11 PM


All times are GMT -4. The time now is 11:47 AM.


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