登录后出现
Traceback (most recent call last):
File "C:\Users\Lenovo\chatgpt-on-wechat\channel\wechat\wechat_channel.py", line 121, in startup
itchat.auto_login(
File "C:\Users\Lenovo\chatgpt-on-wechat\lib\itchat\components\register.py", line 38, in auto_login
self.login(enableCmdQR=enableCmdQR, picDir=picDir, qrCallback=qrCallback,
File "C:\Users\Lenovo\chatgpt-on-wechat\lib\itchat\components\login.py", line 61, in login
status = self.check_login()
File "C:\Users\Lenovo\chatgpt-on-wechat\lib\itchat\components\login.py", line 154, in check_login
if process_login_info(self, r.text):
File "C:\Users\Lenovo\chatgpt-on-wechat\lib\itchat\components\login.py", line 206, in process_login_info
core.loginInfo['wxsid'] = core.loginInfo['BaseRequest']['Sid'] = cookies["wxsid"]
KeyError: 'wxsid'
问题描述 😯
登录后出现
Traceback (most recent call last):
File "C:\Users\Lenovo\chatgpt-on-wechat\channel\wechat\wechat_channel.py", line 121, in startup
itchat.auto_login(
File "C:\Users\Lenovo\chatgpt-on-wechat\lib\itchat\components\register.py", line 38, in auto_login
self.login(enableCmdQR=enableCmdQR, picDir=picDir, qrCallback=qrCallback,
File "C:\Users\Lenovo\chatgpt-on-wechat\lib\itchat\components\login.py", line 61, in login
status = self.check_login()
File "C:\Users\Lenovo\chatgpt-on-wechat\lib\itchat\components\login.py", line 154, in check_login
if process_login_info(self, r.text):
File "C:\Users\Lenovo\chatgpt-on-wechat\lib\itchat\components\login.py", line 206, in process_login_info
core.loginInfo['wxsid'] = core.loginInfo['BaseRequest']['Sid'] = cookies["wxsid"]
KeyError: 'wxsid'
前置确认
⚠️ 搜索issues中是否已存在类似问题
操作系统类型?
Windows
运行的python版本是?
python 3.8
使用的chatgpt-on-wechat版本是?
Latest Release
运行的
channel
类型是?wx(个人微信, itchat)
复现步骤 🕹
登录后出现 Traceback (most recent call last): File "C:\Users\Lenovo\chatgpt-on-wechat\channel\wechat\wechat_channel.py", line 121, in startup itchat.auto_login( File "C:\Users\Lenovo\chatgpt-on-wechat\lib\itchat\components\register.py", line 38, in auto_login self.login(enableCmdQR=enableCmdQR, picDir=picDir, qrCallback=qrCallback, File "C:\Users\Lenovo\chatgpt-on-wechat\lib\itchat\components\login.py", line 61, in login status = self.check_login() File "C:\Users\Lenovo\chatgpt-on-wechat\lib\itchat\components\login.py", line 154, in check_login if process_login_info(self, r.text): File "C:\Users\Lenovo\chatgpt-on-wechat\lib\itchat\components\login.py", line 206, in process_login_info core.loginInfo['wxsid'] = core.loginInfo['BaseRequest']['Sid'] = cookies["wxsid"] KeyError: 'wxsid'
问题描述 😯
登录后出现 Traceback (most recent call last): File "C:\Users\Lenovo\chatgpt-on-wechat\channel\wechat\wechat_channel.py", line 121, in startup itchat.auto_login( File "C:\Users\Lenovo\chatgpt-on-wechat\lib\itchat\components\register.py", line 38, in auto_login self.login(enableCmdQR=enableCmdQR, picDir=picDir, qrCallback=qrCallback, File "C:\Users\Lenovo\chatgpt-on-wechat\lib\itchat\components\login.py", line 61, in login status = self.check_login() File "C:\Users\Lenovo\chatgpt-on-wechat\lib\itchat\components\login.py", line 154, in check_login if process_login_info(self, r.text): File "C:\Users\Lenovo\chatgpt-on-wechat\lib\itchat\components\login.py", line 206, in process_login_info core.loginInfo['wxsid'] = core.loginInfo['BaseRequest']['Sid'] = cookies["wxsid"] KeyError: 'wxsid'
终端日志 📒