lgc-NB2Dev / nonebot-plugin-multincm

网易云多选点歌,使用自定义卡片,可以登录账号听 VIP 歌曲
MIT License
61 stars 1 forks source link

【bug】/发送语音没有任何响应 #25

Closed mcxiaochenn closed 5 months ago

mcxiaochenn commented 5 months ago

.env.*文件中的配置文件部分

NoneBot-Plugin-MultiNCM

NCM_PHONE=xxx NCM_PASSWORD=xxx NCM_ENABLE_RECORD=True

以下配图是测试截图 Screenshot_2024-05-20-04-12-06-513_com microsoft rdc androidx-edit Screenshot_2024-05-20-04-11-59-973_com microsoft rdc androidx

mcxiaochenn commented 5 months ago

/tts可以正常发送语音,已排除协议不支持的问题 Screenshot_2024-05-20-04-20-14-125_com tencent mobileqq

XieXiLin2 commented 5 months ago
mcxiaochenn commented 5 months ago

还是不行 Screenshot_2024-05-20-19-51-35-248_com microsoft rdc androidx-edit Screenshot_2024-05-20-19-50-59-449_com tencent mobileqq Screenshot_2024-05-20-19-50-39-930_com microsoft rdc androidx Screenshot_2024-05-20-19-47-21-178_com microsoft rdc androidx

FalfaChino commented 5 months ago

……你是不是刚改的配置项然后没重启 nonebot2 完全没看到插件有 handle 你的指令

mcxiaochenn commented 5 months ago

我可没这么傻。。。。。。nb run --reload也不行,而且我第一次提交issue就已经加上去了,尝试更改了排序也还是不行 ![Uploading Screenshot_2024-05-20-20-00-27-811_com.microsoft.emmx-edit.jpg…]()

FalfaChino commented 5 months ago

……那么提供一下你的信息

mcxiaochenn commented 5 months ago

Screenshot_2024-05-20-20-06-16-131_com microsoft rdc androidx Screenshot_2024-05-20-20-06-00-432_com microsoft rdc androidx plugins = ["nonebot_plugin_picmcstat", "nonebot_plugin_multincm", "nonebot_plugin_epicfree", "nonebot_plugin_memes", "nonebot_plugin_bilibilibot", "nonebot_plugin_apscheduler", "nonebot_plugin_friends", "nonebot_plugin_fishing", "nonebot_plugin_date_name", "nonebot_plugin_justsix", "nonebot_plugin_admin"]

python 3.11 系统winserver2016刚装的系统,已安装ffemg(好像是叫这个名,且正确配置环境变量),已安装最新vc运行库

已重启电脑排除windows bug 已重装python、pipx等环境排除环境问题

XieXiLin2 commented 5 months ago

