View Single Post
Old 10-01-2020, 02:47 PM   #8
steinarb
Enthusiast
steinarb is no e-book dilettante.steinarb is no e-book dilettante.steinarb is no e-book dilettante.steinarb is no e-book dilettante.steinarb is no e-book dilettante.steinarb is no e-book dilettante.steinarb is no e-book dilettante.steinarb is no e-book dilettante.steinarb is no e-book dilettante.steinarb is no e-book dilettante.steinarb is no e-book dilettante.
 
Posts: 27
Karma: 53696
Join Date: Nov 2012
Device: Sony PRS T-1
Unfortunately no command line interface. Perhaps it should have had?

That would have made it simpler.

But anyway the plugin is up again.

I started with "calibre-debug main.py" and then working my way through the error messages (wrong imports and "print" without parantheses).

I was confused for a while when "calibre-debug main.py" started reporting errors in other .py files in the plugin and continued to report the errors even after I had fixed them.

But then I found that re-running "calibre-customize -b ." made the fixed code be picked up by main.py.

And after I had fixed all errors the plugin reappeared in calibre.

It is so much easier to work with error messages instead of staring at code I haven't touched for 5 years to try to figure out what's going on...:-)

Thanks!
steinarb is offline   Reply With Quote