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-10-2025, 07:12 PM   #1
PapaKilo
Connoisseur
PapaKilo began at the beginning.
 
Posts: 84
Karma: 10
Join Date: Jul 2012
Location: Florida USA
Device: Android, kindle
Help with new Plugin

I am trying to create a plugin and tried to install it. Calibre said it was installed, but I can't find it anywhere.

Tried showing only installed Plugins; not there. Tried searching by the name I gave it; nothing found.

It is supposed to add a menu item on the book right-click menu; nothing there.

Went into the menu to see if I could add it; nothing there.

Where do I go next??

Okay, a problem:

When I install this Plugin one of the other plugins I have gets lost. It is not on the menu any longer, but still exists in the Plugin list and not in/on the menu. The plugin is Generate Cover don't know why it gets messed up, but my Plugin "Chapters" doesn't refer to any other Plugin.

Last edited by PapaKilo; 07-10-2025 at 08:00 PM.
PapaKilo is offline   Reply With Quote
Old 07-10-2025, 09:49 PM   #2
JimmXinu
Plugin Developer
JimmXinu ought to be getting tired of karma fortunes by now.JimmXinu ought to be getting tired of karma fortunes by now.JimmXinu ought to be getting tired of karma fortunes by now.JimmXinu ought to be getting tired of karma fortunes by now.JimmXinu ought to be getting tired of karma fortunes by now.JimmXinu ought to be getting tired of karma fortunes by now.JimmXinu ought to be getting tired of karma fortunes by now.JimmXinu ought to be getting tired of karma fortunes by now.JimmXinu ought to be getting tired of karma fortunes by now.JimmXinu ought to be getting tired of karma fortunes by now.JimmXinu ought to be getting tired of karma fortunes by now.
 
JimmXinu's Avatar
 
Posts: 6,968
Karma: 4604635
Join Date: Dec 2011
Location: Midwest USA
Device: Kobo Clara Colour running KOReader
Did you start from Generate Cover as a base? Because that sounds like your plugin is conflicting with it.

There's (at least) three places where the plugin name needs to be:

Your InterfaceActionBase class's name field.
Your InterfaceAction class's action_spec.
In the file name plugin-import-name-yourplugin.txt.

I would speculate that your name field or action_spec still say "Generate Cover".
JimmXinu is offline   Reply With Quote
Advert
Old 07-11-2025, 10:52 AM   #3
PapaKilo
Connoisseur
PapaKilo began at the beginning.
 
Posts: 84
Karma: 10
Join Date: Jul 2012
Location: Florida USA
Device: Android, kindle
The name is correct in all three places.

No I did not start from Generate Cover.

This was started from scratch. Actually a little bit different than scratch, I had Grok create the plugin.

When I try to install it, Calibre says it is installed, but it appears nowhere in Calibre. Not even in the AppData folder.

I could send you a copy if you're interested, maybe you can tell me what's going on.

Paul
PapaKilo is offline   Reply With Quote
Old 07-11-2025, 11:55 AM   #4
PapaKilo
Connoisseur
PapaKilo began at the beginning.
 
Posts: 84
Karma: 10
Join Date: Jul 2012
Location: Florida USA
Device: Android, kindle
Doing some more stuff, will let you know it I fix it.

Found out why I was messing up Generate Covers, so that's fixed.

Biggest problem is that this is my first attempt to program in many, many, many years . Guess it takes a while to get going again.

This is a simple plugin.

Just gives a list of chapters from the book right-click menu, but one I can use now.

Sorry for pushing this on you.

Paul
PapaKilo is offline   Reply With Quote
Old 07-11-2025, 12:20 PM   #5
thiago.eec
Wizard
thiago.eec ought to be getting tired of karma fortunes by now.thiago.eec ought to be getting tired of karma fortunes by now.thiago.eec ought to be getting tired of karma fortunes by now.thiago.eec ought to be getting tired of karma fortunes by now.thiago.eec ought to be getting tired of karma fortunes by now.thiago.eec ought to be getting tired of karma fortunes by now.thiago.eec ought to be getting tired of karma fortunes by now.thiago.eec ought to be getting tired of karma fortunes by now.thiago.eec ought to be getting tired of karma fortunes by now.thiago.eec ought to be getting tired of karma fortunes by now.thiago.eec ought to be getting tired of karma fortunes by now.
 
Posts: 1,211
Karma: 1419583
Join Date: Dec 2016
Location: Goiânia - Brazil
Device: iPad, Kindle Paperwhite, Kindle Oasis
I'm willing to take a look at it. The idea seems interesting. Please send the zip.
thiago.eec is offline   Reply With Quote
Advert
Old 07-11-2025, 02:08 PM   #6
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: 1,611
Karma: 7891011
Join Date: Sep 2020
Device: none
list of chapters?

Isn't that already available via the Edit ToC menu item?

(or shortcut key K...)
Comfy.n is offline   Reply With Quote
Old 07-11-2025, 03:17 PM   #7
thiago.eec
Wizard
thiago.eec ought to be getting tired of karma fortunes by now.thiago.eec ought to be getting tired of karma fortunes by now.thiago.eec ought to be getting tired of karma fortunes by now.thiago.eec ought to be getting tired of karma fortunes by now.thiago.eec ought to be getting tired of karma fortunes by now.thiago.eec ought to be getting tired of karma fortunes by now.thiago.eec ought to be getting tired of karma fortunes by now.thiago.eec ought to be getting tired of karma fortunes by now.thiago.eec ought to be getting tired of karma fortunes by now.thiago.eec ought to be getting tired of karma fortunes by now.thiago.eec ought to be getting tired of karma fortunes by now.
 
Posts: 1,211
Karma: 1419583
Join Date: Dec 2016
Location: Goiânia - Brazil
Device: iPad, Kindle Paperwhite, Kindle Oasis
Quote:
Originally Posted by Comfy.n View Post
list of chapters?

Isn't that already available via the Edit ToC menu item?

(or shortcut key K...)
True. You can't use to navigate, though.
I think that might be the goal.
thiago.eec is offline   Reply With Quote
Old 07-11-2025, 05:04 PM   #8
PapaKilo
Connoisseur
PapaKilo began at the beginning.
 
Posts: 84
Karma: 10
Join Date: Jul 2012
Location: Florida USA
Device: Android, kindle
Wow, I never knew about Edit ToC. Does just what I want.

Not interested in navigation.

Well that saves me a lot of time and trouble.

Thank you all for your help.

Paul
PapaKilo is offline   Reply With Quote
Reply


Forum Jump

Similar Threads
Thread Thread Starter Forum Replies Last Post
[Plugin] LOI-Generator - edit] plugin to generate a List of Illustrations KevinH Plugins 1 01-19-2023 04:31 PM
[Metadata Source Plugin] Empty Plugin? (Fake Identifier) mneimeyer Plugins 3 11-11-2019 08:07 PM
[Plugin] QuickPrefsEdit - Edit plugin prefs json files. slowsmile Plugins 3 07-25-2018 08:14 PM
Goodread Perception Expander plugin not shown on plugin list (kobo h2o) www KOReader 4 09-28-2017 10:34 AM
Problem with my ScrambleEbook plugin and the Plugin Updater tool jackie_w Development 14 01-19-2017 10:49 PM


All times are GMT -4. The time now is 02:11 PM.


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