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

Docker image doesn't generate BOM for python projects #269

Open
sbs2001 opened this issue Sep 10, 2022 · 2 comments
Open

Docker image doesn't generate BOM for python projects #269

sbs2001 opened this issue Sep 10, 2022 · 2 comments
Labels
bug Something isn't working

Comments

@sbs2001
Copy link
Contributor

sbs2001 commented Sep 10, 2022

To reproduce, try https://github.com/opensbom-generator/spdx-sbom-generator#docker-images where the mounted project is python based.

The logs include:

INFO[2022-09-10T13:09:25Z] Running generator for Module Manager: `pyenv` with output `/tmp/out/bom-pyenv.json` 
INFO[2022-09-10T13:09:25Z] Command has completed with errors for some package managers, see details below 
INFO[2022-09-10T13:09:25Z] Plugin pyenv return error Python version not found 

This seems to be happening because the image doesn't include pyenv

@sbs2001 sbs2001 added the bug Something isn't working label Sep 10, 2022
@prakrit55
Copy link

Hey @sbs2001 I had set it up in my local machine, what are the steps to reproduce it how to pass the code??

@strowi
Copy link

strowi commented May 10, 2023

Having the same issue. to reproduce create an empty folder with only a requirements.txt and run:

~> docker run -it --rm -v $PWD:/repository -v $PWD/out:/out spdx/spdx-sbom-generator -p /repository/ -o /out
INFO[2023-05-10T12:24:10Z] Starting to generate SPDX ...                
INFO[2023-05-10T12:24:10Z] Running generator for Module Manager: `pyenv` with output `/out/bom-pyenv.spdx` 
INFO[2023-05-10T12:24:10Z] Command has completed with errors for some package managers, see details below 
INFO[2023-05-10T12:24:10Z] Plugin pyenv return error Python version not found 

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
bug Something isn't working
Projects
None yet
Development

No branches or pull requests

3 participants