error running epic epoch from Cortext manager web UI
When the Epic Epoch is executed on LOCAL environment using the Cortext Manager web UI the script fails with the error below.
def epic_epoch(path_to_job_params: str):
^
SyntaxError: invalid syntax
full log.txt
[2025-02-18 17:27:06] JOB.MGR: Starting process creation...
[2025-02-18 17:27:06] JOB.MGR: RootPath=(/srv/cortext/cortext-assets/server/app/../documents/8330/8330cb9755b5c128a35ff726e93f5da5/322)
[2025-02-18 17:27:06] JOB.MGR: Change directory to : /srv/cortext/cortext-methods-transition/epic-epoch/epic_epoch
[2025-02-18 17:27:06] JOB.MGR: Lancement de : python /srv/cortext/cortext-methods/../cortext-methods-transition/epic-epoch/epic_epoch/epic_epoch.py
[2025-02-18 17:27:06] JOB.MGR: Fichier de parametres : /srv/cortext/cortext-assets/server/app/../documents/8330/8330cb9755b5c128a35ff726e93f5da5/322/param.yml
[2025-02-18 17:27:06] JOB.MGR: Process lancé à 2025-02-18 17:27:06
[2025-02-18 17:27:06] JOB#@4a4c2f20148e|JOBID322_PID701.STATUS: Boucle: 1
[2025-02-18 17:27:06] JOB#@4a4c2f20148e|JOBID322_PID701.STATUS: ---still running...----
[2025-02-18 17:27:06] JOB#@4a4c2f20148e|JOBID322_PID701.STATUS: {"command":"exec python \/srv\/cortext\/cortext-methods\/..\/cortext-methods-transition\/epic-epoch\/epic_epoch\/epic_epoch.py \/srv\/cortext\/cortext-assets\/server\/app\/..\/documents\/8330\/8330cb9755b5c128a35ff726e93f5da5\/322\/param.yml","pid":701,"running":true,"signaled":false,"stopped":false,"exitcode":-1,"termsig":0,"stopsig":0}
[2025-02-18 17:27:08] JOB#@4a4c2f20148e|JOBID322_PID701.STATUS: Boucle: 2
[2025-02-18 17:27:08] JOB#@4a4c2f20148e|JOBID322_PID701.STDERR: File "/srv/cortext/cortext-methods/../cortext-methods-transition/epic-epoch/epic_epoch/epic_epoch.py", line 11
def epic_epoch(path_to_job_params: str):
^
SyntaxError: invalid syntax
[2025-02-18 17:27:08] JOB#@4a4c2f20148e|JOBID322_PID701.STATUS: {"command":"exec python \/srv\/cortext\/cortext-methods\/..\/cortext-methods-transition\/epic-epoch\/epic_epoch\/epic_epoch.py \/srv\/cortext\/cortext-assets\/server\/app\/..\/documents\/8330\/8330cb9755b5c128a35ff726e93f5da5\/322\/param.yml","pid":701,"running":false,"signaled":false,"stopped":false,"exitcode":1,"termsig":0,"stopsig":0}
[2025-02-18 17:27:08] JOB#@4a4c2f20148e|JOBID322_PID701.STATUS: Boucle: 3
[2025-02-18 17:27:08] JOB#@4a4c2f20148e|JOBID322_PID701.STATUS: {"command":"exec python \/srv\/cortext\/cortext-methods\/..\/cortext-methods-transition\/epic-epoch\/epic_epoch\/epic_epoch.py \/srv\/cortext\/cortext-assets\/server\/app\/..\/documents\/8330\/8330cb9755b5c128a35ff726e93f5da5\/322\/param.yml","pid":701,"running":false,"signaled":false,"stopped":false,"exitcode":1,"termsig":0,"stopsig":0}
[2025-02-18 17:27:08] JOB#@4a4c2f20148e|JOBID322_PID701.MGR: Appel de close
[2025-02-18 17:27:06] JOB.MGR: Starting process creation...
[2025-02-18 17:27:06] JOB.MGR: RootPath=(/srv/cortext/cortext-assets/server/app/../documents/8330/8330cb9755b5c128a35ff726e93f5da5/322)
[2025-02-18 17:27:06] JOB.MGR: Change directory to : /srv/cortext/cortext-methods-transition/epic-epoch/epic_epoch
[2025-02-18 17:27:06] JOB.MGR: Lancement de : python /srv/cortext/cortext-methods/../cortext-methods-transition/epic-epoch/epic_epoch/epic_epoch.py
[2025-02-18 17:27:06] JOB.MGR: Fichier de parametres : /srv/cortext/cortext-assets/server/app/../documents/8330/8330cb9755b5c128a35ff726e93f5da5/322/param.yml
[2025-02-18 17:27:06] JOB.MGR: Process lancé à 2025-02-18 17:27:06
[2025-02-18 17:27:06] JOB#@4a4c2f20148e|JOBID322_PID701.STATUS: Boucle: 1
[2025-02-18 17:27:06] JOB#@4a4c2f20148e|JOBID322_PID701.STATUS: ---still running...----
[2025-02-18 17:27:06] JOB#@4a4c2f20148e|JOBID322_PID701.STATUS: {"command":"exec python \/srv\/cortext\/cortext-methods\/..\/cortext-methods-transition\/epic-epoch\/epic_epoch\/epic_epoch.py \/srv\/cortext\/cortext-assets\/server\/app\/..\/documents\/8330\/8330cb9755b5c128a35ff726e93f5da5\/322\/param.yml","pid":701,"running":true,"signaled":false,"stopped":false,"exitcode":-1,"termsig":0,"stopsig":0}
[2025-02-18 17:27:08] JOB#@4a4c2f20148e|JOBID322_PID701.STATUS: Boucle: 2
[2025-02-18 17:27:08] JOB#@4a4c2f20148e|JOBID322_PID701.STDERR: File "/srv/cortext/cortext-methods/../cortext-methods-transition/epic-epoch/epic_epoch/epic_epoch.py", line 11
def epic_epoch(path_to_job_params: str):
^
SyntaxError: invalid syntax
[2025-02-18 17:27:08] JOB#@4a4c2f20148e|JOBID322_PID701.STATUS: {"command":"exec python \/srv\/cortext\/cortext-methods\/..\/cortext-methods-transition\/epic-epoch\/epic_epoch\/epic_epoch.py \/srv\/cortext\/cortext-assets\/server\/app\/..\/documents\/8330\/8330cb9755b5c128a35ff726e93f5da5\/322\/param.yml","pid":701,"running":false,"signaled":false,"stopped":false,"exitcode":1,"termsig":0,"stopsig":0}
[2025-02-18 17:27:08] JOB#@4a4c2f20148e|JOBID322_PID701.STATUS: Boucle: 3
[2025-02-18 17:27:08] JOB#@4a4c2f20148e|JOBID322_PID701.STATUS: {"command":"exec python \/srv\/cortext\/cortext-methods\/..\/cortext-methods-transition\/epic-epoch\/epic_epoch\/epic_epoch.py \/srv\/cortext\/cortext-assets\/server\/app\/..\/documents\/8330\/8330cb9755b5c128a35ff726e93f5da5\/322\/param.yml","pid":701,"running":false,"signaled":false,"stopped":false,"exitcode":1,"termsig":0,"stopsig":0}
[2025-02-18 17:27:08] JOB#@4a4c2f20148e|JOBID322_PID701.MGR: Appel de close