|
[Rivet] Check Python Version in BootstrapFrank Siegert frank.siegert at cern.chFri Jul 4 15:35:49 BST 2014
Hi all, actually for that issue I have recently committed a fix/workaround to the repository: https://rivet.hepforge.org/trac/changeset/a8c29394d2ba9f1c1ca8b6f71f06f976351e1e38/ Until the next release you could patch your make-plots file accordingly. Cheers, Frank On 4 July 2014 14:43, Andy Buckley <andy.buckley at cern.ch> wrote: > Hi Markus, > > Thanks for the report -- I wasn't aware that that function was not > available in Python 2.6. We do want to be 2.6 compatible so I will > rewrite that for the next release. We might also add a minimal Python > version check into the bootstrap -- thanks for the suggestion. > > I hope you can find a workaround for now, e.g. make a local make-plots > script using Py2.6-compatible functions. If you do that, please let us > know and we'll merge it and credit you! > > Andy > > > On 04/07/14 13:21, Markus Radziej wrote: >> Hi, >> >> I discovered, that in Rivet 2.1.2 in the make-plots executable python >> script, in the function try_cmd(args) you attempt to use >> subprocess.check_output(...). This lead to an error while trying to >> generate plots on the lxcluster I am working on. After some debugging, I >> found out that this routine was implemented in python 2.7 and I am >> running python 2.6. >> >> I think it would be best to check for a minimum python version in the >> bootstrap, don't you agree? >> >> Cheers, >> Markus Radziej >> _______________________________________________ >> Rivet mailing list >> Rivet at projects.hepforge.org >> https://www.hepforge.org/lists/listinfo/rivet > > > -- > Dr Andy Buckley, Royal Society University Research Fellow > Particle Physics Expt Group, University of Glasgow / PH Dept, CERN > _______________________________________________ > Rivet mailing list > Rivet at projects.hepforge.org > https://www.hepforge.org/lists/listinfo/rivet
More information about the Rivet mailing list |