Skip to content

ERROR: Unhandled exception - on install #152

Description

@jefro108

Bug description

Error message:

calibre, version 6.29.0
ERROR: Unhandled exception: <b>InvalidPlugin</b>: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 "/Users/jefro/Library/Preferences/calibre/plugins/DeACSM.zip/libadobe.py", line 59, in &lt;module&gt;
    from oscrypto import keys
ImportError: cannot import name 'keys' from 'oscrypto' (/Users/jefro/Library/Preferences/calibre/plugins/DeACSM/modules/oscrypto/oscrypto/__init__.py)
 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 "/Users/jefro/Library/Preferences/calibre/plugins/DeACSM.zip/libadobe.py", line 59, in &lt;module&gt;
    from oscrypto import keys
ImportError: cannot import name 'keys' from 'oscrypto' (/Users/jefro/Library/Preferences/calibre/plugins/DeACSM/modules/oscrypto/oscrypto/__init__.py)


calibre 6.29  embedded-python: True
macOS-12.7.6-x86_64-i386-64bit Darwin ('64bit', '')
('Darwin', '21.6.0', 'Darwin Kernel Version 21.6.0: Mon Jun 24 00:56:10 PDT 2024; root:xnu-8020.240.18.709.2~1/RELEASE_X86_64')
Python 3.10.1
OSX: ('12.7.6', ('', '', ''), 'x86_64')
Interface language: None
Successfully initialized third party plugins: Gather KFX-ZIP (from KFX Input) (2, 29, 0) && DeDRM (10, 0, 9) && Package KFX (from KFX Input) (2, 29, 0) && KFX metadata reader (from KFX Input) (2, 29, 0) && From KFX (2, 29, 0) && KFX Input (2, 29, 0) && Set KFX metadata (from KFX Output) (2, 18, 0) && KFX Output (2, 18, 0) && Modify ePub (1, 8, 9) && Obok DeDRM (7, 2, 1)
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 "/Users/jefro/Library/Preferences/calibre/plugins/DeACSM.zip/libadobe.py", line 59, in <module>
    from oscrypto import keys
ImportError: cannot import name 'keys' from 'oscrypto' (/Users/jefro/Library/Preferences/calibre/plugins/DeACSM/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 325, in add_plugin
  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 "/Users/jefro/Library/Preferences/calibre/plugins/DeACSM.zip/libadobe.py", line 59, in <module>
    from oscrypto import keys
ImportError: cannot import name 'keys' from 'oscrypto' (/Users/jefro/Library/Preferences/calibre/plugins/DeACSM/modules/oscrypto/oscrypto/__init__.py)
 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 "/Users/jefro/Library/Preferences/calibre/plugins/DeACSM.zip/libadobe.py", line 59, in <module>
    from oscrypto import keys
ImportError: cannot import name 'keys' from 'oscrypto' (/Users/jefro/Library/Preferences/calibre/plugins/DeACSM/modules/oscrypto/oscrypto/__init__.py)

Operating system

MacOS

Which version of Calibre are you running?

6.29

Which version of the ACSM Input plugin are you running?

created by bundle_calibre_plugin.sh

Import type

No response

Further information

No response

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions