[Rivet] Python, Rivet 1.20, CERN AFS, LXBATCH

Eike von Seggern jan.eike.von.seggern at physik.hu-berlin.de
Thu Mar 18 15:24:17 GMT 2010


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 
-------------- next part --------------
A non-text attachment was scrubbed...
Name: lighthisto.patch
Type: text/x-diff
Size: 606 bytes
Desc: not available
Url : http://www.hepforge.org/lists-archive/rivet/attachments/20100318/d1914599/attachment.patch 


More information about the Rivet mailing list