-
Notifications
You must be signed in to change notification settings - Fork 352
Description
Hello,
I sucessfully created a scan result with the following command. (I used the scancode-toolkit examples.)
cli\build\install\ort\bin\ort scan -p "C:\scancode-toolkit-3.1.1\samples" -o myOut
Output:
Using scanner 'ScanCode' with storage 'FileBasedStorage with XZCompressedLocalFileStorage backend'.
Local file storage has 0 scan results files.
Writing scan result to 'myOut\scan-result.yml'.
If I look at the .yml file, it looks good and contains many licensed.
Now I try to generate any kind of report. My goal is to generate an attribution notice. So I run the command:
cli\build\install\ort\bin\ort report -i myOut\scan-result.yml -o myOutReport -f Excel
but the output shows the error
Creating the 'Excel' report...
15:15:23.583 [main] ERROR org.ossreviewtoolkit.commands.ReporterCommand - Could not create 'Excel' report: IllegalArgumentException: The provided ORT result does not contain an analyzer result.
Failed to create any report.
For -f NoticeSummary, or -f NoticeByPackage OSS-RT seems to work at first glance:
Creating the 'NoticeSummary' report...
Successfully created the 'NoticeSummary' report at [myOutReport\NOTICE_SUMMARY] in 0.012422699s.
Successfully created 1 of 1 report(s).
But despite the many licenses in the .yml, the resulting report is empty, i.e. it says:
This project neither contains or depends on any third-party software components.
What is the problem, or how can this be fixed?
I attached my scan result for easy reference.
scan-result.yml.txt