-
Notifications
You must be signed in to change notification settings - Fork 15
New issue
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
大佬这个一运行就报错咋办啊 #2
Comments
这个是api返回语音失败。 |
我试了下单个字还有词都不行,还是我输入的方式有问题吗 |
我测试了一下, |
在nb群里问了一下,gocq依赖ffmpeg对音视频编解码,所以你需要在系统里安装ffmpeg来支持这个功能。 |
大佬可以用langid来判断语种,这样就不会被转译了 |
我后来测试对比了一下,这还不是转译的锅qwq |
我试了下安装完重启下就能正常用了 |
请问是pip安装ffmpeg吗? 重启是系统还是bot? |
ffmpeg是一个独立的软件,安装过程可自行搜索;保险起见需要重开命令行。 |
用brew安装了ffmpeg, 没有重启任何东西就能运行了 |
08-21 20:05:54 [ERROR] nonebot | Running matcher <Matcher from nonebot_plugin_moegoe, type=message, priority=5, temp=False> failed.
Traceback (most recent call last):
File "c:\Users\Administrator\Desktop\bot\probe\bot.py", line 57, in
nonebot.run(app="mp_main:app")
File "C:\Users\Administrator\AppData\Local\Programs\Python\Python39\lib\site-packages\nonebot_init_.py", line 261, in run
get_driver().run(*args, **kwargs)
File "C:\Users\Administrator\AppData\Local\Programs\Python\Python39\lib\site-packages\nonebot\drivers\fastapi.py", line 170, in run
uvicorn.run(
File "C:\Users\Administrator\AppData\Local\Programs\Python\Python39\lib\site-packages\uvicorn\main.py", line 575, in run
server.run()
File "C:\Users\Administrator\AppData\Local\Programs\Python\Python39\lib\site-packages\uvicorn\server.py", line 60, in run
return asyncio.run(self.serve(sockets=sockets))
File "C:\Users\Administrator\AppData\Local\Programs\Python\Python39\lib\asyncio\runners.py", line 44, in run
return loop.run_until_complete(main)
File "C:\Users\Administrator\AppData\Local\Programs\Python\Python39\lib\asyncio\base_events.py", line 634, in run_until_complete
self.run_forever()
File "C:\Users\Administrator\AppData\Local\Programs\Python\Python39\lib\asyncio\windows_events.py", line 321, in run_forever
super().run_forever()
File "C:\Users\Administrator\AppData\Local\Programs\Python\Python39\lib\asyncio\base_events.py", line 601, in run_forever
self._run_once()
File "C:\Users\Administrator\AppData\Local\Programs\Python\Python39\lib\asyncio\base_events.py", line 1905, in _run_once
handle._run()
File "C:\Users\Administrator\AppData\Local\Programs\Python\Python39\lib\asyncio\events.py", line 80, in _run
self._context.run(self._callback, *self._args)
File "C:\Users\Administrator\AppData\Local\Programs\Python\Python39\lib\site-packages\nonebot\message.py", line 146, in _check_matcher
await _run_matcher(Matcher, bot, event, state, stack, dependency_cache)
The text was updated successfully, but these errors were encountered: