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

输入问题后chrom浏览器闪退 #7

Open
MapleLeeLee opened this issue Jan 31, 2023 · 4 comments
Open

输入问题后chrom浏览器闪退 #7

MapleLeeLee opened this issue Jan 31, 2023 · 4 comments

Comments

@MapleLeeLee
Copy link

大佬,问一个问题之后浏览器闪退,代码报错如下:
Traceback (most recent call last):
File "E:\ChatWaifu-main\ChatWaifu.py", line 214, in
resp = api.send_message(get_input())
File "D:\Software\anaconda3\lib\site-packages\pyChatGPT\pyChatGPT.py", line 444, in send_message
response = self.driver.find_elements(*chatgpt_small_response)[-1]
IndexError: list index out of range

@MuBai-He
Copy link
Collaborator

MuBai-He commented Feb 1, 2023

这几天都有这个问题等大佬更新

@954-Ivory
Copy link

response = self.driver.find_elements(*chatgpt_small_response)[-1]

这里是因为直接 HTTP Error 1020 了。
应该是 openAI 锁代理了,我换了几个节点才可以。

@Aionstn
Copy link

Aionstn commented Apr 15, 2023

Traceback (most recent call last):
File "C:\Users\Administrator\Desktop\ChatWaifu-main\ChatWaifuVoice.py", line 373, in
resp = api.send_message(voice_input_jpjp())
File "D:\aconda\envs\chatWaifu\lib\site-packages\pyChatGPT\pyChatGPT.py", line 460, in send_message
conversation_id = matches.group()
AttributeError: 'NoneType' object has no attribute 'group'

好像正则表达式挂了

@MuBai-He
Copy link
Collaborator

停止维护了,那个作者不做了。后期有可能会更新api版本

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