answers.log contains incomplete or malformed lines
维护者通常 4 天内回复
还没有人认领这个 Issue。
评估
调研方向
The payload names no source file, so start by searching the repository for where answers.log is written and which code path logs each answer. The sample lines show a broken record: a newline inside an answer field splits the entry, and some lines lack the timestamp prefix. Done means the logger writes one well-formed line per answer, reproduced with input that contains newlines.
由索引模型根据 Issue 内容生成。
描述
Here are 3 consecutive lines from the file answers.log in my course:
[Thu Mar 09 21:48:44 2023] |ZI7UJNQDCR03|WW06|18|100 1678427324 -ky
x+32)/2
[Thu Mar 09 21:48:44 2023] |7XTJHYSEKZ08|WW06|13|100000 1678427324 tan(arctanx) [0,pi]
Here are 3 others:
[Thu Mar 09 21:49:11 2023] |C93SRBEKNW04|WW06|19|1110 1678427351 7 1 3 3.67
8(T-22) 106.3
[Thu Mar 09 21:49:12 2023] |BA05O2XZTR07|WW06|13|111000 1678427352 x (-inf,inf) tan(arctanx+arctan(-5))
In both cases there is something wrong with the line in the middle. My answers.log file has 1326 lines that don't have the expected structure, out of 3052734 lines in total. For many of these, including the two examples shown above, the lines before and after show timestamps that are very close together (sometimes identical).
Unfortunately I do not have the knowledge or skill to help fix this. All I can do is report it. Thanks for reading.
I harvested the file named "answers.log" from the File Manager in the user-facing web interface. To make sure I got a valid copy I downloaded the file twice. Both copies (size 301MB) show the same md5 hash.
This is WeBWorK © 1996-2022 | theme: math4 | ww_version: 2.17 | pg_version 2.17
- 主要语言
- Perl
- 星标
- 164
- 派生
- 167
- 平均合并
- 6 天 7 小时
- 30 天内合并 PR
- 27
环境准备
- 提供 Dockerfile 或 Docker Compose 文件
- 没有 Pull Request 模板
- 没有贡献指南
从这里开始
- 先读完整个 Issue,再读项目的贡献指南。
- 在 Issue 下留言说明你要接手 —— 这能避免两个人做同样的事。
- Fork 仓库,在一个分支上完成修改。
- 提交 Pull Request,并在描述里引用这个 Issue 编号。
openwebwork/webwork2 的其他 Issue
-
难度 2/5 1-3 小时 新手友好度 65/100
openwebwork/webwork2#3295 ·
维护者通常 4 天内回复
-
难度 2/5 1-3 小时 新手友好度 65/100
openwebwork/webwork2#3290 ·
维护者通常 4 天内回复
-
难度 1/5 1 小时以内 新手友好度 62/100
openwebwork/webwork2#2997 ·
维护者通常 4 天内回复
-
难度 2/5 1-3 小时 新手友好度 56/100
openwebwork/webwork2#3276 ·
维护者通常 4 天内回复
-
难度 4/5 3-5 天 新手友好度 52/100
openwebwork/webwork2#3272 · 6 条评论 ·
维护者通常 4 天内回复
查看 openwebwork/webwork2 的全部 Issue
相似的 Issue
-
nftables: "Display comment in rules list?" option has no effect, comments not shown in rules list未关闭
难度 2/5 1-3 小时 新手友好度 78/100
维护者通常 1 天内回复
-
Type: Bug
难度 2/5 1-3 小时 新手友好度 76/100
inverse-inc/packetfence#9707 ·
维护者通常 1 天内回复
-
难度 2/5 1-3 小时 新手友好度 67/100
RotherOSS/otobo#6457 · 2 条评论 ·
维护者通常 1 天内回复
-
🏭 producer platform - spam
难度 2/5 1-3 小时 新手友好度 66/100
openfoodfacts/openfoodfacts-server#15447 ·
维护者通常 1 天内回复
-
Harden argument handling in deploy-contract.sh可能已有人在做 @Asta-wizard 于 1 天前认领。 未关闭Stellar Wave
难度 2/5 1-3 小时 新手友好度 78/100
Feyisara2108/stellargive#1377 · 3 条评论 · 已指派 1 人 ·
维护者通常 1 天内回复