aboutcode-org / aboutcode-org/scancode-toolkit

Package Detection errors are swallowed

オープン
#2,882 コメント 0 件 リアクション 0 件 担当者 0 名 GitHub で見る
bug
主要言語
Python
スター
2.6k
フォーク
791
平均マージ
1日 12時間
マージ済み PR(30日)
5

説明

### 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 https://github.com/nexB/scancode-toolkit/pull/2825/commits/74974076ad80244e479b70a65990b502364eae89, 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)

コントリビューションガイド

コントリビューションガイドを開く

評価

この issue はまだ評価されていません。

新しい issue をメールで受け取る

初心者向けの GitHub issue を短くまとめたダイジェスト。