/mission giving a error on excheck_json_data = excheck_json_data['data'][0]['contents']
Opened this issue ยท 1 comments
woutersf commented
I just succeeded in installing the FTS and UI a,d Isee them via the browser ๐.
Thanks for your efforts on this system.
I'm bumping into an error page navigating to the /mission url.
I'm not sure if I did not configure correctly or something is wrong?
The code
The code looks as followed:
excheck_json_data = excheck_json_data['data'][0]['contents']
However the logs say that excheck_json_data looks like this:
{'ExCheck': {'Templates': [], 'Checklists': []}}
The error looks like this:
File "/usr/local/lib/python3.8/dist-packages/FreeTAKServer-UI/app/home/routes.py", line 69, in missionApi
excheck_json_data = excheck_json_data['data'][0]['contents'],
KeyError: 'data'
Details of my setup:
Fresh install (Ubuntu on google cloud)
[FTS SERVER INFO]
FreeTAKServer-2.0.69
[UI SERVER INFO]
Version 2.1
[UP TIME]
1H 9M 17S
brothercorvo commented
you are running FTS on Python 3.8, the suggested version is 3.11. also it's strange that you have FTS 2.0 and the 2.1 UI