|
[Rivet] It's a rivet bug ... 90% sureAndy Buckley andy.buckley at ed.ac.ukThu Nov 10 15:59:35 GMT 2011
Hi Chris, Which version of Rivet did you see this with? (Output of rivet --version) I just did a similar test with some output from another test: cp Rivet.aida with_underscore.aida compare-histos with_underscore.aida make-plots *.dat and everything worked fine. The path element /with_underscore.aida/... does exist in the .dat files, but make-plots is apparently escaping it as it should. The only things I can think of are that you have an old version of Rivet from before when we fixed this (1.6.0 should be safe; my trunk-about-to-become-1.7.0 version certainly seems to be), or perhaps that you have a local custom setting of LATEXINPUTS or similar that means that underscore.sty is not visible to LaTeX? Rivet's setup script installs some LaTeX packages like that which sometimes aren't available on crappy SLC5, but if your LaTeX setup overwrites the Rivet part of the TeX path then you might be out of luck. This is fixable, though! Hope that helps, Andy On 04/11/11 14:54, Christopher Lester wrote: > > I'm now 90% sure its a rivet bug ... > > At first I thought the problem was that Rivet didn't like the aida file > to have the name [ANALYSIS].aida ... but I disproved that by checking I > could rename other analyses' aida files without problem. > > What I have now found, is that the problem seems only to occur when I > rename the aida file to have an underscore "_" in it. > > So: > > rivet-mkhtml Rivet.aida ; # Works! > > cp Rivet.aida Moo.aida > rivet-mkhtml Moo.aia ; # Works! > > cp Rivet.aida Moo_moo.aida > rivet-mkhtml Moo_moo.aia ; # Fails! > > #(blank plots) > > I hope that helps. > > Anyway, for the moment I now have a work around ... > > On Fri, 4 Nov 2011, Christopher Lester wrote: > >> >> >> Attached are three identical files differing only in name. Rivet.aida >> was generated from a rivet analysis called LESTER_TEST1. THe other two >> files are just copies of the same Aida file, but with different names: >> Moo.aida and LESTER_TEST1.aida. >> >> I find it very odd, then, that >> >> rivet-mkhtml Rivet.aida >> rivet-mkhtml Moo.aida >> >> both work as expected (i.e. make sensible plots) but >> >> rivet-mkhtml LESTER_TEST1.aida >> >> makes "blank" plots ... i.e. goes through all the motions of producing >> png and pdf files and a web page and all ... but makes all the plots >> as uniform expanses of white canvas with nothing on. >> >> Is this a bug or a feature? >> > > ------------------------------------- > Christopher Lester 01223 690509 > 59 Mulberry Close, Cambridge, CB4 2AS > ----------------------------------------------------- > Dr Christopher Lester Tel: +44 (0)1223 337232 > Room 952, Department of Physics, Cavendish Laboratory > JJ Thomson Avenue, Cambridge, CB3 0HE, United Kingdom > -- 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 |