aboutcode-org / aboutcode-org/scancode-toolkit

Zero total licenses, even when scanning samples

Open
#3,395 2 comments 0 reactions 0 assignees View on GitHub
bug
Dominant language
Python
Stars
2.6k
Forks
791
Avg merge
1d 12h
Merged PRs (30d)
5

Description

### Description

> So I have installed scancode-toolkit and workbench on my windows PC, I have a local copy of our app built with dependencies installed, and I know there are valid license files in those folders. After scanning the folder with -clpeui flags, which took a good 2 hours because of the size of the app, It produced a file that I was able to open with workbench and view package information for all the packages, but licenses show up as 0 (zero).

I tested a scan of the samples folder as well and still get zero licenses showing up. I dont know what went wrong.

### How To Reproduce

> I installed scancode-toolkit as instructed for windows, with python 3.8, and performed a scan of samples, no licenses discovered.

scancode -clpeui -n 4 --ignore "*.java" --json-pp sample.json samples

### System configuration

> For bug reports, it really helps us to know:

* What OS are you running on? (Windows/MacOS/Linux) Windows 11
* What version of scancode-toolkit was used to generate the scan file? v31.2.6
* What installation method was used to install/run scancode? (pip/source download/other) Installation as an application on Windows

Contributor guide

Open the contributing guide

Assessment

This issue has not been assessed yet.

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.