View Single Post
Old 06-25-2016, 12:15 PM   #1
jackie_w
Grand Sorcerer
jackie_w ought to be getting tired of karma fortunes by now.jackie_w ought to be getting tired of karma fortunes by now.jackie_w ought to be getting tired of karma fortunes by now.jackie_w ought to be getting tired of karma fortunes by now.jackie_w ought to be getting tired of karma fortunes by now.jackie_w ought to be getting tired of karma fortunes by now.jackie_w ought to be getting tired of karma fortunes by now.jackie_w ought to be getting tired of karma fortunes by now.jackie_w ought to be getting tired of karma fortunes by now.jackie_w ought to be getting tired of karma fortunes by now.jackie_w ought to be getting tired of karma fortunes by now.
 
Posts: 6,252
Karma: 16544692
Join Date: Sep 2009
Location: UK
Device: ClaraHD, Forma, Libra2, Clara2E, LibraCol, PBTouchHD3
Basic question re: Editor plugins

I decided to try to write my first Editor plugin but I seem to be missing something very basic. I'm using Windows 7.

If I put some print() statements in my code to help debug, where is the output supposed to appear? I've started calibre using:
Code:
c:\program files (x86)\calibre2\calibre-debug -g
then opened my test file with the Editor and run the Editor test plugin but I don't see any print output on the console. The last thing shown in the console window is
Code:
Worker Launch took: 0.171999931335
I also tried opening a CMD window and typing
Code:
ebook-edit "path_to_my_epub"
The Editor opens my epub and I can run the test plugin but I still don't see any print() output.

What am I missing?
jackie_w is offline   Reply With Quote