We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
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
更新到最新版本这个文件有问题,回滚到上一个版本就可以正常发送了。
https://github.com/TimeRainStarSky/Yunzai/blob/main/plugins/adapter/OneBotv11.js
————
【正常版本】
f28f423
————————
因为机器人插件用Linux系统问题较少就把TRSS安装在了CentOS容器里了,
为了方便管理NapCat就在Windows系统使用LiteLoaderQQNT+NapCat。
运行环境
——
TRSS
CentOS7
NapCat
系统Windows10
【报错日志】
[ERRO]�[34m[147258369]�[39m 发送消息错误 { type: �[32m'video'�[39m, file: �[32m'./data/rcmp4/963852741/temp.mp4'�[39m, name: �[90mundefined�[39m } Error at OneBotv11Adapter.sendApi �[90m(file:///root/TRSS_AllBot/TRSS-Yunzai/�[39mplugins/adapter/OneBotv11.js:21:19�[90m)�[39m at Object.sendApi �[90m(file:///root/TRSS_AllBot/TRSS-Yunzai/�[39mplugins/adapter/OneBotv11.js:711:41�[90m)�[39m at �[90mfile:///root/TRSS_AllBot/TRSS-Yunzai/�[39mplugins/adapter/OneBotv11.js:115:23 at OneBotv11Adapter.sendMsg �[90m(file:///root/TRSS_AllBot/TRSS-Yunzai/�[39mplugins/adapter/OneBotv11.js:93:22�[90m)�[39m at async e.reply �[90m(file:///root/TRSS_AllBot/TRSS-Yunzai/�[39mlib/plugins/loader.js:444:15�[90m)�[39m { [stack]: �[36m[Getter/Setter:�[39m �[32m'Error\n'�[39m + �[32m' at OneBotv11Adapter.sendApi (file:///root/TRSS_AllBot/TRSS-Yunzai/plugins/adapter/OneBotv11.js:21:19)\n'�[39m + �[32m' at Object.sendApi (file:///root/TRSS_AllBot/TRSS-Yunzai/plugins/adapter/OneBotv11.js:711:41)\n'�[39m + �[32m' at file:///root/TRSS_AllBot/TRSS-Yunzai/plugins/adapter/OneBotv11.js:115:23\n'�[39m + �[32m' at OneBotv11Adapter.sendMsg (file:///root/TRSS_AllBot/TRSS-Yunzai/plugins/adapter/OneBotv11.js:93:22)\n'�[39m + �[32m' at async e.reply (file:///root/TRSS_AllBot/TRSS-Yunzai/lib/plugins/loader.js:444:15)'�[39m�[36m]�[39m, action: �[32m'send_msg'�[39m, params: { group_id: �[33m963852741�[39m, message: [ { type: �[32m'video'�[39m, data: { type: �[90mundefined�[39m, file: �[32m'file:///root/TRSS_AllBot/TRSS-Yunzai/data/rcmp4/963852741/temp.mp4'�[39m, name: �[90mundefined�[39m } }, [length]: �[33m1�[39m ] }, echo: �[32m'01J8MHZRGRN55G04TWE1D2MB6D'�[39m, error: { status: �[32m'failed'�[39m, retcode: �[33m1200�[39m, data: �[1mnull�[22m, message: �[32m"Error: ENOENT: no such file or directory, copyfile 'C:\\Program Files\\Tencent\\QQNT\\resources\\app\\app_launcher\\root\\TRSS_AllBot\\TRSS-Yunzai\\data\\rcmp4\\963852741\\temp.mp4' -> 'C:\\Users\\Fate\\Documents\\Tencent Files\\NapCat\\temp\\a579b6d2-6b92-4f82-bbb5-35ffdbf1301e.mp4'\n"�[39m + �[32m' at Object.copyFileSync (node:fs:3013:11)\n'�[39m + �[32m' at Object.func [as copyFileSync] (node:electron/js2c/node_init:2:3119)\n'�[39m + �[32m' at uri2local (file:///C:/Users/Fate/Documents/LiteloaderQQNT/plugins/NapCat.Framework/napcat.mjs:5649:10)\n'�[39m + �[32m' at process.processTicksAndRejections (node:internal/process/task_queues:95:5)\n'�[39m + �[32m' at async OneBotMsgApi.handleOb11FileLikeMessage (file:///C:/Users/Fate/Documents/LiteloaderQQNT/plugins/NapCat.Framework/napcat.mjs:26682:9)\n'�[39m + �[32m' at async Object.video (file:///C:/Users/Fate/Documents/LiteloaderQQNT/plugins/NapCat.Framework/napcat.mjs:26383:34)\n'�[39m + �[32m' at async Promise.all (index 0)\n'�[39m + �[32m' at async OneBotMsgApi.createSendElements (file:///C:/Users/Fate/Documents/LiteloaderQQNT/plugins/NapCat.Framework/napca'�[39m... 269 more characters, wording: �[32m"Error: ENOENT: no such file or directory, copyfile 'C:\\Program Files\\Tencent\\QQNT\\resources\\app\\app_launcher\\root\\TRSS_AllBot\\TRSS-Yunzai\\data\\rcmp4\\963852741\\temp.mp4' -> 'C:\\Users\\Fate\\Documents\\Tencent Files\\NapCat\\temp\\a579b6d2-6b92-4f82-bbb5-35ffdbf1301e.mp4'\n"�[39m + �[32m' at Object.copyFileSync (node:fs:3013:11)\n'�[39m + �[32m' at Object.func [as copyFileSync] (node:electron/js2c/node_init:2:3119)\n'�[39m + �[32m' at uri2local (file:///C:/Users/Fate/Documents/LiteloaderQQNT/plugins/NapCat.Framework/napcat.mjs:5649:10)\n'�[39m + �[32m' at process.processTicksAndRejections (node:internal/process/task_queues:95:5)\n'�[39m + �[32m' at async OneBotMsgApi.handleOb11FileLikeMessage (file:///C:/Users/Fate/Documents/LiteloaderQQNT/plugins/NapCat.Framework/napcat.mjs:26682:9)\n'�[39m + �[32m' at async Object.video (file:///C:/Users/Fate/Documents/LiteloaderQQNT/plugins/NapCat.Framework/napcat.mjs:26383:34)\n'�[39m + �[32m' at async Promise.all (index 0)\n'�[39m + �[32m' at async OneBotMsgApi.createSendElements (file:///C:/Users/Fate/Documents/LiteloaderQQNT/plugins/NapCat.Framework/napca'�[39m... 269 more characters, echo: �[32m'01J8MHZRGRN55G04TWE1D2MB6D'�[39m, raw: �[32m`{"status":"failed","retcode":1200,"data":null,"message":"Error: ENOENT: no such file or directory, copyfile 'C:\\\\Program Files\\\\Tencent\\\\QQNT\\\\resources\\\\app\\\\app_launcher\\\\root\\\\TRSS_AllBot\\\\TRSS-Yunzai\\\\data\\\\rcmp4\\\\963852741\\\\temp.mp4' -> 'C:\\\\Users\\\\Fate\\\\Documents\\\\Tencent Files\\\\NapCat\\\\temp\\\\a579b6d2-6b92-4f82-bbb5-35ffdbf1301e.mp4'\\n at Object.copyFileSync (node:fs:3013:11)\\n at Object.func [as copyFileSync] (node:electron/js2c/node_init:2:3119)\\n at uri2local (file:///C:/Users/Fate/Documents/LiteloaderQQNT/plugins/NapCat.Framework/napcat.mjs:5649:10)\\n at process.processTicksAndRejections (node:internal/process/task_queues:95:5)\\n at async OneBotMsgApi.handleOb11FileLikeMessage (file:///C:/Users/Fate/Documents/LiteloaderQQNT/plugins/NapCat.Framework/napcat.mjs:26682:9)\\n at async Object.video (file:///C:/Users/Fate/Documents/LiteloaderQQNT/plugins/NapCat.Framework/napcat.mjs:26383:34)\\n at async Promise.all (index 0)\\n at async OneBotMsgApi.createSendEl`�[39m... 1706 more characters } }
The text was updated successfully, but these errors were encountered:
No branches or pull requests
更新到最新版本这个文件有问题,回滚到上一个版本就可以正常发送了。
https://github.com/TimeRainStarSky/Yunzai/blob/main/plugins/adapter/OneBotv11.js
————
【正常版本】
f28f423
————————
因为机器人插件用Linux系统问题较少就把TRSS安装在了CentOS容器里了,
为了方便管理NapCat就在Windows系统使用LiteLoaderQQNT+NapCat。
————
运行环境
——
TRSS
CentOS7
——
NapCat
系统Windows10
————————
【报错日志】
The text was updated successfully, but these errors were encountered: