Closed philroche closed 1 year ago
When running cpc-sbom command as a snap error
19:09:46 File "/snap/cpc-sbom/x1/lib/python3.10/site-packages/cpc_sbom/__init__.py", line 2, in <module> 19:09:46 from generate import generate_sbom
was encountered. Changing to only import from generate when required solved the problem
generate
This change has been tested manually as python console script, calling init.py directly and from snap. All work https://github.com/canonical/cpc-sbom/pull/36
When running cpc-sbom command as a snap error
was encountered. Changing to only import from
generate
when required solved the problem