Bug #312
xboa tests fail
100%
Description
currently the xboa unit tests fail for maus. see attached. these should pass before v1.0
Files
Updated by Tunnell, Christopher over 12 years ago
seems to happen when
Canvas.Update()
is called within Bunch.py
Updated by Rogers, Chris over 12 years ago
How did you do the build? When I try to import xboa tests, I get error
because numpy isn't found in third_party/build/python ...
Updated by Tunnell, Christopher over 12 years ago
So I build it with numpy-1.5.1. There's now a build script for both numpy and xboa in third_party.
Updated by Rogers, Chris over 12 years ago
Oops, noticed numpy now!
Okay, looks like there is a problem with display in the ROOT
installation. I do at python command line:
import ROOT
c = ROOT.TCanvas('hello')
hist = ROOT.TH2D
hist.Draw()
and get the same error. In fact, get the same error in ROOT/cint. Will
investigate further.
Chri
Updated by Tunnell, Christopher over 12 years ago
If you add a 'test runner' or just some script that outputs the results of the scripts, I can add it to Hudson. If it spits out XML reports, those can be displayed.
Updated by Rogers, Chris over 12 years ago
- Bad QT install
- Bad ROOTSYS etc
Probably to do with the way root build happens, but not sure what has
broken it. I notice env.csh doesn't set ROOTSYS for example.
Updated by Tunnell, Christopher over 12 years ago
Ah.... I'll set $ROOTSYS then (I just manually looked for libraries) and retest.
Updated by Tunnell, Christopher over 12 years ago
I had been trying to avoid as many environmental variables as possible to make syncing bash and C shell scripts easier and just not pollute stuff.
But I need to just set it (and also check if it exists rather than forcing people to grab ROOT). Ill add an issue but it's a low priority at the moment (unless somebody else wants to do it?)
Updated by Rogers, Chris over 12 years ago
I just tried setting rootsys (to third_party/install and third_party/build/root_5.28.00) and it didn't help...
Updated by Tunnell, Christopher over 12 years ago
I just commit a patch that I think will fix it. Waiting for the nightlies to let me know. Main thing? I don't do make install with ROOT and just leave it in its build directory, then source that.
Updated by Tunnell, Christopher over 12 years ago
it's a little nasty though because you then need to setup your environment twice. ie. after you install ROOT, you need to restart bash so it sees root. I don't like the fix, but I can plot stuff at least for the moment.
If that's the issue, I'll add a test to catch this type of ROOT failure in the future.
Updated by Tunnell, Christopher over 12 years ago
https://savannah.cern.ch/bugs/?78845
reported ROOT bug, though think I fixed it here
Updated by Tunnell, Christopher over 12 years ago
- Status changed from Open to Closed
- % Done changed from 0 to 100
Applied in changeset r352.