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

在网页ChatGPT做出回复后,出现报错 #36

Open
czhang13-ua opened this issue Apr 22, 2023 · 4 comments
Open

在网页ChatGPT做出回复后,出现报错 #36

czhang13-ua opened this issue Apr 22, 2023 · 4 comments

Comments

@czhang13-ua
Copy link

流程及报错信息如下:
2023-04-21 19:34:00 GroupMessage #20 (群号): '[At:QQ号] 你是谁?'
2023-04-21 19:33:56 GroupMessage #21 - 群号 <- '正在处理中请稍后...'
Exception in thread Thread-2 (__call):
Traceback (most recent call last):
File "D:\anaconda3\envs\chatWaifu\lib\threading.py", line 1016, in _bootstrap_inner
self.run()
File "D:\anaconda3\envs\chatWaifu\lib\threading.py", line 953, in run
self._target(*self._args, **self._kwargs)
File "D:\anaconda3\envs\chatWaifu\lib\site-packages\miraicle\threadpool.py", line 30, in __call
func(*args)
File "D:\anaconda3\envs\chatWaifu\lib\site-packages\miraicle\mirai.py", line 209, in __call_plugins
func(self, msg)
File "D:\xunlei\ChatWaifu\mirai\ChatWaifu-marai\ChatWaifu_marai.py", line 383, in reply_to_group
resp = api.send_message(text)
File "D:\anaconda3\envs\chatWaifu\lib\site-packages\pyChatGPT\pyChatGPT.py", line 460, in send_message
conversation_id = matches.group()
AttributeError: 'NoneType' object has no attribute 'group'

@czhang13-ua
Copy link
Author

网上debug说的都是search()和match()的问题,也和这个报错对不上。
大佬求帮助,感谢

@MuBai-He
Copy link
Owner

pychatgpt这个库的问题,那个作者好像不维护了

@czhang13-ua
Copy link
Author

pychatgpt这个库的问题,那个作者好像不维护了

那现在还有解决的办法么大佬

@MuBai-He
Copy link
Owner

暂时等着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

2 participants