[Sans] Eine erste Frage

Steven Armstrong steven.armstrong at inf.ethz.ch
Tue Mar 8 14:43:18 CET 2011


Bircher Peter wrote on 03/08/11 11:48:

Hallo Peter

> Unter Ubuntu mit Python 2.6.5 funktioniert
> 
>   netinfo help
> 
> problemlos. Unter RedHat 5 mit Python 2.4.3 bekomme ich die Fehlermeldung
> 
>   Traceback (most recent call last):
>   File "/instances/svn/sans/bin/netinfo", line 16, in ?
>     from ethz.cli.scripts import netinfo
>   File "/instances/svn/sans/lib/python/ethz/cli/scripts/netinfo.py", line 19, in ?
>     from ethz import util
>   File "/instances/svn/sans/lib/python/ethz/util/__init__.py", line 113
>     finally:
>           ^
> SyntaxError: invalid syntax
> 
> Welche Python Version wird minimal vorausgesetzt?

Entwickelt wird auf 2.6.5, alles ab 2.5 sollte funktionieren.

Hab's jetzt aber grad mal angeschaut, und es schien der Aufwand war
nicht so gross umd das backcompat umzuschreiben.

git pull und nochmal versuchen, sollte jetzt auf RHEL5 auch funktionieren.

Gruss,
Steven


> 
> --
> 
> Mit freundlichen Grüssen Peter Bircher
> 
> --------------- E T H   Zürich  ----------------
> Peter Bircher
> Informatikdienste
> ETH Zentrum, RZ G 5.2
> CH-8092 Zürich
> Tel +41 44 632 72 09
> http://www.id.ethz.ch
> ------------------------------------------------
> 
> Verbringe die Zeit nicht mit der Suche nach einem Hindernis. Vielleicht ist ja keines da.
> Do not use your time looking for an obstacle. Perhaps there is none.
> -- Franz Kafka
> 
> _______________________________________________
> Sans mailing list
> Sans at lists.inf.ethz.ch
> https://lists.inf.ethz.ch/mailman/listinfo/sans


-- 
Steven Armstrong
Institute of Computational Science, ETH Zurich
IT Management & Support
Universitaetsstrasse 6, CAB/H/88
8092 Zurich, Switzerland
Phone: +41 44 632 25 24




More information about the Sans mailing list