aboutcode-org / aboutcode-org/scancode-toolkit

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

Đang mở
#1,862 1 bình luận 0 reaction 1 người được giao Được @pombredanne nhận Xem trên GitHub
archive extraction bug file info
Ngôn ngữ chính
Python
Star
2.6k
Fork
791
Merge trung bình
1 ngày 12 giờ
Pull request đã merge (30 ngày)
5

Mô tả

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)

Hướng dẫn đóng góp

Mở hướng dẫn đóng góp

Đánh giá

Issue này chưa được đánh giá.

Nhận issue mới trong hộp thư của bạn

Bản tóm tắt ngắn những issue GitHub phù hợp với người mới.