[Rivet] It's a rivet bug ... 90% sure

Christopher Lester lester at hep.phy.cam.ac.uk
Thu Nov 10 18:20:43 GMT 2011


On Thu, 10 Nov 2011, Andy Buckley wrote:

> Hi Chris,
>
> Which version of Rivet did you see this with? (Output of rivet --version)


bash-3.2$
bash-3.2$ rivet --version
rivet v1.6.0
bash-3.2$

$LATEXINPUTS is blank, but I do have a semi-custom $TEXINPUTS

bash-3.2$ echo $TEXINPUTS
.:/usr/share/texmf/tex//:/usr/share/texmf/bibtex//:/usera/lester/LESTERHOME/proj/latex:/usera/lester/LESTERHOME/proj/papers/STYLES//

My full env is attached as moo.txt.

Also attached are success.tgz containing Rivet.aida and the plots 
dir made from it, and failure.tgz containing Rivet_moo.aida, and the 
(failed, blank) plots made from it.

(rm -rf plots was done between runs)


> 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.
>
>

-------------------------------------
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
-------------- next part --------------
An embedded and charset-unspecified text was scrubbed...
Name: moo.txt
URL: <http://www.hepforge.org/lists-archive/rivet/attachments/20111110/d609b521/attachment.txt>
-------------- next part --------------
A non-text attachment was scrubbed...
Name: success.tgz
Type: application/x-gzip
Size: 77197 bytes
Desc: success.tgz
URL: <http://www.hepforge.org/lists-archive/rivet/attachments/20111110/d609b521/attachment.bin>
-------------- next part --------------
A non-text attachment was scrubbed...
Name: failure.tgz
Type: application/x-gzip
Size: 8219 bytes
Desc: failure.tgz
URL: <http://www.hepforge.org/lists-archive/rivet/attachments/20111110/d609b521/attachment-0001.bin>


More information about the Rivet mailing list