nvdla / hw

RTL, Cmodel, and testbench for NVDLA
Other
1.74k stars 568 forks source link

error in ./tools/bin/tmake -build verif_protection (Master branch) #218

Open koroyuki opened 6 years ago

koroyuki commented 6 years ago

Dear sir, I am working on master branch. ./tools/bin/tmake -build vmod and ./tools/bin/tmake -verbose ready_for_test went well. However, ./tools/bin/tmake -build verif_protection ends up with SyntaxError as shown below. I am using Python 3.5.2 and perl v5.16.3. colorama python package is installed. Does anybody you give me a suggestion?

[tago@aplab5 nvdla_hw_master-apl]$ ./tools/bin/tmake -build verif_protection TMAKE: building nv_small in spec/defs TMAKE: building nv_small in spec/manual TMAKE: building nv_small in verif/testbench/trace_generator ---- omitted. no errors ---- TMAKE: building nv_small in vmod/nvdla/top TMAKE: building nv_small in verif/vip/reference_model/nvdla_cmod_wrap TMAKE: building nv_small in verif/testbench/trace_player TMAKE: building nv_small in verif/protection Traceback (most recent call last): File "/autohome/ozuser/APD2/tago/nvdla_hw_master-apl/verif/tools/run_plan.py", line 16, in from run_report import RunReport File "/autohome/ozuser/APD2/tago/nvdla_hw_master-apl/verif/tools/run_report.py", line 290 print(f'[INFO] Will update regression status after {colorama.Fore.RED}%0d{colorama.Style.RESET_ALL} seconds later ...' % val, end='\r') ^ SyntaxError: invalid syntax make: *** [run] Error 1 Died at ./tools/bin/tmake line 254.

[tago@aplab5 nvdla_hw_master-apl]$

GuyEichler commented 5 years ago

I'm having the same error. Did you find a solution? @koroyuki

peter-d commented 5 years ago

I had the same issue. This is because the f'...' syntax for strings is supported from python 3.6 only. I had this error when running with python 3.5.1 but not with 3.6 anymore.

koroyuki commented 5 years ago

Dear Peter, It is a great help to me. I almost give up the NVDLA execution. I try again with Python 3.6.

Thanks again Tago.

2019年3月22日(金) 0:53 Peter notifications@github.com:

I had the same issue. This is because the f'...' syntax for strings is supported from python 3.6 only. I had this error when running with python 3.5.1 but not with 3.6 anymore.

— You are receiving this because you were mentioned. Reply to this email directly, view it on GitHub https://github.com/nvdla/hw/issues/218#issuecomment-475313603, or mute the thread https://github.com/notifications/unsubscribe-auth/AdUawhhUT-dLxC5AHKcanmLuy8gQku-Xks5vY7klgaJpZM4WrR-6 .