You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Traceback (most recent call last):
File "/usr/local/bin/distro2sbom", line 8, in <module>
sys.exit(main())
File "/usr/local/lib/python3.9/dist-packages/distro2sbom/cli.py", line 216, in main
sbom_build.parse_data(args["input_file"])
File "/usr/local/lib/python3.9/dist-packages/distro2sbom/distrobuilder/dpkgbuilder.py", line 45, in parse_data
if self.system_data.get("id") is not None:
AttributeError: 'DpkgBuilder' object has no attribute 'system_data'
Reason:
self.system_data in DpkgBuilder is only created in init if name and release were not given.
Yet, by using "--input-file" the CLI forces the user to give both name and release.
The text was updated successfully, but these errors were encountered:
Example command:
distro2sbom --distro deb --name bullseye --release 11 --input-file myFile --sbom cyclonedx --format json
Output:
Reason:
self.system_data in DpkgBuilder is only created in init if name and release were not given.
Yet, by using "--input-file" the CLI forces the user to give both name and release.
The text was updated successfully, but these errors were encountered: