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
[ERROR][2023-03-06 11:31:06][app.py:20] - list index out of range
Traceback (most recent call last):
File "app.py", line 17, in <module>
channel.startup()
File "C:\Users\XWJ\PycharmProjects\chatgpt-on-wechat\channel\wechat\wechat_channel.py", line 37, in startup
itchat.auto_login(enableCmdQR=2)
File "D:\py2\lib\site-packages\itchat\components\register.py", line 36, in auto_login
loginCallback=loginCallback, exitCallback=exitCallback)
File "D:\py2\lib\site-packages\itchat\components\login.py", line 60, in login
status = self.check_login()
File "D:\py2\lib\site-packages\itchat\components\login.py", line 151, in check_login
if process_login_info(self, r.text):
File "D:\py2\lib\site-packages\itchat\components\login.py", line 196, in process_login_info
skey = re.findall('<skey>(.*?)</skey>', r.text, re.S)[0]
IndexError: list index out of range
[在此处粘贴终端日志]
环境
操作系统类型 (Mac/Windows/Linux):
Python版本 ( 执行 python3 -V ):
pip版本 ( 依赖问题此项必填,执行 pip3 -V):
The text was updated successfully, but these errors were encountered:
前置确认
问题描述
终端日志 (如有报错)
环境
python3 -V
):pip3 -V
):The text was updated successfully, but these errors were encountered: