aboutcode-org / aboutcode-org/scancode-toolkit

Scan of perl5-5.31.6.tar.gz completes with errors

オープン
#1,862 コメント 1 件 リアクション 0 件 担当者 1 名 @pombredanne が担当を希望しています GitHub で見る
archive extraction bug file info
主要言語
Python
スター
2.6k
フォーク
791
平均マージ
1日 12時間
マージ済み PR(30日)
5

説明

A recent scan of perl5-5.31.6.tar.gz from https://github.com/Perl/perl5/archive/v5.31.6.tar.gz reported some errors that may want attention. The scan was initiated using scancode.io and was mostly successful.

Extracting archives...
ERROR extracting: perl5-5.31.6.tar.gz-extract/perl5-5.31.6/cpan/IO-Compress/t/files/encrypt-aes.zip: Password protected archive, unable to extract
ERROR extracting: perl5-5.31.6.tar.gz-extract/perl5-5.31.6/cpan/IO-Compress/t/files/encrypt-standard.zip: Password protected archive, unable to extract
Extracting done.
Setup plugins...
Collect file inventory...
ERROR: failed to run pre-scan plugin: classify:
Traceback (most recent call last):
File "/opt/scancode-toolkit/src/scancode/cli.py", line 1044, in run_codebase_plugins
plugin.process_codebase(codebase, **kwargs)
File "/opt/scancode-toolkit/src/summarycode/classify.py", line 153, in process_codebase
set_classification_flags(resource)
File "/opt/scancode-toolkit/src/summarycode/classify.py", line 345, in set_classification_flags
resource.is_legal = is_legal = name.startswith(_LEGAL) or name.endswith(_LEGAL)
UnicodeDecodeError: 'ascii' codec can't decode byte 0xe0 in position 0: ordinal not in range(128)

Scan files for: info, licenses, copyrights, packages, emails, urls with 3 process(es)...
Scanning done.
Some files failed to scan properly:
ERROR: failed to run pre-scan plugin: classify:
Traceback (most recent call last):
File "/opt/scancode-toolkit/src/scancode/cli.py", line 1044, in run_codebase_plugins
plugin.process_codebase(codebase, **kwargs)
File "/opt/scancode-toolkit/src/summarycode/classify.py", line 153, in process_codebase
set_classification_flags(resource)
File "/opt/scancode-toolkit/src/summarycode/classify.py", line 345, in set_classification_flags
resource.is_legal = is_legal = name.startswith(_LEGAL) or name.endswith(_LEGAL)
UnicodeDecodeError: 'ascii' codec can't decode byte 0xe0 in position 0: ordinal not in range(128)
Summary: info, licenses, copyrights, packages, emails, urls with 3 process(es)
Errors count: 1
Scan Speed: 3.96 files/sec. 50.54 KB/sec.
Initial counts: 7258 resource(s): 6289 file(s) and 969 directorie(s)
Final counts: 7258 resource(s): 6289 file(s) and 969 directorie(s) for 78.29 MB
Timings:
scan_start: 2019-12-19T005312.260356
scan_end: 2019-12-19T012055.047237
setup_scan:licenses: 3.71s
setup: 3.71s
inventory: 1.90s
pre-scan:classify: 1.63s
pre-scan: 1.63s
scan:packages: 2.17s
scan: 1586.20s
post-scan:classify-package: 2.16s
post-scan:consolidate: 7.82s
post-scan:summary: 27.35s
post-scan:is-license-text: 2.16s
post-scan:license-clarity-score: 17.86s
post-scan:summary-key-files: 2.24s
post-scan: 59.60s
output:json-pp: 6.82s
output: 6.82s
total: 1671.77s
Removing temporary files...done.
[perl5-5.31.6.tar.gz_scan.json.zip](https://github.com/nexB/scancode-toolkit/files/3985244/perl5-5.31.6.tar.gz_scan.json.zip)

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

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

評価

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

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

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