关于有关 translate服务 的bug和问题

省流:可能全部插件的translate指令均在当前版本下完全失效无法使用。
就在不久前,有一位用户带着详细的信息来群里提问,他的报错是这样的(一些过程略)


一开始很多人认为是数据库爆炸,指引他删除db文件,我也如此认为。
我本着想多了解一下数据库爆炸的逻辑,主动找到了他,要了他的插件列表,发现他的koishi超级纯净,只有一个额外的插件
translater-baidu
最后的最后,我在帮他解决问题的途中发现了这个问题
似乎当前版本下所有的translate服务全部无法使用了,使用help和直接translate都会报错。以下是我使用open translate后的报错:
(upload://wphzg4ZxZJSiegSHOSu71RaHZI4.png)
#我靠为什么这张图只要发出来就会有bug啊我靠我要崩溃了我真的蚌埠住了。
#反正这张图和上面的图类似,结论是可能全部插件*的translate指令均在当前版本下完全失效无法使用。

*这里非常值得一提,koishi翻译插件现状:


translate-plus

open-translate(其实根本不存在这个依赖,直接安装?会报上面的错)

版本,pkg.json
"@koishijs/plugin-adapter-discord": "3.6.1",
"@koishijs/plugin-adapter-feishu": "1.2.3",
"@koishijs/plugin-adapter-kook": "3.8.2",
"@koishijs/plugin-adapter-onebot": "5.7.1",
"@koishijs/plugin-adapter-telegram": "3.7.8",
"@koishijs/plugin-admin": "1.3.0",
"@koishijs/plugin-analytics": "1.0.3",
"@koishijs/plugin-bind": "1.4.1",
"@koishijs/plugin-commands": "3.2.1",
"@koishijs/plugin-config": "2.1.0",
"@koishijs/plugin-console": "5.11.1",
"@koishijs/plugin-database-sqlite": "3.5.3",
"@koishijs/plugin-dataview": "2.3.1",
"@koishijs/plugin-explorer": "1.3.2",
"@koishijs/plugin-help": "2.2.3",
"@koishijs/plugin-insight": "3.4.1",
"@koishijs/plugin-inspect": "1.1.0",
"@koishijs/plugin-locales": "2.3.1",
"@koishijs/plugin-logger": "2.2.3",
"@koishijs/plugin-login": "3.1.0",
"@koishijs/plugin-market": "2.0.4",
"@koishijs/plugin-rate-limit": "1.3.2",
"@koishijs/plugin-sandbox": "3.1.6",
"@koishijs/plugin-status": "7.1.3",
"koishi": "4.13.2",
"koishi-plugin-arcaea-b30": "1.0.2",
"koishi-plugin-assets-local": "3.1.0",
"koishi-plugin-ba-plugin": "0.7.5",
"koishi-plugin-bingchat": "2.1.7",
"koishi-plugin-blockly": "0.6.2",
"koishi-plugin-booru": "1.0.3",
"koishi-plugin-booru-danbooru": "1.0.4",
"koishi-plugin-booru-lolicon": "1.0.4",
"koishi-plugin-booru-pixiv": "1.0.3",
"koishi-plugin-booru-safebooru": "1.0.3",
"koishi-plugin-chat": "4.0.0",
"koishi-plugin-deep-danbooru": "1.1.1",
"koishi-plugin-desktop": "0.0.4",
"koishi-plugin-forward": "4.0.1",
"koishi-plugin-glm-testbot": "1.2.5",
"koishi-plugin-gocqhttp": "3.7.3",
"koishi-plugin-iframe": "1.0.1",
"koishi-plugin-kbot": "1.0.10-alpha.3",
"koishi-plugin-messages": "0.1.0",
"koishi-plugin-novelai": "1.17.4",
"koishi-plugin-open-pics": "1.1.6",
"koishi-plugin-open-translate": "1.0.0",
"koishi-plugin-petpet-plus": "1.0.7",
"koishi-plugin-phigros": "2.0.2",
"koishi-plugin-puppeteer": "3.5.0",
"koishi-plugin-qdvc": "0.2.2",
"koishi-plugin-qq-launcher": "0.0.1",
"koishi-plugin-remake": "1.0.3",
"koishi-plugin-respondent": "6.0.0",
"koishi-plugin-rr-gpt": "0.0.2",
"koishi-plugin-rr-image-censor": "2.0.1",
"koishi-plugin-rr-su-chat": "0.2.202",
"koishi-plugin-rr-tag": "1.1.5",
"koishi-plugin-rryth": "2.4.3",
"koishi-plugin-sanae": "1.0.13",
"koishi-plugin-screenshot": "1.0.4",
"koishi-plugin-sd-list": "0.5.3",
"koishi-plugin-sd-switch": "1.1.0",
"koishi-plugin-spawn": "1.0.4",
"koishi-plugin-spring-festival-ui": "1.0.4",
"koishi-plugin-star-rail-atlas": "0.0.5",
"koishi-plugin-starrail-atlas": "0.0.4",
"koishi-plugin-theme-vanilla": "1.0.5",
"koishi-plugin-translator-youdaofree": "0.0.3",
"koishi-plugin-wallpaper": "1.0.3"
版本,kd

System:
OS: Windows 10 10.0.22621
CPU: (8) x64 Intel(R) Core™ i7-4790K CPU @ 4.00GHz

Binaries:
Node: 16.19.1
Yarn: 3.5.0

Koishi:
Core: 4.13.2
Console: 5.11.1
Koishi Desktop: 0.10.5

2 个赞

本文指的 translate服务,应该如下


一些不是该服务的东西,例如translator-youdaofree,也可以翻译不受影响
我感觉应该发issue,但是我还真不知道这个问题往哪发

两分钟后:nmd怎么youdaofree也用不了??我破防了,koishi不存在翻译插件!哈哈哈哈哈哈哈哈哈哈哈哈哈哈哈哈哈哈哈哈哈哈哈(本来想给那个提问者安利一个翻译插件的)

3 个赞

感觉是不是和我的这个issue有点像?

2 个赞

wu,好像是

1 个赞