Quote:
Originally Posted by kovidgoyal
It sounds like the ASL service (which is where print statements go in normal mode) is failling sporadically, probably when there is a lot of output to stdout.
The simple solution is probably just not to print lots of stuff when not in debug mode. Or alternatively use a wrapper for the print function that ignores failures silently.
|
I agree that that has been a problem in past. However, I've already replaced all of the prints in FanFicFare with logger.debug() calls.
I also use logger.info()/error() calls. I assume that the overall process logger level is set such that none of them are output when calibre isn't running in debug mode?