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

Validation fails for sitemap input #2

Open
OliverWoolland opened this issue Mar 31, 2022 · 1 comment
Open

Validation fails for sitemap input #2

OliverWoolland opened this issue Mar 31, 2022 · 1 comment

Comments

@OliverWoolland
Copy link
Collaborator

Trouble validating sitemaps has been reported by Bioschemas community member Alisdair Gray.

@AlasdairGray
Copy link

The first sitemap I tried (https://disprot.org/sitemap.xml) is an index of sitemaps.

<sitemapindex xmlns="http://www.sitemaps.org/schemas/sitemap/0.9">
  <sitemap>
    <loc>https://disprot.org/sitemap1.xml.gz</loc>
  </sitemap>
  <sitemap>
    <loc>https://disprot.org/sitemap2.xml.gz</loc>
  </sitemap>
</sitemapindex>

This returned an error

TypeError: 'FileNotFoundError' 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']}

I then tried one fo the nested sitemaps which is a sitemap of URLs. This eventually timed out with no error from what I could see.

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

2 participants