Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Key errors scanning Scancode files #7

Open
camillem opened this issue Feb 8, 2024 · 0 comments
Open

Key errors scanning Scancode files #7

camillem opened this issue Feb 8, 2024 · 0 comments

Comments

@camillem
Copy link

camillem commented Feb 8, 2024

Hi,
Scanning different Scancode json files, I get some key errors:
For files generated with Scancode 31.2.1

  Error in $.files[19]: key "value" not found
opossum-lib-exe: Prelude.undefined
CallStack (from HasCallStack):
  error, called at libraries/base/GHC/Err.hs:75:14 in base:GHC.Err
  undefined, called at src/Opossum/OpossumScancodeUtils.hs:382:7 in opossum-lib-0.1.0.0-Hwn541QtdHMKEBkCAaWIe4:Opossum.OpossumScancodeUtils

For file generated with Scancode 32.0.8 :

Error in $.files[0]: key "licenses" not found
opossum-lib-exe: Prelude.undefined
CallStack (from HasCallStack):
  error, called at libraries/base/GHC/Err.hs:75:14 in base:GHC.Err
  undefined, called at src/Opossum/OpossumScancodeUtils.hs:382:7 in opossum-lib-0.1.0.0-Hwn541QtdHMKEBkCAaWIe4:Opossum.OpossumScancodeUtils

Using commit 15ae8cb on Ubuntu 22.04.3 LTS.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant