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

Safety 3.0.1 fails to output HTML report #512

Open
quoimec opened this issue Apr 16, 2024 · 0 comments
Open

Safety 3.0.1 fails to output HTML report #512

quoimec opened this issue Apr 16, 2024 · 0 comments
Assignees

Comments

@quoimec
Copy link

quoimec commented Apr 16, 2024

  • safety version: 3.0.1
  • Python version: 3.10
  • Operating System: Windows 11

Description

I'm trying to run safety locally to produce an HTML report however Safety continually fails with the following error message when I use the --output html option:

Unhandled exception happened: scan/index.html

No other output or context is provided by the package.

What I Did

I am running the following safety command to produce the report:

safety --stage production --key 'MY_KEY' scan --target SOME_DIR --output html --policy-file .safety-policy.yml

When I use the --output json option however, safety runs successfully. I am running Safety inside of an isolated Poetry environment with few other packages installed.

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

Successfully merging a pull request may close this issue.

2 participants