|
[Rivet] rivet-findid KeyErrorBenedikt Hegner Benedikt.Hegner at cern.chMon Jun 22 16:39:36 BST 2015
Hi all, I thought we do the tests to validate that we do a proper installation etc of things and not to do the complete job for the package authors. Thus there is no need for a full coverage of all tests there are in a package. In particular this test relies on external resources/network access. This is something we shouldn’t do as it makes our setup more fragile and depend on the quality of outside services. just my two cents, Benedikt On 22 Jun 2015, at 17:31, Grigorii Latyshev <grigorii.latyshev at cern.ch<mailto:grigorii.latyshev at cern.ch>> wrote: Dear rivet developers, In GENSER project we provide a number of LCG installations of rivet for experiments. For each version we have a set (or just one) of tests which notify us in case of errors. Starting from 18-06-2015 we have found that rivet-findid test fails (more detail on http://cdash.cern.ch/testDetails.php?test=8919703&build=135824)! The test is very simple: rivet-findid 1003.0694 It should print details about Rivet user manual: $ rivet-findid 1003.0694 title Rivet user manual arxiv 1003.0694 arxiv_url http://arxiv.org/abs/1003.0694 spires 8576807 inspire 847552 inspire_url http://inspirehep.net/record/847552 bibtex Buckley:2010ar But now it fails with the following error: Traceback (most recent call last): File "/build/jenkins/workspace/lcg_experimental/BUILDTYPE/Release/COMPILER/gcc48/LABEL/lcgapp-slc6-physical1/x86_64-slc6-gcc48-opt-install/MCGenerators/rivet/2.2.1/x86_64-slc6-gcc48-opt/bin/rivet-findid", line 187, in <module> main() File "/build/jenkins/workspace/lcg_experimental/BUILDTYPE/Release/COMPILER/gcc48/LABEL/lcgapp-slc6-physical1/x86_64-slc6-gcc48-opt-install/MCGenerators/rivet/2.2.1/x86_64-slc6-gcc48-opt/bin/rivet-findid", line 44, in main RESULT = try_arxiv(id) File "/build/jenkins/workspace/lcg_experimental/BUILDTYPE/Release/COMPILER/gcc48/LABEL/lcgapp-slc6-physical1/x86_64-slc6-gcc48-opt-install/MCGenerators/rivet/2.2.1/x86_64-slc6-gcc48-opt/bin/rivet-findid", line 109, in try_arxiv ret = _search_inspire(url) File "/build/jenkins/workspace/lcg_experimental/BUILDTYPE/Release/COMPILER/gcc48/LABEL/lcgapp-slc6-physical1/x86_64-slc6-gcc48-opt-install/MCGenerators/rivet/2.2.1/x86_64-slc6-gcc48-opt/bin/rivet-findid", line 163, in _search_inspire result['bibtex'] = entries['z'] KeyError: 'z' I have made a little investigation and found that rivet-findid looks on page http://inspirehep.net/search?p=eprint+1003.0694&of=xm and tries to find key 'z' in <subfield> in the following block ... <datafield tag="035" ind1=" " ind2=" "> <subfield code="9">SPIRESTeX</subfield> <subfield code="a">Buckley:2010ar</subfield> </datafield> ... but now the code is "a". Manual replacement result['bibtex'] = entries['z'] -> result['bibtex'] = entries['a'] resolves the problem locally. But it practically impossible to reinstall all rivet versions in LCG stack. Could you please take a look? It is not critical issue for us. Thank you! -- Best regards, Grigory Latyshev behalf on GENSER team -------------- next part -------------- An HTML attachment was scrubbed... URL: <https://www.hepforge.org/lists-archive/rivet/attachments/20150622/d2e24e2a/attachment.html>
More information about the Rivet mailing list |