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

list index out of range #9

Closed
notwin opened this issue Dec 20, 2022 · 7 comments
Closed

list index out of range #9

notwin opened this issue Dec 20, 2022 · 7 comments

Comments

@notwin
Copy link

notwin commented Dec 20, 2022

[ERROR][2022-12-20 18:39:33][app.py:19] - App startup failed!
[ERROR][2022-12-20 18:39:33][app.py:20] - list index out of range

Traceback (most recent call last):
File "/Users/notwin/Code/chatgpt-on-wechat/app.py", line 17, in
channel.startup()
File "/Users/notwin/Code/chatgpt-on-wechat/channel/wechat/wechat_channel.py", line 37, in startup
itchat.auto_login(enableCmdQR=2)
File "/Users/notwin/Library/Python/3.9/lib/python/site-packages/itchat/components/register.py", line 35, in auto_login
self.login(enableCmdQR=enableCmdQR, picDir=picDir, qrCallback=qrCallback,
File "/Users/notwin/Library/Python/3.9/lib/python/site-packages/itchat/components/login.py", line 61, in login
status = self.check_login()
File "/Users/notwin/Library/Python/3.9/lib/python/site-packages/itchat/components/login.py", line 152, in check_login
if process_login_info(self, r.text):
File "/Users/notwin/Library/Python/3.9/lib/python/site-packages/itchat/components/login.py", line 197, in process_login_info
skey = re.findall('(.*?)', r.text, re.S)[0]
IndexError: list index out of range

@notwin
Copy link
Author

notwin commented Dec 20, 2022

登陆不上,itchat的源码sleep我也改了

@zhayujie
Copy link
Owner

登陆不上,itchat的源码sleep我也改了

你的微信是不是没有实名认证,需要在支付那里认证下

@notwin
Copy link
Author

notwin commented Dec 20, 2022

哦哦,谢谢

@ailanmty
Copy link

已经实名认证过的账号还是出现这个问题是什么原因

@zhayujie
Copy link
Owner

@ailanmty 账号状态正常吗,有没有被冻结或者限制

@yh200212121212
Copy link

已经实名认证过的账号还是出现这个问题是什么原因

退出重新登陆一下试试看

@ailanmty
Copy link

是账号被限制了,电脑端等不了了

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

4 participants