Open linmp4 opened 1 year ago
暂时解决了,手机微信上取消登录,重新运行程序,会弹出登录二维码,重新扫描就可以了
暂时解决了,手机微信上取消登录,重新运行程序,会弹出登录二维码,重新扫描就可以了
我也是这个提示。。。。。详细应该怎么操作解决呢?
扫码第一次之后,要是掉线了再次执行运行命令,二维码都出不来了,,,,
扫码第一次之后,要是掉线了再次执行运行命令,二维码都出不来了,,,,
需要在手机弹出登录确认的时候,按退出登录,然后再运行一次命令,就会出二维码了
学习了
发自我的iPhone
------------------ 原始邮件 ------------------ 发件人: linmp4 @.> 发送时间: 2023年3月26日 22:02 收件人: zhayujie/bot-on-anything @.> 抄送: hecarli555 @.>, Comment @.> 主题: Re: [zhayujie/bot-on-anything] 个人微信登录后提示IndexError: list index out of range (Issue #184)
扫码第一次之后,要是掉线了再次执行运行命令,二维码都出不来了,,,,
需要在手机弹出登录确认的时候,按退出登录,然后再运行一次命令,就会出二维码了
— Reply to this email directly, view it on GitHub, or unsubscribe. You are receiving this because you commented.Message ID: @.***>
我的通过这种方法不能解决啊
依旧是
Please scan the QR code to log in.
[ERROR][2023-04-03 21:03:26][log.py:45] - App startup failed!
[ERROR][2023-04-03 21:03:26][log.py:50] - list index out of range
Traceback (most recent call last):
File "H:\按其他方式分类\software\programs from github\bot-on-anything-1.0.0\app.py", line 37, in
新用户貌似需要开通微信支付才能够登上
新用户貌似需要开通微信支付才能够登上
谢谢,解决了,的确是新用户的原因,需要两个实名认证
配置文件如下: { "model": { "type" : "bing", "openai": { "api_key": "xxx", "model": "gpt-3.5-turbo", "proxy": "http://127.0.0.1:7890", "conversation_max_tokens": 1000, "character_desc": "你是ChatGPT, 一个由OpenAI训练的大型语言模型, 你旨在回答并解决人们的任何问题,并且可以使用多种语言与人交流。" }, "baidu": { "acs_token": "YOUR ACS TOKEN", "cookie": "YOUR COOKIE" }, "bing":{ "cookies":[ { "domain": ".bing.com", "expirationDate": 1680576581.21866, "hostOnly": false, "httpOnly": false, "name": "_U", "path": "/", "sameSite": "no_restriction", "secure": true, "session": false, "storeId": null, "value": "xxx" } ] } }, "channel": { "type": "wechat", "single_chat_prefix": ["小x同学", "@小x同学"], "single_chat_reply_prefix": "[小x同学] ", "group_chat_prefix": ["@小x同学"], "group_name_white_list": ["ALL_GROUP"], "image_create_prefix": ["画", "看", "找一张"],
} }
个人wechat在手机端确认登录后,程序报错IndexError: list index out of range H:\github\bot-on-anything>python.exe app.py Load config success [INFO][2023-03-22 08:47:34][log.py:34] - [INIT] Start up: bing on wechat Please press confirm on your phone. Log in time out, reloading QR code. Please press confirm on your phone. Log in time out, reloading QR code. Please press confirm on your phone. [ERROR][2023-03-22 08:48:08][log.py:45] - App startup failed! [ERROR][2023-03-22 08:48:08][log.py:50] - list index out of range Traceback (most recent call last): File "H:\github\bot-on-anything\app.py", line 32, in
start_process(channel_type)
File "H:\github\bot-on-anything\app.py", line 19, in start_process
channel.startup()
File "H:\github\bot-on-anything\channel\wechat\wechat_channel.py", line 46, in startup
itchat.auto_login(enableCmdQR=2, hotReload=True)
File "C:\Users\Administrator\AppData\Local\Programs\Python\Python39\lib\site-packages\itchat\components\register.py", line 31, in auto_login
self.login(enableCmdQR=enableCmdQR, picDir=picDir, qrCallback=qrCallback,
File "C:\Users\Administrator\AppData\Local\Programs\Python\Python39\lib\site-packages\itchat\components\login.py", line 60, in login
status = self.check_login()
File "C:\Users\Administrator\AppData\Local\Programs\Python\Python39\lib\site-packages\itchat\components\login.py", line 151, in check_login
if process_login_info(self, r.text):
File "C:\Users\Administrator\AppData\Local\Programs\Python\Python39\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