chatgpt-on-wechat icon indicating copy to clipboard operation
chatgpt-on-wechat copied to clipboard

app startup failed

Open bigmouse0001 opened this issue 2 years ago • 0 comments

前置确认

  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-03-04 00:29:10][app.py:19] - App startup failed! [ERROR][2023-03-04 00:29:10][app.py:20] - list index out of range Traceback (most recent call last): File "C:\Users\arisa\Desktop\chatgpt-on-wechat-master\app.py", line 17, in channel.startup() File "C:\Users\arisa\Desktop\chatgpt-on-wechat-master\channel\wechat\wechat_channel.py", line 37, in startup itchat.auto_login(enableCmdQR=2) File "D:\python\Lib\site-packages\itchat\components\register.py", line 35, in auto_login self.login(enableCmdQR=enableCmdQR, picDir=picDir, qrCallback=qrCallback, File "D:\python\Lib\site-packages\itchat\components\login.py", line 60, in login status = self.check_login() ^^^^^^^^^^^^^^^^^^ File "D:\python\Lib\site-packages\itchat\components\login.py", line 151, in check_login if process_login_info(self, r.text): ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ File "D:\python\Lib\site-packages\itchat\components\login.py", line 196, in process_login_info skey = re.findall('(.*?)', r.text, re.S)[0] ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~^^^ IndexError: list index out of range

[在此处粘贴终端日志]

环境

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

bigmouse0001 avatar Mar 03 '23 16:03 bigmouse0001