View Single Post
Old 04-22-2016, 03:09 AM   #1235
kovidgoyal
creator of calibre
kovidgoyal ought to be getting tired of karma fortunes by now.kovidgoyal ought to be getting tired of karma fortunes by now.kovidgoyal ought to be getting tired of karma fortunes by now.kovidgoyal ought to be getting tired of karma fortunes by now.kovidgoyal ought to be getting tired of karma fortunes by now.kovidgoyal ought to be getting tired of karma fortunes by now.kovidgoyal ought to be getting tired of karma fortunes by now.kovidgoyal ought to be getting tired of karma fortunes by now.kovidgoyal ought to be getting tired of karma fortunes by now.kovidgoyal ought to be getting tired of karma fortunes by now.kovidgoyal ought to be getting tired of karma fortunes by now.
 
kovidgoyal's Avatar
 
Posts: 45,479
Karma: 27757440
Join Date: Oct 2006
Location: Mumbai, India
Device: Various
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.
kovidgoyal is offline   Reply With Quote