06-30 15:25:20 [INFO] nonebot | Matcher(type='message', module=nonebot_plugin_fakemsg, lineno=62) running complete
06-30 15:25:20 [ERROR] nonebot | Running Matcher(type='message', module=nonebot_plugin_fakemsg, lineno=62) failed.
Traceback (most recent call last):
File "<string>", line 1, in <module>
File "C:\Program Files\Python310\lib\multiprocessing\spawn.py", line 116, in spawn_main
exitcode = _main(fd, parent_sentinel)
File "C:\Program Files\Python310\lib\multiprocessing\spawn.py", line 129, in _main
return self._bootstrap(parent_sentinel)
File "C:\Program Files\Python310\lib\multiprocessing\process.py", line 314, in _bootstrap
self.run()
File "C:\Program Files\Python310\lib\multiprocessing\process.py", line 108, in run
self._target(*self._args, **self._kwargs)
File "C:\Users\rain1\AppData\Roaming\Python\Python310\site-packages\uvicorn\_subprocess.py", line 76, in subprocess_started
target(sockets=sockets)
File "C:\Users\rain1\AppData\Roaming\Python\Python310\site-packages\uvicorn\server.py", line 61, in run
return asyncio.run(self.serve(sockets=sockets))
File "C:\Program Files\Python310\lib\asyncio\runners.py", line 44, in run
return loop.run_until_complete(main)
File "C:\Program Files\Python310\lib\asyncio\base_events.py", line 636, in run_until_complete
self.run_forever()
File "C:\Program Files\Python310\lib\asyncio\base_events.py", line 603, in run_forever
self._run_once()
File "C:\Program Files\Python310\lib\asyncio\base_events.py", line 1909, in _run_once
handle._run()
File "C:\Program Files\Python310\lib\asyncio\events.py", line 80, in _run
self._context.run(self._callback, *self._args)
File "C:\Users\rain1\AppData\Roaming\Python\Python310\site-packages\nonebot\message.py", line 476, in check_and_run_matcher
await _run_matcher(
> File "C:\Users\rain1\AppData\Roaming\Python\Python310\site-packages\nonebot\message.py", line 428, in _run_matcher
await matcher.run(bot, event, state, stack, dependency_cache)
File "C:\Users\rain1\AppData\Roaming\Python\Python310\site-packages\nonebot\internal\matcher\matcher.py", line 850, in run
await self.simple_run(bot, event, state, stack, dependency_cache)
File "C:\Users\rain1\AppData\Roaming\Python\Python310\site-packages\nonebot\internal\matcher\matcher.py", line 825, in simple_run
await handler(
File "C:\Users\rain1\AppData\Roaming\Python\Python310\site-packages\nonebot\dependencies\__init__.py", line 94, in __call__
return await cast(Callable[..., Awaitable[R]], self.call)(**values)
File "C:\Users\rain1\AppData\Roaming\Python\Python310\site-packages\nonebot_plugin_fakemsg\__init__.py", line 92, in _
await send_forward_msg(bot, event, fake_msg_list)
File "C:\Users\rain1\AppData\Roaming\Python\Python310\site-packages\nonebot_plugin_fakemsg\__init__.py", line 124, in send_forward_msg
return await bot.call_api(
File "C:\Users\rain1\AppData\Roaming\Python\Python310\site-packages\nonebot\internal\adapter\bot.py", line 122, in call_api
raise exception
File "C:\Users\rain1\AppData\Roaming\Python\Python310\site-packages\nonebot\internal\adapter\bot.py", line 97, in call_api
result = await self.adapter._call_api(self, api, **data)
File "C:\Users\rain1\AppData\Roaming\Python\Python310\site-packages\nonebot\adapters\onebot\v11\adapter.py", line 146, in _call_api
raise NetworkError(f"WebSocket call api {api} timeout") from None
nonebot.adapters.onebot.v11.exception.NetworkError: NetWorkError(message='WebSocket call api send_group_forward_msg timeout')
描述bug 伪造消息失败
怎么出现的 1.在bot.py中成功加载插件 1.在群内输入伪造消息指令 1.伪造失败,后台报错 ……
异常情况 文字报错说明 bot.py
go-cqhttp
屏幕截图 这里是截图
版本情况 python:3.10.11 nb-cli:1.4.1 pip:24.1.1 ……
额外的说明 这里是额外的描述