Closed enKl03B closed 2 weeks ago
👋 你好!感谢你提交了第一个问题!🔍 你的细心帮助我们发现了新的改进机会,我们会尽快处理。🚀 如果你有更多的想法或疑问,请继续分享,我们非常乐意听取你的声音!🌟 感谢你的支持!
有没有可能你没装ffmpeg,文档没看完吗?
最简单的安装办法,如果是Ubuntu / Debian:
apt-get install ffmpeg
如果安装了话,那我感觉是你没有映射文件的原因,把nb目录映射给napcat大概率能解出来,不然你docker装的napcat我也没法给你解决,实在不行就不用docker的napcat
朋友你好,我曾通过docker部署NapCat和Nonebot2,是需要在两个容器都配置一下映射目录的。
从你的日志我猜测你的NoneBot机器人实例存储在以下路径/home/lxm/桌面/Bot/nb01/
你可以将此路径映射进NapCat的docker中,这样在R插件通过路径发送文件时可正常运行。
提供一个映射到NapCat中的参数作为参考-v /home/lxm/桌面/Bot/nb01/:/home/lxm/桌面/Bot/nb01/
如还有问题,请将docker部署NapCat容器的指令附在回复中,祝运行顺利。
这个问题是否已经存在?
如何复现
使用docker方式部署的napcat 用户发送B站链接后,不能发送视频,后台发现是视频下载失败
预期结果
No response
实际结果
错误代码:
截图或视频
[在这里上传图片]
插件版本号
nonebot-plugin-resolver1.2.16
适配器类型
napcat
Python版本
Python3.9~3.12之间
系统
linux