Using Pyroot in combination with the jupyter framework (mostly its a qtconsole I am working with) , I am struggling with same ROOT functions that send larger amount of text to stdout:
TDirectory:ls makes the system freeze and requires a restart of the jupyter ipykernel (loosing all unsaved work …). Sometimes
Crtl-C helps to prevent the impending deadlock and brings up the requested information (like the directory content when ls is involved), but this is not always the case. I haven’t encountered this issue in conjunction with the
Print() function, but I wouldn’t bet on it being 100% save. In turn I would assume that
TTree::Scan is also affected.
The problem is kind of mysterious and is probably not even caused by ROOT but rather by the jupyter framework (maybe related: [https://github.com/jupyter/notebook/issues/2364](http://e.g., see here)). I try to avoid calling these functions out of an interactive Pyroot session, but from time to time it still happens.
I just wanted to aks if this problem is known, If I am the only one facing it and if not, how do you deal with it?
ROOT Version: 6.14-04
Jupyter QtConsole 4.4.0