View Single Post
Old 04-08-2011, 12:51 PM   #1
GRiker
Comparer of the Ephemeris
GRiker ought to be getting tired of karma fortunes by now.GRiker ought to be getting tired of karma fortunes by now.GRiker ought to be getting tired of karma fortunes by now.GRiker ought to be getting tired of karma fortunes by now.GRiker ought to be getting tired of karma fortunes by now.GRiker ought to be getting tired of karma fortunes by now.GRiker ought to be getting tired of karma fortunes by now.GRiker ought to be getting tired of karma fortunes by now.GRiker ought to be getting tired of karma fortunes by now.GRiker ought to be getting tired of karma fortunes by now.GRiker ought to be getting tired of karma fortunes by now.
 
Posts: 1,496
Karma: 424697
Join Date: Mar 2009
Device: iPad
Debugging custom plugins

In the user manual section on developing and debugging custom plugins, it says that you can rebuild your plugin while calibre is running, then execute the updated plugin code without relaunching calibre.

After making changes to my code and saving them as described in the manual, I'm not seeing the effects of the changed code. I've inspected the plugin zip file in the calibre config directory and confirmed that the changes were in fact written to the zip file.

Is there some other action I need to take to cause calibre to reload the updated plugin? It would save a lot of development time to be able to use this feature.

G

EDIT: I'm using the demo code supplied by Kovid, and changing some items in the main.py module, in the DemoDialog.__init__() method.

Last edited by GRiker; 04-08-2011 at 01:02 PM.
GRiker is offline   Reply With Quote