Bug 284 - 登录系统立即出现500错误
Summary: 登录系统立即出现500错误
Status: RESOLVED FIXED
Alias: None
Product: EnglishPal
Classification: Unclassified
Component: Bug报告 (show other bugs)
Version: 0.1
Hardware: PC Windows
: --- blocker
Assignee: Hui Lan
URL:
Depends on:
Blocks:
 
Reported: 2021-08-20 18:06 CST by Hui Lan
Modified: 2021-08-20 19:56 CST (History)
0 users

See Also:


Attachments
user表中含有winkong且账号未过期 (17.03 KB, image/jpeg)
2021-08-20 18:06 CST, Hui Lan
Details

Description Hui Lan 2021-08-20 18:06:12 CST
Created attachment 123 [details]
user表中含有winkong且账号未过期

“Internal Server Error
The server encountered an internal error and was unable to complete your request. Either the server is overloaded or there is an error in the application.”

复现步骤
-------------


1. 以账号winkong,密码123登录,即得上述错误.

winkong为正常用户(见附件)


Hui
Comment 1 Hui Lan 2021-08-20 19:56:11 CST
已经解决, 见下面的Pull Request

http://121.4.94.30:3000/mrlan/EnglishPal/pulls/13


具体原因是存储用户生词频率的策略变了。

之前是用 {'word':2},后来某天改用{'word':[date1, date2]}. 所以导致 difficulty.py
里面的 revert_dict 函数报错.


Hui

Note You need to log in before you can comment on or make changes to this bug.