Skip to content

Package Detection errors are swallowed  #2882

Description

@AyanSinhaMahapatra

Description

Please leave a brief description of the bug or feature request:

Any errors in package_data parsing is swallowed and not raised as an error.
See the comment at https://github.com/nexB/scancode-toolkit/blob/develop/src/scancode/api.py#L317

This is problematic as it doesn't show errors which should be raised and quietly just drops package results.
This should be atleast added to the codebase scan errors at minimum.

How To Reproduce

Tell us how to reproduce the issue.

This is likely the cause of some test failures at 7497407, where the package_manifests were not showing up after merging
develop.

System configuration

For bug reports, it really helps us to know:

  • What OS are you running on? (Windows/MacOS/Linux)
  • What version of scancode-toolkit was used to generate the scan file?
  • What installation method was used to install/run scancode? (pip/source download/other)

Activity

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Metadata

Metadata

Assignees

No one assigned

    Labels

    Type

    No type

    Projects

    No projects

      Milestone

      No milestone

      Relationships

      None yet

      Development

      No branches or pull requests

      Issue actions