|
[Rivet] Python, Rivet 1.20, CERN AFS, LXBATCHAndy Buckley andy.buckley at ed.ac.ukThu Mar 18 19:15:06 GMT 2010
I recommend using SLC5 at CERN when possible: lxplus5.cern.ch should be enough. If that's not an option, then I know that there are Python 2.5 setups on AFS -- the ATLAS software uses one, for sure -- maybe the CERN helpdesk could advise on how to set up the shell environment to use one of those? Andy On 18/03/10 15:24, Eike von Seggern wrote: > Hi Terrance, > > the old Python 2.3 on SL 4 is probably the culprit. It's missing some > language constructs modern Python version have. > > Can you please try the attached patch. You can apply it like this: > > cd /afs/cern.ch/user/t/terrance/rivet-1.2.0/local/lib64/python2.3/site-packages/ > patch -p0 < PATH/TO/lighthisto.patch > > Cheers, > eike > > > On Thu, Mar 18, 2010 at 12:44 +0100, Terrance Figy wrote: >> Dear Rivet developers, >> I was wondering if you could help me understand why the aida2flat script crashes. Should I be using phython 2.5. Cern AFS seems be using 2.3 by default on the SL4. >> >> Any help will be greatly appreciated. >> >> >> bash-3.00$ aida2flat -help >> Traceback (most recent call last): >> File "/afs/cern.ch/user/t/terrance/rivet-1.2.0/local/bin/aida2flat", line 5, in ? >> import lighthisto >> File "/afs/cern.ch/user/t/terrance/rivet-1.2.0/local/lib64/python2.3/site-packages/lighthisto.py", line 18 >> for code,name in codepoint2name.iteritems() >> >> >> Cheers, >> Terrance >> >> >> _______________________________________________ >> Rivet mailing list >> Rivet at projects.hepforge.org >> http://www.hepforge.org/lists/listinfo/rivet -- Dr Andy Buckley SUPA Advanced Research Fellow Particle Physics Experiment Group, University of Edinburgh The University of Edinburgh is a charitable body, registered in Scotland, with registration number SC005336.
More information about the Rivet mailing list |