-
Notifications
You must be signed in to change notification settings - Fork 33
Description
New laptop with a new OS (Manjaro Linux based on Arch).
ROOT is 6.12.04. I rebuilt it to use python2 (2.7.14) since pygui/grut-view.py and others barf with python3.
tk is also installed as version 8.6 which I suspect could be the problem. However, I tried to use tk 8.5 but it couldn't be done without building a lower version of python2 from source, and I spare you the related failures (tk 8.6 is hardcoded into various parts of /usr/lib/python2.7/lib-tk )
When I first open grutinizer I get a couple errors. (The first with color persists even without -g.)
Getline_color/ColorFromName: cannot parse color #CCCC00!
(TFile *) 0x55f11e5e4970
file hist/check/0059.root opened as _file0
GRizer [0] Error in <TProtoClass::FindDataMember>: data member with index 0 is not found in class thread
Error in <CreateRealData>: Cannot find data member # 0 of class thread for parent StoppableThread!
Here is the further (and to me most suspect) output when I open a session with -g and try to view a histogram by clicking on it:
Exception in Tkinter callback
Traceback (most recent call last):
File "/usr/lib/python2.7/lib-tk/Tkinter.py", line 1541, in __call__
return self.func(*args)
File "/home/daid/physics/GRUTinizer/GRUTinizer/pygui/hist_tab.py", line 45, in OnHistClick
for name in event.widget.selection()}
File "/home/daid/physics/GRUTinizer/GRUTinizer/pygui/hist_tab.py", line 45, in <dictcomp>
for name in event.widget.selection()}
File "/home/daid/physics/GRUTinizer/GRUTinizer/pygui/util.py", line 57, in __getitem__
(ROOT.TH1D, ROOT.xH1D),
File "/usr/lib/root/ROOT.py", line 470, in __getattr2
raise AttributeError( name )
AttributeError: xH1D
I think my install is almost there...
It might not be tk if the TProtoClass::FindDataMember is a meaningful error, but I'm not sure what to make of it. gcc is a bit bleeding edge over here (7.2.1) but with clang these days I'm a bit in a daze which compiler should matter where.
However, with all the various PyROOT errors I got, this one was only showing up near the finish line and always after Tkinter seems to actually be loaded successfully (e.g. GUI is showing, I can open folders, just not view the histograms).