Open elivlo opened 3 months ago
java.io.FileNotFoundException: /tmp/ort-ScanCode14497030803458476680/result.json (No such file or directory)
This means that ScanCode, for whatever reason, was not able to write its result file. Maybe the ScanCode process crashed, or ScanCode is not runnable at all on your system (e.g. if something went wrong during ScanCode installation).
How are you running ORT (Docker, native, via Gradle), and which versions of ScanCode and Python do you have installed?
I just got another error:
13:56:39.928 [main] WARN org.ossreviewtoolkit.plugins.versioncontrolsystems.git.GitWorkingTree - Git submodule at 'test/web-platform-tests/tests' not initialized. Cannot recursively list its submodules.
Exception in thread "main" java.io.IOException: Could not delete file '/tmp/ort-DefaultWorkingTreeCache17235903389890612081/test/api/fixtures/from-file'.
java.io.FileNotFoundException: /tmp/ort-ScanCode14497030803458476680/result.json (No such file or directory)
This means that ScanCode, for whatever reason, was not able to write its result file. Maybe the ScanCode process crashed, or ScanCode is not runnable at all on your system (e.g. if something went wrong during ScanCode installation).
How are you running ORT (Docker, native, via Gradle), and which versions of ScanCode and Python do you have installed?
I think ScanCode must have crashed. Because this happens only with some of the 500 dependencies that are required and scanned in the project. I listed the versions above in the description of the issue.
Can you try to reproduce this with one of the affected dependencies, and by running ScanCode directly on that dependency's source code?
I will do that later. But I need some days or a week.
I will do that later. But I need some days or a week.
Any update here, @elivlo?
Hi, I'm getting some irritating errors on some dependent packages when I try to run a scan with ScanCode. Are you familiar with this kind of error? Is this a bug or could this be a wrong configuration?
Versions:
The configuration is here:
``` yaml ort: packageCurationProviders: - type: DefaultFile - type: DefaultDir addAuthorsToCopyrights: true scanner: skipConcluded: true skipExcluded: true archive: enabled: true fileStorage: localFileStorage: directory: /project/.ort/scanner/archive compression: false createMissingArchives: false fileListStorage: fileStorage: localFileStorage: directory: /project/.ort/scanner/file-lists compression: false storages: local: backend: localFileStorage: directory: /project/.ort/scanner/results compression: false storageReaders: [local] storageWriters: [local] provenanceStorage: fileStorage: localFileStorage: directory: /project/.ort/scanner/provenance compression: false config: ScanCode: options: commandLine: '--copyright --license --info --strip-root --timeout 2 --ignore "*.js" --ignore "*.ts" --ignore "*.vue"' commandLineNonConfig: '-n 4' preferFileLicense: true ```This is the output I am getting: