Skip to content

/mission giving a error on excheck_json_data = excheck_json_data['data'][0]['contents']#59

Description

@woutersf

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

Activity

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Metadata

Metadata

Assignees

No one assigned

    Labels

    wontfixThis will not be worked on

    Type

    No type

    Projects

    No projects

      Milestone

      No milestone

      Relationships

      None yet

      Development

      No branches or pull requests

      Issue actions