等明天晚上测试一下再确认。现在也不好说( 执行 nb self list 发一下截图。

mcxiaochenn commented 5 months ago

好的( Screenshot_2024-05-20-20-26-40-020_com microsoft rdc androidx-edit

FalfaChino commented 5 months ago

……忘了还有一种可能 检查一下插件是不是最新版本,然后看看协议端支不支持发语音。

我测试的时候没问题的来着……

mcxiaochenn commented 5 months ago

上头说了/tts可以正常输出语音,不存在ffmpeg的问题和协议端的问题,插件从阿里云镜像下的,确实有可能,我现在更新试试

mcxiaochenn commented 5 months ago

尝试卸载后从pypi源重新下载,依旧不行:(

lgc2333 commented 5 months ago

安装dev版本 pip install nonebot-plugin-multincm==0.5.0.dev10

mcxiaochenn commented 5 months ago

我稍后测试,dev版本有什么新特性吗 ---- 回复的原邮件 ---- 发件人 @.> 日期 2024年05月23日 12:35 收件人 @.> 抄送至 @.>@.> 主题 Re: [lgc-NB2Dev/nonebot-plugin-multincm] 【bug】/发送语音没有任何响应 (Issue #25) 安装dev版本 pip install nonebot-plugin-multincm==0.5.0.dev10 — Reply to this email directly, view it on GitHub, or unsubscribe. You are receiving this because you authored the thread.Message ID: @.***>

lgc2333 commented 5 months ago

正式版本已经很久没更新了

mcxiaochenn commented 5 months ago

05-23 12:43:29 [INFO] nonebot_plugin_memes | 正在检查资源文件... Task exception was never retrieved future: <Task finished name='Task-4' coro=<Connection.run() done, defined at C:\Users\admin\Desktop\nonebot\New-QQ-Bot2.venv\Lib\site-packages\playwright_impl_connection.py:265> exception=NotImplementedError()> Traceback (most recent call last): File "C:\Users\admin\Desktop\nonebot\New-QQ-Bot2.venv\Lib\site-packages\playwright_impl_connection.py", line 272, in run await self._transport.connect() File "C:\Users\admin\Desktop\nonebot\New-QQ-Bot2.venv\Lib\site-packages\playwright_impl_transport.py", line 133, in connect raise exc File "C:\Users\admin\Desktop\nonebot\New-QQ-Bot2.venv\Lib\site-packages\playwright_impl_transport.py", line 120, in connect self._proc = await asyncio.create_subprocess_exec( ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ File "C:\Users\admin\AppData\Local\Programs\Python\Python311\Lib\asyncio\subprocess.py", line 223, in create_subprocess_exec transport, protocol = await loop.subprocess_exec( ^^^^^^^^^^^^^^^^^^^^^^^^^^^ File "C:\Users\admin\AppData\Local\Programs\Python\Python311\Lib\asyncio\base_events.py", line 1694, in subprocess_exec transport = await self._make_subprocess_transport( ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ File "C:\Users\admin\AppData\Local\Programs\Python\Python311\Lib\asyncio\base_events.py", line 502, in _make_subprocess_transport raise NotImplementedError NotImplementedError 05-23 12:43:34 [ERROR] uvicorn | Traceback (most recent call last): File "C:\Users\admin\Desktop\nonebot\New-QQ-Bot2.venv\Lib\site-packages\starlette\routing.py", line 732, in lifespan async with self.lifespan_context(app) as maybe_state: File "C:\Users\admin\AppData\Local\Programs\Python\Python311\Lib\contextlib.py", line 204, in aenter return await anext(self.gen) ^^^^^^^^^^^^^^^^^^^^^ File "C:\Users\admin\Desktop\nonebot\New-QQ-Bot2.venv\Lib\site-packages\nonebot\drivers\fastapi.py", line 153, in _lifespan_manager await self._lifespan.startup() File "C:\Users\admin\Desktop\nonebot\New-QQ-Bot2.venv\Lib\site-packages\nonebot\internal\driver_lifespan.py", line 42, in startup await self._run_lifespan_func(self._startup_funcs) File "C:\Users\admin\Desktop\nonebot\New-QQ-Bot2.venv\Lib\site-packages\nonebot\internal\driver_lifespan.py", line 36, in _run_lifespan_func await cast(ASYNC_LIFESPAN_FUNC, func)() File "C:\Users\admin\Desktop\nonebot\New-QQ-Bot2.venv\Lib\site-packages\nonebot_plugin_htmlrender__init.py", line 38, in init browser = await get_browser(kwargs) ^^^^^^^^^^^^^^^^^^^^^^^^^^^ File "C:\Users\admin\Desktop\nonebot\New-QQ-Bot2.venv\Lib\site-packages\nonebot_plugin_htmlrender\browser.py", line 61, in get_browser return _browser if _browser and _browser.is_connected() else await init(kwargs) ^^^^^^^^^^^^^^^^^^^^ File "C:\Users\admin\Desktop\nonebot\New-QQ-Bot2.venv\Lib\site-packages\nonebot_plugin_htmlrender\browser.py", line 32, in init _playwright = await async_playwright().start() ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ File "C:\Users\admin\Desktop\nonebot\New-QQ-Bot2.venv\Lib\site-packages\playwright\async_api_context_manager.py", line 51, in start return await self.aenter() ^^^^^^^^^^^^^^^^^^^^^^^ File "C:\Users\admin\Desktop\nonebot\New-QQ-Bot2.venv\Lib\site-packages\playwright\async_api_context_manager.py", line 46, in aenter__ playwright = AsyncPlaywright(next(iter(done)).result()) ^^^^^^^^^^^^^^^^^^^^^^^^^ File "C:\Users\admin\Desktop\nonebot\New-QQ-Bot2.venv\Lib\site-packages\playwright_impl_transport.py", line 120, in connect self._proc = await asyncio.create_subprocess_exec( ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ File "C:\Users\admin\AppData\Local\Programs\Python\Python311\Lib\asyncio\subprocess.py", line 223, in create_subprocess_exec transport, protocol = await loop.subprocess_exec( ^^^^^^^^^^^^^^^^^^^^^^^^^^^ File "C:\Users\admin\AppData\Local\Programs\Python\Python311\Lib\asyncio\base_events.py", line 1694, in subprocess_exec transport = await self._make_subprocess_transport( ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ File "C:\Users\admin\AppData\Local\Programs\Python\Python311\Lib\asyncio\base_events.py", line 502, in _make_subprocess_transport raise NotImplementedError NotImplementedError 05-23 12:43:34 [ERROR] uvicorn | Application startup failed. Exiting. pip install nonebot-plugin-multincm==0.5.0.dev10 -U后报错,禁用ncm插件后正常启动 ---- 回复的原邮件 ---- 发件人 @.> 日期 2024年05月23日 12:35 收件人 @.> 抄送至 @.>@.> 主题 Re: [lgc-NB2Dev/nonebot-plugin-multincm] 【bug】/发送语音没有任何响应 (Issue #25) 安装dev版本 pip install nonebot-plugin-multincm==0.5.0.dev10 — Reply to this email directly, view it on GitHub, or unsubscribe. You are receiving this because you authored the thread.Message ID: @.***>

lgc2333 commented 5 months ago

https://nonebot.dev/docs/advanced/driver#fastapi%E9%BB%98%E8%AE%A4

image

XieXiLin2 commented 5 months ago

该 Issue 超过一周未回复,将关闭。