|
[Rivet] Check Python Version in BootstrapMarkus Radziej radziej at physik.rwth-aachen.deFri Jul 4 17:49:48 BST 2014
Hi Frank, I have actually coded a fix that works with python 2.5. I gave it to Andy to have a look at, so we might get a permanent fix and compatability for python 2.6. After all I am doing my EPR work with Rivet, so I actually want a version that works flawlessly on my lxcluster. ;) Cheers, Markus <div>-------- Original message --------</div><div>From: Frank Siegert <frank.siegert at cern.ch> </div><div>Date:04/07/2014 16:35 (GMT+01:00) </div><div>To: Andy Buckley <andy.buckley at cern.ch> </div><div>Cc: Markus Radziej <radziej at physik.rwth-aachen.de>,Rivet <rivet at projects.hepforge.org> </div><div>Subject: Re: [Rivet] Check Python Version in Bootstrap </div><div> </div>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 -------------- next part -------------- An HTML attachment was scrubbed... URL: <https://www.hepforge.org/lists-archive/rivet/attachments/20140704/21f97fd1/attachment.html>
More information about the Rivet mailing list |