Register Guidelines E-Books Search Today's Posts Mark Forums Read

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

Notices

Reply
 
Thread Tools Search this Thread
Old 05-08-2020, 06:38 AM   #1
OrangeFlavored
Enthusiast
OrangeFlavored doesn't litterOrangeFlavored doesn't litter
 
Posts: 34
Karma: 100
Join Date: Oct 2014
Device: Likebook Mars
Anyone know why my plugin gets duplicated in the preferences menu/calibre-customize?

Made this very simple plugin here to give me a way to import some metadata into Calibre columns from a KOreader library folder. Seems to work alright for syncing up my read % and last read dates but I noticed that for some reason the plugin appears twice in Calibre's list. (Both the GUI and the calibre-customize -l one)

It doesn't seem to have an effect on its function that I can see, but it makes me feel like I screwed up in configuring it somehow so kinda curious if anyone knows what I did wrong here. Plugin is just a single Python file with the code as shown on that other forum post saved as __init__.py in a folder and imported using calibre-customize -b "C:\Path\To\Folder". Tried removing it a few times but it still gets duplicated when I add it back again...
Attached Thumbnails
Click image for larger version

Name:	Untitled.png
Views:	213
Size:	16.8 KB
ID:	179130  
OrangeFlavored is offline   Reply With Quote
Old 05-08-2020, 07:19 AM   #2
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: 44,756
Karma: 24967300
Join Date: Oct 2006
Location: Mumbai, India
Device: Various
Shows up only once for me. I wouldnt worry about it, if it is working.
kovidgoyal is offline   Reply With Quote
Advert
Old 05-08-2020, 08:12 AM   #3
davidfor
Grand Sorcerer
davidfor ought to be getting tired of karma fortunes by now.davidfor ought to be getting tired of karma fortunes by now.davidfor ought to be getting tired of karma fortunes by now.davidfor ought to be getting tired of karma fortunes by now.davidfor ought to be getting tired of karma fortunes by now.davidfor ought to be getting tired of karma fortunes by now.davidfor ought to be getting tired of karma fortunes by now.davidfor ought to be getting tired of karma fortunes by now.davidfor ought to be getting tired of karma fortunes by now.davidfor ought to be getting tired of karma fortunes by now.davidfor ought to be getting tired of karma fortunes by now.
 
Posts: 24,905
Karma: 47303824
Join Date: Jul 2011
Location: Sydney, Australia
Device: Kobo:Touch,Glo, AuraH2O, GloHD,AuraONE, ClaraHD, Libra H2O; tolinoepos
The times I have seen something like that was because of a name change somewhere. I think it was a combination of file and plugin name. Check that there aren't two copies of the plugin in the configuration directory.
davidfor is offline   Reply With Quote
Old 05-08-2020, 07:40 PM   #4
OrangeFlavored
Enthusiast
OrangeFlavored doesn't litterOrangeFlavored doesn't litter
 
Posts: 34
Karma: 100
Join Date: Oct 2014
Device: Likebook Mars
Quote:
Originally Posted by davidfor View Post
The times I have seen something like that was because of a name change somewhere. I think it was a combination of file and plugin name. Check that there aren't two copies of the plugin in the configuration directory.
Ahh yeah you're right, checked customize.py.json and there was a duplicate line for my plugin that did not go away when the plugin was removed, getting rid of that manually fixed it.
OrangeFlavored is offline   Reply With Quote
Reply

Thread Tools Search this Thread
Search this Thread:

Advanced Search

Forum Jump

Similar Threads
Thread Thread Starter Forum Replies Last Post
I (somehow) removed the Preferences icon from my main menu PTrenholme Library Management 4 02-19-2020 07:27 PM
[Editor Plugin] - Enabling 'Customize plugin' dialog directly from the Editor thiago.eec Development 7 01-09-2019 09:05 PM
Customize menu bunglegrind KOReader 2 09-10-2018 10:14 PM
Edit plugin menu/buttons in Calibre Riseninme Calibre 1 08-10-2018 01:12 PM
Implemented, plugin, or so? Duplicated juliusromo Calibre 2 12-26-2012 07:51 PM


All times are GMT -4. The time now is 05:55 PM.


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