系统版本
Ubuntu24.04
QQNT 版本
9.9.7
LLBot 版本
linyuchen/llbot:7.12.15
OneBot 客户端
No response
发生了什么?
NT API 调用失败: { TypeError [ERR_INVALID_ARG_TYPE]: The "string" argument must be of type string or an instance of Buffer or ArrayBuffer. Received an instance of Object
at Buffer.byteLength (node:buffer:850:11)
at (/app/node_modules/@saltify/typeproto/dist/index.mjs:638:27)
at ProtoMessage.calculateSerializedSize (/app/node_modules/@saltify/typeproto/dist/index.mjs:892:54)
at (/app/node_modules/@saltify/typeproto/dist/index.mjs:852:56)
at ProtoMessage.calculateSerializedSize (/app/node_modules/@saltify/typeproto/dist/index.mjs:892:54)
at (/app/node_modules/@saltify/typeproto/dist/index.mjs:852:56)
at ProtoMessage.calculateSerializedSize (/app/node_modules/@saltify/typeproto/dist/index.mjs:892:54)
at ProtoMessage.encode (/app/node_modules/@saltify/typeproto/dist/index.mjs:922:39)
at Proxy.getGroupVideoUrl (/app/src/main/pmhq/mixins/media.ts:88:43)
at Object.apply (/app/node_modules/cordis/lib/index.js:139:40)
code: 'ERR_INVALID_ARG_TYPE' }
如何复现
我是用 curl -fsSL https://gh-proxy.com/https://raw.githubusercontent.com/LLOneBot/LuckyLilliaBot/refs/heads/main/script/install-llbot-docker.sh -o llbot-docker.sh && chmod u+x ./llbot-docker.sh && ./llbot-docker.sh 安装的。 装好后进 http://localhost:8000/#webqq ,找个群,然后在群里找个视频点开(最好是别人发的视频,而不是文件),就会报这个错误
期望的结果?
点开后正常播放视频
LLBot 运行日志
NT API 调用失败: { TypeError [ERR_INVALID_ARG_TYPE]: The "string" argument must be of type string or an instance of Buffer or ArrayBuffer. Received an instance of Object
at Buffer.byteLength (node:buffer:850:11)
at <anonymous> (/app/node_modules/@saltify/typeproto/dist/index.mjs:638:27)
at ProtoMessage.calculateSerializedSize (/app/node_modules/@saltify/typeproto/dist/index.mjs:892:54)
at <anonymous> (/app/node_modules/@saltify/typeproto/dist/index.mjs:852:56)
at ProtoMessage.calculateSerializedSize (/app/node_modules/@saltify/typeproto/dist/index.mjs:892:54)
at <anonymous> (/app/node_modules/@saltify/typeproto/dist/index.mjs:852:56)
at ProtoMessage.calculateSerializedSize (/app/node_modules/@saltify/typeproto/dist/index.mjs:892:54)
at ProtoMessage.encode (/app/node_modules/@saltify/typeproto/dist/index.mjs:922:39)
at Proxy.getGroupVideoUrl (/app/src/main/pmhq/mixins/media.ts:88:43)
at Object.apply (/app/node_modules/cordis/lib/index.js:139:40)
code: 'ERR_INVALID_ARG_TYPE' }
OneBot 客户端运行日志
系统版本
Ubuntu24.04
QQNT 版本
9.9.7
LLBot 版本
linyuchen/llbot:7.12.15
OneBot 客户端
No response
发生了什么?
NT API 调用失败: { TypeError [ERR_INVALID_ARG_TYPE]: The "string" argument must be of type string or an instance of Buffer or ArrayBuffer. Received an instance of Object
at Buffer.byteLength (node:buffer:850:11)
at (/app/node_modules/@saltify/typeproto/dist/index.mjs:638:27)
at ProtoMessage.calculateSerializedSize (/app/node_modules/@saltify/typeproto/dist/index.mjs:892:54)
at (/app/node_modules/@saltify/typeproto/dist/index.mjs:852:56)
at ProtoMessage.calculateSerializedSize (/app/node_modules/@saltify/typeproto/dist/index.mjs:892:54)
at (/app/node_modules/@saltify/typeproto/dist/index.mjs:852:56)
at ProtoMessage.calculateSerializedSize (/app/node_modules/@saltify/typeproto/dist/index.mjs:892:54)
at ProtoMessage.encode (/app/node_modules/@saltify/typeproto/dist/index.mjs:922:39)
at Proxy.getGroupVideoUrl (/app/src/main/pmhq/mixins/media.ts:88:43)
at Object.apply (/app/node_modules/cordis/lib/index.js:139:40)
code: 'ERR_INVALID_ARG_TYPE' }
如何复现
我是用
curl -fsSL https://gh-proxy.com/https://raw.githubusercontent.com/LLOneBot/LuckyLilliaBot/refs/heads/main/script/install-llbot-docker.sh -o llbot-docker.sh && chmod u+x ./llbot-docker.sh && ./llbot-docker.sh安装的。 装好后进 http://localhost:8000/#webqq ,找个群,然后在群里找个视频点开(最好是别人发的视频,而不是文件),就会报这个错误期望的结果?
点开后正常播放视频
LLBot 运行日志
NT API 调用失败: { TypeError [ERR_INVALID_ARG_TYPE]: The "string" argument must be of type string or an instance of Buffer or ArrayBuffer. Received an instance of Object at Buffer.byteLength (node:buffer:850:11) at <anonymous> (/app/node_modules/@saltify/typeproto/dist/index.mjs:638:27) at ProtoMessage.calculateSerializedSize (/app/node_modules/@saltify/typeproto/dist/index.mjs:892:54) at <anonymous> (/app/node_modules/@saltify/typeproto/dist/index.mjs:852:56) at ProtoMessage.calculateSerializedSize (/app/node_modules/@saltify/typeproto/dist/index.mjs:892:54) at <anonymous> (/app/node_modules/@saltify/typeproto/dist/index.mjs:852:56) at ProtoMessage.calculateSerializedSize (/app/node_modules/@saltify/typeproto/dist/index.mjs:892:54) at ProtoMessage.encode (/app/node_modules/@saltify/typeproto/dist/index.mjs:922:39) at Proxy.getGroupVideoUrl (/app/src/main/pmhq/mixins/media.ts:88:43) at Object.apply (/app/node_modules/cordis/lib/index.js:139:40) code: 'ERR_INVALID_ARG_TYPE' }OneBot 客户端运行日志