Error Generating SBOM using ncs-sbom

Im tring to generate sbom in html or spdx format yousing west ncs-sbom -d build
i got this error:
package.name += '-' + package.version
TypeError: unsupported operand type(s) for +=: 'NoneType' and 'str'
Error: Launched process exited with non-zero status: 1


i use zephyr sdk version 3.0.1

  • it worked when i used the license detector option and excluded the git-info detector.
    git info will cause the error if the package name is unknown.

    west  ncs-sbom -d build --license-detectors spdx-tag,full-text,external-file,scancode-toolkit