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!
|