:mag: ScanCode detects licenses, copyrights, dependencies by "scanning code" ... to discover and inventory open source and third-party packages used in your code. Sponsored by NLnet project https://nlnet.nl/project/vulnerabilitydatabase, the Google Summer of Code, Azure credits, nexB and others generous sponsors!
ERROR: failed to run scan plugin: packages:
Traceback (most recent call last):
File "/scancode-toolkit/src/scancode/cli.py", line 1117, in run_codebase_plugins
plugin.process_codebase(codebase, **kwargs)
File "/scancode-toolkit/src/packagedcode/plugin_package.py", line 252, in process_codebase
modified = list(add_referenced_license_matches_for_package(resource, codebase))
File "/scancode-toolkit/src/packagedcode/licensing.py", line 144, in add_referenced_license_matches_for_package
detections_added.extend(referenced_resource.license_detections)
AttributeError: 'NoneType' object has no attribute 'license_detections'
How To Reproduce
Reproducible by scanning lzo 2.10 with scancode v32.3.0. Worked before.
Description
How To Reproduce
Reproducible by scanning lzo 2.10 with scancode v32.3.0. Worked before.
docker run -v /home/foo/bar/lzo/src:/project -v /home/foo/bar/foss-licenses/licenseData/scancode:/licenses scancode-toolkit:latest -clpieu -n
nproc--strip-root --json /licenses/lzo_2.10.json /project/