Skip to content
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

[Bug]: 无法输出语音(?) #2518

Open
4 tasks done
youyi0218 opened this issue Feb 10, 2024 · 0 comments
Open
4 tasks done

[Bug]: 无法输出语音(?) #2518

youyi0218 opened this issue Feb 10, 2024 · 0 comments
Labels
bug? The issue author think this is a bug

Comments

@youyi0218
Copy link

请确保您已阅读以上注意事项,并勾选下方的确认框。

  • 我已经仔细阅读上述教程和 "提问前需知"
  • 我已经使用 dev分支版本 测试过,问题依旧存在。
  • 我已经在 Issue Tracker 中找过我要提出的问题,没有找到相同问题的ISSUE。
  • 我已知晓并同意,此处仅用于汇报程序中存在的问题。若这个 Issue 是关于其他非程序本身问题,则我的 Issue 可能会被无条件自动关闭或/并锁定。(这些问题应当在 Discussion 板块提出。)

go-cqhttp 版本

d25e320

运行环境

Windows (64)

运行架构

None

连接方式

HTTP

使用协议

0 | Default

重现步骤

使用Qchatgpt的chat_voice插件本地vits输出语言,可以正常得到本地silk缓存文件,但是无法输出语音,在gocq后台也无相关内容

期望的结果是什么?

正常输出语音

实际的结果是什么?

可以正常得到本地silk缓存文件,但是无法输出语音,在gocq后台也无相关内容

简单的复现代码/链接(可选)

No response

日志记录(可选)

输出语音文件后台
[2024-02-10 23:39:21.761] application.py (95) - [INFO] : Event: handling a event: FriendMessage
[2024-02-10 23:39:21.829] process.py (165) - [INFO] : 回复[person_qq号]消息
[2024-02-10 23:39:24.651] application.py (95) - [INFO] : Event: handling a event: FriendMessage
[2024-02-10 23:39:24.657] message.py (27) - [INFO] : [person_qq号发送消息:你是谁
[2024-02-10 23:39:26.081] _client.py (1027) - [INFO] : HTTP Request: POST https://反代 "HTTP/1.1 200 OK"
[2024-02-10 23:39:26.082] main.py (76) - [INFO] : 回复的语音消息是我是你的魅魔~主人D:\python\3.10.11\lib\site-packages\torch\nn\utils\weight_norm.py:28: UserWarning: torch.nn.utils.weight_norm is deprecated in favor of torch.nn.utils.parametrizations.weight_norm.
  warnings.warn("torch.nn.utils.weight_norm is deprecated in favor of torch.nn.utils.parametrizations.weight_norm.")
D:\python\3.10.11\lib\site-packages\torch\nn\parameter.py:9: RuntimeWarning: coroutine 'CQHTTP_Protocol.sendFriendMessage' was never awaited
  return super().__instancecheck__(instance) or (
[2024-02-10 23:39:27.249] utils.py (40) - [INFO] : Loaded checkpoint 'D:\Program\QChatGPT\plugins/chat_voice/model/vits/G_latest.pth' (iteration None)
D:\Program\QChatGPT\voice_tmp\voice_e97c3024e.pcm D:\Program\QChatGPT\voice_tmp\voice_e97c3024e.silk
[2024-02-10 23:39:29.541] process.py (165) - [INFO] : 回复[person_qq号]消息
gocq后台
[2024-02-10 23:39:26] [INFO]: 发送好友 qq号(qq号)  的消息: 我是你的魅魔~主人... (-984244704)
后面无任何语音相关内容

补充说明(可选)

gocq为了qsign用的是https://github.com/Mrs4s/go-cqhttp/actions/runs/7407986782这个的
image
wen'jian'jia'ne文件夹内的语音文件

@youyi0218 youyi0218 added the bug? The issue author think this is a bug label Feb 10, 2024
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
bug? The issue author think this is a bug
Projects
None yet
Development

No branches or pull requests

1 participant