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

Missing static HTML files in pip installation #3499

Closed
yalfg opened this issue Nov 15, 2021 · 1 comment · Fixed by #3502
Closed

Missing static HTML files in pip installation #3499

yalfg opened this issue Nov 15, 2021 · 1 comment · Fixed by #3502
Labels
bug 🐛 CI 📦 report-converter 🔄 tools 🛠️ Meta-tag for all the additional tools supplied with CodeChecker: plist2html, tu_collector, etc.

Comments

@yalfg
Copy link

yalfg commented Nov 15, 2021

Describe the bug
The generation of a static HTML report fails with an exception due to a missing HTML static file in the pip installation.

CodeChecker version
6.18.0, installed using pip3.

To Reproduce
Just try to generate an HTML report from a previous analysis, for example:

CodeChecker parse -e html -o html_report ./pfiles

This will fail with a python exception.

Expected behaviour
Successful creation of an HTML report.

Desktop (please complete the following information)

  • OS: Debian Linux Buster or Bullseye

Additional context
When installing 6.18.0 using pip3, the HTML static files directory is missing. It should be under:
site-packages/codechecker_report_converter/report/output/html/static.
This cause the parsing with export to HTML to fail with an exception as it can't find static/layout.html.

@yalfg yalfg changed the title Missing static files in pip installation Missing static HTML files in pip installation Nov 15, 2021
@francois-berder
Copy link

I confirm I am also having this bug on Ubuntu 20.04

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
bug 🐛 CI 📦 report-converter 🔄 tools 🛠️ Meta-tag for all the additional tools supplied with CodeChecker: plist2html, tu_collector, etc.
Projects
None yet
Development

Successfully merging a pull request may close this issue.

3 participants