|
[Rivet] Check Python Version in BootstrapAndy Buckley andy.buckley at cern.chFri Jul 4 13:43:59 BST 2014
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
More information about the Rivet mailing list |