aboutcode-org / aboutcode-org/scancode-toolkit

Throws invalid format error despite correct path specification for some files/directories

Open
#2,903 0 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

While passing valid directories for scanning, it shows (running with docker)

```
sudo docker run scancode-toolkit --verbose -l samples --json-pp -
```

```
Usage: scancode [OPTIONS] ...
Try the 'scancode --help' option for help on options and arguments.

Error: Invalid value for ' ...': Path 'samples' does not exist.
```

But if I pass the 'src' directory as an input, it does give a complete report.
OS: Ubuntu 20.04.4 LTS

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.