![]() |
#1 |
Connoisseur
![]() 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. |
![]() |
![]() |
![]() |
#2 |
Plugin Developer
![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() 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". |
![]() |
![]() |
Advert | |
|
![]() |
#3 |
Connoisseur
![]() 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 |
![]() |
![]() |
![]() |
#4 |
Connoisseur
![]() 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 |
![]() |
![]() |
![]() |
#5 |
Wizard
![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() 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.
|
![]() |
![]() |
Advert | |
|
![]() |
#6 |
want to learn what I want
![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() 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...) |
![]() |
![]() |
![]() |
#7 |
Wizard
![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() Posts: 1,211
Karma: 1419583
Join Date: Dec 2016
Location: Goiânia - Brazil
Device: iPad, Kindle Paperwhite, Kindle Oasis
|
|
![]() |
![]() |
![]() |
#8 |
Connoisseur
![]() 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 |
![]() |
![]() |
![]() |
|
![]() |
||||
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 |