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

hotReload为True的情况下,登录的时候报错 #946

Open
hifeiwenchao opened this issue Aug 26, 2021 · 4 comments
Open

hotReload为True的情况下,登录的时候报错 #946

hifeiwenchao opened this issue Aug 26, 2021 · 4 comments

Comments

@hifeiwenchao
Copy link

Traceback (most recent call last):
File "/opt/app/new/leisu_api/build/test.py", line 188, in
start_wx()
File "/opt/app/new/leisu_api/build/test.py", line 182, in start_wx
itchat.auto_login(hotReload=True)
File "/root/miniconda3/envs/leisu_api/lib/python3.7/site-packages/itchat/components/register.py", line 32, in auto_login
loginCallback=loginCallback, exitCallback=exitCallback)
File "/root/miniconda3/envs/leisu_api/lib/python3.7/site-packages/itchat/components/login.py", line 55, in login
status = self.check_login()
File "/root/miniconda3/envs/leisu_api/lib/python3.7/site-packages/itchat/components/login.py", line 141, in check_login
if process_login_info(self, r.text):
File "/root/miniconda3/envs/leisu_api/lib/python3.7/site-packages/itchat/components/login.py", line 183, in process_login_info
core.loginInfo['wxsid'] = core.loginInfo['BaseRequest']['Sid'] = cookies["wxsid"]
KeyError: 'wxsid'

@zishang33
Copy link

I have the same problem, have you solved it?

@QYQSDTC
Copy link

QYQSDTC commented Dec 31, 2021

Same problem

2 similar comments
@niucang
Copy link

niucang commented Jan 2, 2022

Same problem

@iCodey
Copy link

iCodey commented Aug 2, 2022

Same problem

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

5 participants