Ninzore / Wecab

最好的订阅制QQbot
GNU General Public License v3.0
204 stars 18 forks source link

[BUG]教说话成功但是不回复 #27

Closed clhaaaa closed 3 years ago

clhaaaa commented 3 years ago

描述 wiki里面写着“可以学习图片”,但是实际测试发现经常教说话成功但是不回复 系统信息

复现

image image

Error Log 把pm2log在产生bug时刷新出来的部分贴上来 D:\download\Wecab-master\logs\error-0.log last 15 lines: 0|Wecab | at W3CWebSocket.onConnectFailed (D:\download\Wecab-master\node_modules\websocket\lib\W3CWebSocket.js:217:14) 0|Wecab | at WebSocketClient. (D:\download\Wecab-master\node_modules\websocket\lib\W3CWebSocket.js:59:25) 0|Wecab | at WebSocketClient.emit (events.js:315:20) 0|Wecab | at WebSocketClient.EventEmitter.emit (domain.js:486:12) 0|Wecab | at ClientRequest.handleRequestError (D:\download\Wecab-master\node_modules\websocket\lib\WebSocketClient.js:227:14) 0|Wecab | at ClientRequest.emit (events.js:315:20) 0|Wecab | at ClientRequest.EventEmitter.emit (domain.js:486:12) 0|Wecab | at Socket.socketErrorListener (_http_client.js:469:9) 0|Wecab | twitter subs less than 1 0|Wecab | twitter subs less than 1 0|Wecab | twitter subs less than 1 0|Wecab | twitter subs less than 1 0|Wecab | twitter subs less than 1 0|Wecab | twitter subs less than 1 0|Wecab | twitter subs less than 1

Ninzore commented 3 years ago

你有试过教文字,也不行吗

Ninzore commented 3 years ago

经常不回复的意思是,还是会有回复的只是概率性回复? 这个概率是在config里面调的

clhaaaa commented 3 years ago

你有试过教文字,也不行吗 数据库正常,文字也不回复,试了n遍

Ninzore commented 3 years ago

你有试过教文字,也不行吗

发现了问题所在……MongoDB的数据库文件自己消失了

????? 这不可能自己没的啊

clhaaaa commented 3 years ago

你有试过教文字,也不行吗

发现了问题所在……MongoDB的数据库文件自己消失了

????? 这不可能自己没的啊

看错了文件位置,眼花了233

clhaaaa commented 3 years ago

概率是默认的80%,我改成100试试看

clhaaaa commented 3 years ago

是这个插件的所有功能都没有回复,测试另外的插件回复均正常。比如说看看xxx微博这种也没回复,log内没有报错。重启Mirai之后恢复功能,正常回复(包括图片)。 使用的是mirai-core-all-1.3.3 mirai-console-terminal-1.0.0

Ninzore commented 3 years ago

不我不懂了,你的意思是重启mirai之后自己好了?

clhaaaa commented 3 years ago

不我不懂了,你的意思是重启mirai之后自己好了?

对的

Ninzore commented 3 years ago

我想把锅扔到Mirai那边,我自己天天用的没碰到过这种奇妙的事情

clhaaaa commented 3 years ago

重启之前mirai的其他插件均正常回复,就ws这块的东西好像没反应,可能是onebot的问题,我想应该是去找他们。

clhaaaa commented 3 years ago

可能是onebot-mirai的问题吧,不过我一直无法使用推荐的go-cqhttp,就无法登录,删除device.json也是提示设备异常。go-cqhttp毕竟把登录整合了,也不太适合我用了n个mirai的情况……

Ninzore commented 3 years ago

那这个issue我关了吧,然后你到go-cqhttp那边开个issue说设备异常无法处理?

clhaaaa commented 3 years ago

image 上 当 了

clhaaaa commented 3 years ago

可以关了吧

Ninzore commented 3 years ago

OK