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

刷新太快了,进不去,抢手速进去然后直接报错 #187

Closed
Rhran6 opened this issue Feb 12, 2023 · 1 comment
Closed

刷新太快了,进不去,抢手速进去然后直接报错 #187

Rhran6 opened this issue Feb 12, 2023 · 1 comment

Comments

@Rhran6
Copy link

Rhran6 commented Feb 12, 2023

前置确认

  1. 运行于国内网络环境,未开代理
  2. python 已安装:版本在 3.7 ~ 3.10 之间,依赖已安装
  3. 在已有 issue 中未搜索到类似问题
  4. FAQS 中无类似问题

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'
输入任意键结束

简要说明、截图、复现步骤等,也可以是需求或想法

终端日志 (如有报错)

[在此处粘贴终端日志]

环境

  • 操作系统类型 (Mac/Windows/Linux):
  • Python版本 ( 执行 python3 -V ):
  • pip版本 ( 依赖问题此项必填,执行 pip3 -V):
@zhayujie
Copy link
Owner

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