No graphical objects have appeared after their creation, for instance, TBrowser, TCanvas etc:
b = ROOT.TBrowser()
c = ROOT.TCanvas()
Such behaviour does not take place in the previous ROOT versions, in particular, in version
6.14.04 it works fine.
ROOT Version: 6.22/02
Platform: CentOS Linux release 7.8.2003 (lxplus)
Compiler: GCC 4.8.5
does running the code with
python -i (note the
-i) solve the issue?
What if you run those lines in the interactive interpreter rather than in a script? Also if you are on lxplus did you connect with
ssh -XY to get X11 forwarding? Are there warnings or errors printed on screen?
Thank you very much for the prompt response.
Python is run in an interactive mode, not as a script.
I connect to lxplus via MobaXterm with enabled X11-forwarding. Please note it works fine with
No warnings, either errors are thrown
The reason is probably that ROOT is running in batch mode (
ROOT.gROOT.IsBatch() probably returns
I get the same result when using
6.14/08 from the LCG releases (
What is a working setup on current lxplus?
Yes, you are right,
Setting Batch to False resolves issue:
Thank you very much!
This topic was automatically closed 14 days after the last reply. New replies are no longer allowed.