From 9ec5aa8a47758c2ceb8e1b6559ded0c2d36a66d6 Mon Sep 17 00:00:00 2001 From: Lan Hui <1348141770@qq.com> Date: Wed, 14 Jul 2021 15:25:27 +0800 Subject: README.md: specify the original repository and two bug fixes. --- README.md | 22 ++++++++++++++++++++++ 1 file changed, 22 insertions(+) (limited to 'README.md') diff --git a/README.md b/README.md index cc46953..0f97408 100644 --- a/README.md +++ b/README.md @@ -24,3 +24,25 @@ Example for testing collision rate of cut of MD5 digest: ```bash python ./src/collision.py ``` + + +I cloned this project from https://gitee.com/dragondove/storode. I +fixed the following two bugs. + + +Bug#1: + +>python ./src/storode.py ../englishpal/app/englishpal-srs_with_id.txt ../englishpal/app +Traceback (most recent call last): + File "./src/storode.py", line 241, in + for line in file.readlines(): +UnicodeDecodeError: 'gbk' codec can't decode byte 0x9d in position 6578: illegal multibyte sequence + + +Bug#2: + +>python ./src/storode.py ../englishpal/app/englishpal-srs_with_id.txt ../englishpal/app +Traceback (most recent call last): + File "./src/storode.py", line 340, in + with open(requirement_out_file, 'w') as out_file: +FileNotFoundError: [Errno 2] No such file or directory: './doc/englishpal-srs_with_id.html' \ No newline at end of file -- cgit v1.2.1