-
-
Notifications
You must be signed in to change notification settings - Fork 67
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
[BUG] Crash on running cyclonedx-py environment -h
on windows
#804
Labels
bug
Something isn't working
Comments
The problem results from the use of singe % characters in the Windows epilogue set from line 64 in _internal/environment.py which is then processed with % formatting by argparse. The following patch will resolve:
|
GadgetSteve
added a commit
to GadgetSteve/cyclonedx-python
that referenced
this issue
Sep 30, 2024
Address CycloneDX#804 by doubling % chars that are meant to be output. Signed-off-by: Steve (Gadget) Barnes <[email protected]>
confirmed via #807 |
thank you for the report and fix |
fix published via version |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Describe the bug
On Windows running
cyclonedx-py environment -h
results in a crash that outputs:To Reproduce
On a Windows machine run
cyclonedx-py environment -h
Expected behavior
Expected to see the help text.
Screenshots or output-paste
cyclonedx-py environment -h
Environment
Additional context
Problem also occurs with other versions of python including 3.13.0rc2.
The text was updated successfully, but these errors were encountered: