-
-
Notifications
You must be signed in to change notification settings - Fork 175
Closed
Labels
Description
I received a report of someone having issues with the docker image of scancode.io.
Here is the error:
-
For this tutorial: https://scancodeio.readthedocs.io/en/latest tutorial_cli_end_to_end_scanning_to_dejacode.html
-
I installed scancode.io following this document: https://scancodeio.readthedocs.io/en/latest/installation.html#installation
And I had this error:
CommandError: Error during inspect_packages execution:
'str' object has no attribute 'path'
Traceback:
File "/opt/scancodeio/scanpipe/pipelines/_init_.py", line 220, in execute
step(self)
File "/opt/scancodeio/scanpipe/pipelines/inspect_packages.py", line 61, in scan_for_application_packages
scancode.scan_for_application_packages(
File "/opt/scancodeio/scanpipe/pipes/scancode.py", line 408, in scan_for_application_packages
assemble_packages(project=project)
File "/opt/scancodeio/scanpipe/pipes/scancode.py", line 465, in assemble_packages
for item in items:
File "/opt/scancodeio/venv/lib/python3.12/site-packages/packagedcode/npm.py", line 120, in assemble
workspace_root_path = package_resource.parent(codebase).path
Reactions are currently unavailable