Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Unknown error while validating raw metadata in local instance. #10

Open
NishaSharma14 opened this issue Dec 14, 2022 · 0 comments
Open

Comments

@NishaSharma14
Copy link

NishaSharma14 commented Dec 14, 2022

Describe the bug
I spinned up an instance locally by performing the following steps:

  1. git clone https://github.com/ElixirTeSS/bioschemas-validator.git
  2. git checkout develop
  3. $ pip install -r requirements.txt
  4. streamlit run website_st.py
2022-12-14 10:27:44.241 INFO    matplotlib.font_manager: generated new fontManager

Collecting usage statistics. To deactivate, set browser.gatherUsageStats to False.

2022-12-14 10:27:44.952 Did not auto detect external IP.
Please go to https://docs.streamlit.io/ for debugging hints.

  You can now view your Streamlit app in your browser.

  Network URL: http://172.25.141.140:8501

To Reproduce
Steps to reproduce the behavior:

  1. Go to http://172.25.141.140:8501
  2. Enter Raw metadata
  3. Press Ctrl + Enter
  4. See error
TypeError: string indices must be integers
Traceback:
File "/home/nisha/anaconda3/lib/python3.7/site-packages/streamlit/runtime/scriptrunner/script_runner.py", line 564, in _run_script
    exec(code, module.__dict__)
File "/home/nisha/bioschemas-validator/website_st.py", line 107, in <module>
    markdown_text = report.generate_report_summary(result)
File "/home/nisha/bioschemas-validator/web/report.py", line 13, in generate_report_summary
    """

Expected behavior
It should display any proper validation error if my raw metadata has.

Screenshots
image

Operating System
Windows WSL.

Can anyone please help if I am missing something out here?

@NishaSharma14 NishaSharma14 changed the title TypeError: string indices must be integers Unknown error while validating raw metadata in local instance. Dec 14, 2022
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant