Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

main.py运行出错 #5

Open
Nsyt1 opened this issue May 22, 2021 · 1 comment
Open

main.py运行出错 #5

Nsyt1 opened this issue May 22, 2021 · 1 comment

Comments

@Nsyt1
Copy link

Nsyt1 commented May 22, 2021

首次可以正常扫码 但是登录后无面板设置,随即重新运行 main.py 然后一直出现如下错误 python版本3.5+

root@VM-12-10-ubuntu:/jd/own/abinnz_xiaofendui# python main.py

2021-05-22 23:32:52,043 - INFO: 加载应用配置信息

2021-05-22 23:32:52,060 - INFO: 请扫描二维码登录
Traceback (most recent call last):
File "main.py", line 75, in
itchat.auto_login(hotReload=True, enableCmdQR=config.CONSOLE_CMD_QR)
File "/usr/local/lib/python3.8/dist-packages/itchat/components/register.py", line 28, in auto_login
if self.load_login_status(statusStorageDir,
File "/usr/local/lib/python3.8/dist-packages/itchat/components/hotreload.py", line 54, in load_login_status
self.loginInfo['User'] = templates.User(self.loginInfo['User'])
KeyError: 'User'

Sent from PPHub

@Jefsky
Copy link

Jefsky commented Sep 9, 2021

我也遇到这个问题

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants