Register Guidelines E-Books Today's Posts Search

Go Back   MobileRead Forums > E-Book Software > Calibre > Plugins

Notices

Closed Thread
 
Thread Tools Search this Thread
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  
Old 10-29-2024, 01:58 PM   #2
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: 44,778
Karma: 168765399
Join Date: Jul 2010
Location: Vancouver
Device: Kobo Sage, Libra Colour, Lenovo M8 FHD, Paperwhite 4, Tolino epos
Given that zlibrary is a pirate site, I doubt you are going to get much help with that plugin on Mobileread.
DNSB is offline  
Advert
Old 10-29-2024, 03:08 PM   #3
iNeedScissors61!
Junior Member
iNeedScissors61! began at the beginning.
 
Posts: 8
Karma: 10
Join Date: Oct 2024
Location: Cincinnati
Device: Kobo Libra Color
Quote:
Originally Posted by DNSB View Post
Given that zlibrary is a pirate site, I doubt you are going to get much help with that plugin on Mobileread.

Ope. Didn't think about that...
iNeedScissors61! is offline  
Old 10-29-2024, 03:53 PM   #4
BetterRed
null operator (he/him)
BetterRed ought to be getting tired of karma fortunes by now.BetterRed ought to be getting tired of karma fortunes by now.BetterRed ought to be getting tired of karma fortunes by now.BetterRed ought to be getting tired of karma fortunes by now.BetterRed ought to be getting tired of karma fortunes by now.BetterRed ought to be getting tired of karma fortunes by now.BetterRed ought to be getting tired of karma fortunes by now.BetterRed ought to be getting tired of karma fortunes by now.BetterRed ought to be getting tired of karma fortunes by now.BetterRed ought to be getting tired of karma fortunes by now.BetterRed ought to be getting tired of karma fortunes by now.
 
Posts: 21,619
Karma: 29710338
Join Date: Mar 2012
Location: Sydney Australia
Device: none
Moderator Notice



BR
BetterRed is online now  
Closed Thread

Tags
plug-ins, python3


Forum Jump

Similar Threads
Thread Thread Starter Forum Replies Last Post
Calibre StorePlugin: Download Chunked Response itsWeller Development 6 01-02-2015 10:44 PM
StorePlugin questions fenuks Development 2 11-02-2011 01:27 PM


All times are GMT -4. The time now is 01:53 AM.


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