Register Guidelines E-Books Today's Posts Search

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

Notices

Reply
 
Thread Tools Search this Thread
Old 06-23-2026, 02:07 PM   #1
Lakis
Junior Member
Lakis might easily be mistaken for a TexanLakis might easily be mistaken for a TexanLakis might easily be mistaken for a TexanLakis might easily be mistaken for a TexanLakis might easily be mistaken for a TexanLakis might easily be mistaken for a TexanLakis might easily be mistaken for a TexanLakis might easily be mistaken for a TexanLakis might easily be mistaken for a TexanLakis might easily be mistaken for a TexanLakis might easily be mistaken for a Texan
 
Posts: 7
Karma: 18148
Join Date: Jun 2026
Device: Kindle Paperwhite 4
Plugin index - entry not included in calibre list

One of the mods added my plugin to the index (post is here), but so far (it's over a week) it's not visible in the calibre plugins' list. I'm thinking, if it's something in my plugin's structure or something else.
On my side I was thinking, if version and plugin name in side file (consts.py, then imported to __init__.py and used in Source class) are making any problems for the Plugin updater to read required data and it skips it or is it something else.
Lakis is offline   Reply With Quote
Old 06-23-2026, 02:52 PM   #2
theducks
Well trained by Cats
theducks ought to be getting tired of karma fortunes by now.theducks ought to be getting tired of karma fortunes by now.theducks ought to be getting tired of karma fortunes by now.theducks ought to be getting tired of karma fortunes by now.theducks ought to be getting tired of karma fortunes by now.theducks ought to be getting tired of karma fortunes by now.theducks ought to be getting tired of karma fortunes by now.theducks ought to be getting tired of karma fortunes by now.theducks ought to be getting tired of karma fortunes by now.theducks ought to be getting tired of karma fortunes by now.theducks ought to be getting tired of karma fortunes by now.
 
theducks's Avatar
 
Posts: 31,837
Karma: 64181416
Join Date: Aug 2009
Location: The Central Coast of California
Device: Kobo Libra2,Kobo Aura2v1, K4NT(Fixed: New Bat.), Galaxy Tab A
I looked at the Index of plugins and see the entry (code) and did not spot why it is not being scraped to include in the Get Plugins list (also deal with updates).

The name in the init is not what is used for the list.
theducks is offline   Reply With Quote
Old 06-23-2026, 04:43 PM   #3
Comfy.n
want to learn what I want
Comfy.n ought to be getting tired of karma fortunes by now.Comfy.n ought to be getting tired of karma fortunes by now.Comfy.n ought to be getting tired of karma fortunes by now.Comfy.n ought to be getting tired of karma fortunes by now.Comfy.n ought to be getting tired of karma fortunes by now.Comfy.n ought to be getting tired of karma fortunes by now.Comfy.n ought to be getting tired of karma fortunes by now.Comfy.n ought to be getting tired of karma fortunes by now.Comfy.n ought to be getting tired of karma fortunes by now.Comfy.n ought to be getting tired of karma fortunes by now.Comfy.n ought to be getting tired of karma fortunes by now.
 
Posts: 2,291
Karma: 7990245
Join Date: Sep 2020
Device: Libra Colour
I found that splitting the imports makes the parser happy:

from calibre_plugins.wolnelektury_source.consts import PLUGIN_VERSION
from calibre_plugins.wolnelektury_source.consts import PLUGIN_NAME
from calibre_plugins.wolnelektury_source.consts import WOLNELEKTURY_ID
Comfy.n is offline   Reply With Quote
Old 06-23-2026, 08:53 PM   #4
kovidgoyal
creator of calibre
kovidgoyal ought to be getting tired of karma fortunes by now.kovidgoyal ought to be getting tired of karma fortunes by now.kovidgoyal ought to be getting tired of karma fortunes by now.kovidgoyal ought to be getting tired of karma fortunes by now.kovidgoyal ought to be getting tired of karma fortunes by now.kovidgoyal ought to be getting tired of karma fortunes by now.kovidgoyal ought to be getting tired of karma fortunes by now.kovidgoyal ought to be getting tired of karma fortunes by now.kovidgoyal ought to be getting tired of karma fortunes by now.kovidgoyal ought to be getting tired of karma fortunes by now.kovidgoyal ought to be getting tired of karma fortunes by now.
 
kovidgoyal's Avatar
 
Posts: 46,337
Karma: 29630876
Join Date: Oct 2006
Location: Mumbai, India
Device: Various
This should fix it: https://github.com/kovidgoyal/calibr...f07fb5eb0c692c
kovidgoyal is offline   Reply With Quote
Old 06-24-2026, 11:38 AM   #5
Lakis
Junior Member
Lakis might easily be mistaken for a TexanLakis might easily be mistaken for a TexanLakis might easily be mistaken for a TexanLakis might easily be mistaken for a TexanLakis might easily be mistaken for a TexanLakis might easily be mistaken for a TexanLakis might easily be mistaken for a TexanLakis might easily be mistaken for a TexanLakis might easily be mistaken for a TexanLakis might easily be mistaken for a TexanLakis might easily be mistaken for a Texan
 
Posts: 7
Karma: 18148
Join Date: Jun 2026
Device: Kindle Paperwhite 4
Thanks everyone, I'll separate imports just for compatibility sake, but the fix seems nice either way
Lakis is offline   Reply With Quote
Reply


Forum Jump

Similar Threads
Thread Thread Starter Forum Replies Last Post
Calibre help? IndexError: list index out of range ideamutt Editor 5 01-08-2025 02:26 PM
Getting Goodreads into Calibre using import list plugin Rellwood Library Management 3 12-12-2018 12:12 AM
Python Libraries included in Plugin? JimmXinu Development 5 06-15-2014 06:48 AM
Tablet only for manga, list of choices included Tanyu22 Which one should I buy? 3 11-01-2011 04:41 PM


All times are GMT -4. The time now is 09:34 AM.


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