aboutcode-org / aboutcode-org/scancode-toolkit

Scan error when scanning partial ABOUT file

未關閉
#2,745 1 則留言 0 個 reaction 已指派 0 人 在 GitHub 檢視
主要語言
Python
星號
2.6k
分支
791
平均合併
1 天 12 小時
30 天內合併 PR
5

描述

The --package scan of a file name foo.ABOUT with:
`download_url: https://raw.githubusercontent.com/docker/docker/ff2de8dace1ba1c1f5e8542790ef5cd564375934/image/spec/v1.1.md`
fails to scan with:
```
scan_errors:
- |
ERROR: for scanner: packages:
ERROR: Unknown error:
Traceback (most recent call last):
File "/scancode-toolkit-master2/src/scancode/interrupt.py", line 91, in interruptible
return NO_ERROR, func(*(args or ()), **(kwargs or {}))
File "/scancode-toolkit-master2/src/scancode/api.py", line 344, in get_package_manifests
return dict(package_manifests=[
File "/scancode-toolkit-master2/src/scancode/api.py", line 345, in
package_manifests.to_dict()
AttributeError: 'NoneType' object has no attribute 'to_dict'
```

貢獻指南

開啟貢獻指南

評估

這個 Issue 還沒有評估資料。

把新 issue 寄到你的電子郵件信箱

精選適合新手參與的 GitHub issue 摘要。