Hi, Thanks for reporting this bug. It is indeed a python3 compatibility issue, which is is addressed here https://gem5-review.googlesource.com/c/public/gem5/+/44447 and will be merged to the develop branch soon.
Regards, Hoa Nguyen On 4/12/21, Gabe Black via gem5-users <[email protected]> wrote: > Maybe a python 2 vs 3 issue? I haven't used this script myself. > > Gabe > > On Mon, Apr 12, 2021 at 2:02 AM weiwei Zhao via gem5-users < > [email protected]> wrote: > >> cmd:./util/o3-pipeview.py -c 1000 -o DP1d_corr/pipeview.out --color >> DP1d_corr/trace.out >> >> Processing trace... Traceback (most recent call last): >> File "./util/o3-pipeview.py", line 379, in <module> >> main() >> File "./util/o3-pipeview.py", line 371, in main >> *(tick_range + inst_range)) >> File "./util/o3-pipeview.py", line 142, in process_trace >> queue_inst(outfile, curr_inst, cycle_time, width, color, timestamps, >> store_completions) >> File "./util/o3-pipeview.py", line 162, in queue_inst >> print_insts(outfile, cycle_time, width, color, timestamps, >> store_completions, insts['min_threshold']) >> File "./util/o3-pipeview.py", line 167, in print_insts >> insts['queue'].sort(compare_by_sn) >> TypeError: must use keyword argument for key function >> _______________________________________________ >> gem5-users mailing list -- [email protected] >> To unsubscribe send an email to [email protected] >> %(web_page_url)slistinfo%(cgiext)s/%(_internal_name)s > _______________________________________________ gem5-users mailing list -- [email protected] To unsubscribe send an email to [email protected] %(web_page_url)slistinfo%(cgiext)s/%(_internal_name)s
