|
[Rivet] rivet module could not be loadedAndy Buckley andy.buckley at ed.ac.ukFri Jan 7 11:10:16 GMT 2011
Hi Albert, I'm copying this to the Rivet list as it's not really a Professor problem: it looks to me like your copy of Rivet is too old to have the function needed to find the Rivet reference data files. Which version of Rivet are you using? Andy On 07/01/11 10:56, Albert Knutsson wrote: > > Dear Professor experts, > > I'm following the tutorial on the Professor wiki. > > > [lxplus438] ~/professor/lep-exercise $ prof-sensitivities --datadir . > --ipoldir ipols --runsfile runcombs.dat --obsfile weights --plotmode > extremal -o sensitivity_plots > > gives me > > === > > Could not create RivetDataProxy: 'module' object has no attribute > 'getAnalysisRefPaths' > Output directory for sensitivity plots: sensitivity_plots/sensitivities > Using center of hyper-cube spanned by anchor points as center of cross. > Using QuadraticBinInterpolationWeave for interpolation. > --------------------------------------------------------------------------- > ValueError Traceback (most recent call last) > > /afs/cern.ch/user/k/knutsson/professor/bin/prof-sensitivities > 321 > 322 ## Load AIDA-path => title dictionary. > --> 323 pp = prof.PlotParser() > 324 histoinfos = {} > 325 for obs in obsnames: > > /afs/cern.ch/user/k/knutsson/professor/professor/histo/lighthisto.pyc in > __init__(self, plotpaths) > 495 self.plotpaths = rivet.getAnalysisRefPaths() > 496 except Exception: > --> 497 raise ValueError("No plotpaths given and the > rivet module could not be loaded!") > 498 > 499 def getSection(self, section, hpath): > > ValueError: No plotpaths given and the rivet module could not be loaded! > > === end of output > > "rivet --list-analyses" works. > > "import rivet" in python works. > > > Any suggestions? > > Thanks and cheers, > Albert > > > ps. from python I often get the warning > "/usr/lib64/python2.4/site-packages/scipy/weave/__init__.py:22: > DeprecationWarning: NumpyTest will be removed in the next release; > please update your code to use nose or unittest > test = NumpyTest().test" but I assume it is not related to the above. > > > > -- Dr Andy Buckley SUPA Advanced Research Fellow Particle Physics Experiment Group, University of Edinburgh The University of Edinburgh is a charitable body, registered in Scotland, with registration number SC005336.
More information about the Rivet mailing list |