You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Please press confirm on your phone.
[ERROR][2023-02-12 20:36:08][app.py:19] - App startup failed!
[ERROR][2023-02-12 20:36:08][app.py:20] - 'wxsid'
Traceback (most recent call last):
File "C:\Users\Administrator\Desktop\chatgpt-on-wechat-master\app.py", line 17, in
channel.startup()
File "C:\Users\Administrator\Desktop\chatgpt-on-wechat-master\channel\wechat\wechat_channel.py", line 37, in startup
itchat.auto_login(enableCmdQR=2)
File "C:\Users\Administrator\AppData\Local\Programs\Python\Python311\Lib\site-packages\itchat\components\register.py", line 35, in auto_login
self.login(enableCmdQR=enableCmdQR, picDir=picDir, qrCallback=qrCallback,
File "C:\Users\Administrator\AppData\Local\Programs\Python\Python311\Lib\site-packages\itchat\components\login.py", line 55, in login
status = self.check_login()
^^^^^^^^^^^^^^^^^^
File "C:\Users\Administrator\AppData\Local\Programs\Python\Python311\Lib\site-packages\itchat\components\login.py", line 141, in check_login
if process_login_info(self, r.text):
^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
File "C:\Users\Administrator\AppData\Local\Programs\Python\Python311\Lib\site-packages\itchat\components\login.py", line 183, in process_login_info
core.loginInfo['wxsid'] = core.loginInfo['BaseRequest']['Sid'] = cookies["wxsid"]
~~~~~~~^^^^^^^^^
KeyError: 'wxsid'
输入任意键结束
简要说明、截图、复现步骤等,也可以是需求或想法
终端日志 (如有报错)
[在此处粘贴终端日志]
环境
操作系统类型 (Mac/Windows/Linux):
Python版本 ( 执行 python3 -V ):
pip版本 ( 依赖问题此项必填,执行 pip3 -V):
The text was updated successfully, but these errors were encountered:
前置确认
Please scan the QR code to log in.
Please press confirm on your phone.
[ERROR][2023-02-12 20:36:08][app.py:19] - App startup failed!
[ERROR][2023-02-12 20:36:08][app.py:20] - 'wxsid'
Traceback (most recent call last):
File "C:\Users\Administrator\Desktop\chatgpt-on-wechat-master\app.py", line 17, in
channel.startup()
File "C:\Users\Administrator\Desktop\chatgpt-on-wechat-master\channel\wechat\wechat_channel.py", line 37, in startup
itchat.auto_login(enableCmdQR=2)
File "C:\Users\Administrator\AppData\Local\Programs\Python\Python311\Lib\site-packages\itchat\components\register.py", line 35, in auto_login
self.login(enableCmdQR=enableCmdQR, picDir=picDir, qrCallback=qrCallback,
File "C:\Users\Administrator\AppData\Local\Programs\Python\Python311\Lib\site-packages\itchat\components\login.py", line 55, in login
status = self.check_login()
^^^^^^^^^^^^^^^^^^
File "C:\Users\Administrator\AppData\Local\Programs\Python\Python311\Lib\site-packages\itchat\components\login.py", line 141, in check_login
if process_login_info(self, r.text):
^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
File "C:\Users\Administrator\AppData\Local\Programs\Python\Python311\Lib\site-packages\itchat\components\login.py", line 183, in process_login_info
core.loginInfo['wxsid'] = core.loginInfo['BaseRequest']['Sid'] = cookies["wxsid"]
~~~~~~~^^^^^^^^^
KeyError: 'wxsid'
输入任意键结束
终端日志 (如有报错)
环境
python3 -V
):pip3 -V
):The text was updated successfully, but these errors were encountered: