[Rivet] Unicode issue with two analysis.cc files in Rivet 2.6.0

Andy Buckley andy.buckley at cern.ch
Tue Jul 10 21:09:10 BST 2018


Thanks for the feedback, Klaus. I think we fixed these in the steps towards 2.6.1 release, but that has unfortunately gone way over time due to manpower shortages. It'll be out soon, but glad you worked around it!

Andy
Dr Andy Buckley, Lecturer / Royal Society University Research Fellow
Particle Physics Experiment Group, University of Glasgow

On Jul 10 2018, at 11:38 am, Klaus Rabbertz <klaus.rabbertz at cern.ch> wrote:
>
> Dear Rivet developers,
> I tried to install the latest Rivet version 2.6.0 on Ubuntu
> 16.04 LTS and found a little issue with make in the doc directory:
>
> ...
> Using output file name 'analyses.html' and directory 'analyses'
> Traceback (most recent call last):
> File "mk-analysis-html", line 201, in <module>
> page += "<kbd>" + src.replace("\n", "<br/>\n") + "</kbd>"
> UnicodeDecodeError: 'ascii' codec can't decode byte 0xe2 in position
> 3214: ordinal not in range(128)
> Makefile:597: recipe for target 'analyses.html' failed
> make[1]: *** [analyses.html] Error 1
> make[1]: Leaving directory '/home/rabbertz/local/src/Rivet-2.6.0/doc'
> ...
>
> The reason is non-unicode characters in two analysis .cc files from
> analysis/plugin...
>
> ATLAS_2016_I1449082.cc contains non-ASCII minus signs in these lines
> 75: // Missing ET is calculated as the 4–vector sum of neutrinos
> from W/Z-boson decays. Tau decays are
> 77: // way as electrons or muons, i.e. the parent is required not
> to be a hadron or quark (u − b).
> 151: // A jet is a b–jet if any B–hadron is included in the jet.
>
> CMS_2017_I1594909.cc contains a non-ASCII delta symbol
> 215: // Region Njet Nb-jet HT [GeV] HTmiss [GeV] Parton
> multiplicity Heavy flavor ? ∆m
>
> I checked with
> grep --color='auto' -P -n '[^\x00-\x7F]' analysis.cc
>
> After removing these characters the installation went fine.
> Ciao,
> Klaus
> _______________________________________________
> Rivet mailing list
> Rivet at projects.hepforge.org
> https://www.hepforge.org/lists/listinfo/rivet
>

-------------- next part --------------
An HTML attachment was scrubbed...
URL: <https://www.hepforge.org/lists-archive/rivet/attachments/20180710/a994dad8/attachment.html>


More information about the Rivet mailing list