Closed dhschall closed 2 years ago
This fix still produces an error:
Traceback (most recent call last):
File "/usr/local/pmu-tools/toplev", line 57, in <module>
import ocperf
File "/usr/local/pmu-tools/ocperf.py", line 70, in <module>
import event_download
File "/usr/local/pmu-tools/event_download.py", line 146
cpu, version, name, typ, *_ = n
^
SyntaxError: invalid syntax
However, if I also change the first line of the file pmu-tools/toplev with "python3" instead of "python" it does fix the problem.
@leonardvaney which python version do you use? @dhschall and you?
I use python3 (3.8) Sorry for the late reply @leonardvaney. I was almost supposing that we might use different versions but I did not get the chance to check if with 2.7 it will not work. Thanks for working this out.
I used the the vhive-ubuntu20 profile with cloudlab nodes. This afternoon I tried to launch a new experiment to check the python version of the nodes but the command "python" is no longer recognized. I guess between now and yesterday someone modified the cloudlab profile?
@leonardvaney very unlikely
Thanks for the fix. I fixed it differently because *_ is not compatible with python 2
When starting
toplev
the first time and the event lists are downloaded the parsing fails in line 146 due to wrong tuple unwrapping