Skip to content

二次选择任务,任务信息无法正常获取 #17

Description

@Rain-shadow

另外在刷完一个任务之后选择下一个任务的时候会报以下错误,但是重启软件之后还是能继续刷的,下面是错误日志

[Info] 开始做【B2 Unit1 Reading1】,目标分数:100
[Info] 题库装载完毕!
[Info] 模拟加载流程
[Info] {"code":0,"msg":"对不起,创建任务信息失败,请返回首页重新加载","data":null}
{'task_id': -1, 'course_id': 'JJ_2', 'list_id': 'JJ_2_1_1', 'timestamp': 1647499298225, 'versions': '1.2.0'}
[Info] {"code":0,"msg":"对不起,创建任务信息失败,请返回首页重新加载","data":null}

[Error] Traceback (most recent call last):
File "main.py", line 31, in
File "cdr\core.py", line 65, in do_homework
File "asyncio\base_events.py", line 641, in run_until_complete
File "cdr\test\myself_task.py", line 67, in run
File "cdr\test\cdr_task.py", line 48, in start_task
File "cdr\aio\tasks.py", line 31, in run
File "cdr\aio\tasks.py", line 49, in __work
File "cdr\aio\tasks.py", line 37, in __work
File "cdr\test\myself_task.py", line 109, in do_task
TypeError: 'NoneType' object is not subscriptable

[Error] 'NoneType' object is not subscriptable
[Error] 未知异常,请上报此错误(error-last.txt)给GM
[Error] 你可以在“main\log\”下找到error-last.txt

Originally posted by @lisheng15 in #15 (comment)

Metadata

Metadata

Assignees

No one assigned

    Labels

    bugSomething isn't workingwontfixThis will not be worked on

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions