Thread: [StorePlugin]
View Single Post
Old 10-29-2024, 01:13 PM   #1
iNeedScissors61!
Junior Member
iNeedScissors61! began at the beginning.
 
Posts: 8
Karma: 10
Join Date: Oct 2024
Location: Cincinnati
Device: Kobo Libra Color
[StorePlugin]

I'm trying my hand at maintaining a store plug-in that doesn't seem to work. I have a fork of it here. Link replaced

The first issue I came across was installing the plugin. When I run in debug and try to install from .zip file, I get the following traceback...

Code:
Traceback (most recent call last):
  File "calibre\gui2\ui.py", line 188, in load_store_plugins
  File "calibre\gui2\ui.py", line 200, in init_istore
  File "calibre\customize\__init__.py", line 756, in load_actual_plugin
  File "importlib\__init__.py", line 126, in import_module
  File "<frozen importlib._bootstrap>", line 1204, in _gcd_import
  File "<frozen importlib._bootstrap>", line 1176, in _find_and_load
  File "<frozen importlib._bootstrap>", line 1147, in _find_and_load_unlocked
  File "<frozen importlib._bootstrap>", line 690, in _load_unlocked
  File "calibre\customize\zipplugin.py", line 205, in exec_module
  File "calibre_plugins.store_zlibrary.zlibrary_plugin", line 18, in <module>
ModuleNotFoundError: No module named 'urllib3'
How does Calibre handle module imports? I know I have this python module installed locally using pip, but there must be some other way it is handling this.

Last edited by BetterRed; 10-29-2024 at 03:51 PM.
iNeedScissors61! is offline