It seems that in some cases, when guppy is used in a notebook and raises an error, the bug isn't rendered and the user sees a lot of
Custom TB Handler failed, unregistering
Custom TB Handler failed, unregistering
Custom TB Handler failed, unregistering
coming from pygments. Maybe pygments is trying to lex the error message as python?