Skip to content

Add file tact/config/parserConfig.JSON #5

@lukenoaa

Description

@lukenoaa

Getting this error:

Exception: Failed to get settings for parser: 500
Traceback:
File "/Users/luke.thompson/miniconda3/envs/tact/lib/python3.12/site-packages/streamlit/runtime/scriptrunner/exec_code.py", line 88, in exec_func_with_error_handling
    result = func()
             ^^^^^^
File "/Users/luke.thompson/miniconda3/envs/tact/lib/python3.12/site-packages/streamlit/runtime/scriptrunner/script_runner.py", line 579, in code_to_exec
    exec(code, module.__dict__)
File "/Users/luke.thompson/git/TACT/tact/UI/streamlit/TACT.py", line 52, in <module>
    file_path_from_settings = api_handle.get_config(config_type="parser", field="inputPath")
                              ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
File "/Users/luke.thompson/git/TACT/tact/UI/streamlit/utils/api_handler.py", line 22, in get_config
    raise Exception(

Dylan believes it’s because the API is looking for a config file at “tact/config/parserConfig.JSON” and not finding it. Indeed, adding that file to the directory listed fixes the issue.

Metadata

Metadata

Assignees

Labels

bugSomething isn't working

Projects

No projects

Milestone

No milestone

Relationships

None yet

Development

No branches or pull requests

Issue actions