Problem 2294

Summary: Plot scripts use Python 2
Product: Examples/Extended Reporter: Stephan Lachnit <stephan.lachnit>
Component: eventgenerator/exgpsAssignee: Laurent Desorgher <laurent.desorgher>
Status: ASSIGNED ---    
Severity: minor CC: Alberto.Ribon, Koichi.Murakami
Priority: P4    
Version: 10.6   
Hardware: All   
OS: All   

Description Stephan Lachnit 2020-11-27 13:01:25 CET
The shebang of macros/plotall.py, macros/plotfiles.py and plottest35.py is "#!/usr/bin/python", implying that these scripts will run with Python 2. Python 2 was marked EOL on 2020-01-01, and the release of Python 3 was in 2008. I think using Python 3 ("#!/usr/bin/python3") would be appropriate (haven't taken a look if these scripts need to be changed or if replacing the shebang is sufficient).
Comment 1 Ivana Hrivnacova 2022-03-04 11:19:29 CET
Assigning to the author of these scripts.