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

Disprot markup generating an error #4

Open
AlasdairGray opened this issue Apr 5, 2022 · 0 comments
Open

Disprot markup generating an error #4

AlasdairGray opened this issue Apr 5, 2022 · 0 comments

Comments

@AlasdairGray
Copy link

Describe the bug
Error returned when trying to validate a Disprot page

To Reproduce
Steps to reproduce the behavior:

  1. Enter the URL https://disprot.org/DP01128
  2. Press enter
  3. See error
TypeError: 'IndexError' object is not subscriptable
Traceback:
File "/usr/local/lib/python3.10/site-packages/streamlit/scriptrunner/script_runner.py", line 443, in _run_script
    exec(code, module.__dict__)
File "/validator/website_st.py", line 102, in <module>
    markdown_text = report.generate_report_summary(result)
File "/validator/web/report.py", line 10, in generate_report_summary
    ##### {fmt.header("Against profile:")}  {result['Profile Name']} {result['Profile Version']}

Expected behavior
Validation report

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