nonebot 2.3
win11
报错信息如下:
[ERROR] nonebot | Running Matcher(type='message', module=nonebot_plugin_nowtime, lineno=69) failed.
Traceback (most recent call last):
File "", line 21, in
File "E:\MCL\nonebot\nb03-bot.venv\lib\site-packages\nonebot__init.py", line 335, in run
get_driver().run(*args, **kwargs)
File "E:\MCL\nonebot\nb03-bot.venv\lib\site-packages\nonebot\drivers\fastapi.py", line 186, in run
uvicorn.run(
File "E:\MCL\nonebot\nb03-bot.venv\lib\site-packages\uvicorn\main.py", line 577, in run
server.run()
File "E:\MCL\nonebot\nb03-bot.venv\lib\site-packages\uvicorn\server.py", line 65, in run
return asyncio.run(self.serve(sockets=sockets))
File "C:\Program Files\WindowsApps\PythonSoftwareFoundation.Python.3.10_3.10.3056.0_x64qbz5n2kfra8p0\lib\asyncio\runners.py", line 44, in run
return loop.run_until_complete(main)
File "C:\Program Files\WindowsApps\PythonSoftwareFoundation.Python.3.10_3.10.3056.0_x64qbz5n2kfra8p0\lib\asyncio\base_events.py", line 636, in run_until_complete
self.run_forever()
File "C:\Program Files\WindowsApps\PythonSoftwareFoundation.Python.3.10_3.10.3056.0_x64__qbz5n2kfra8p0\lib\asyncio\windows_events.py", line 321, in run_forever
super().run_forever()
File "C:\Program Files\WindowsApps\PythonSoftwareFoundation.Python.3.10_3.10.3056.0_x64qbz5n2kfra8p0\lib\asyncio\base_events.py", line 603, in run_forever
self._run_once()
File "C:\Program Files\WindowsApps\PythonSoftwareFoundation.Python.3.10_3.10.3056.0_x64qbz5n2kfra8p0\lib\asyncio\base_events.py", line 1909, in _run_once
handle._run()
File "C:\Program Files\WindowsApps\PythonSoftwareFoundation.Python.3.10_3.10.3056.0_x64qbz5n2kfra8p0\lib\asyncio\events.py", line 80, in _run
self._context.run(self._callback, *self._args)
File "E:\MCL\nonebot\nb03-bot.venv\lib\site-packages\nonebot\message.py", line 476, in check_and_run_matcher
await _run_matcher(
File "E:\MCL\nonebot\nb03-bot.venv\lib\site-packages\nonebot\message.py", line 428, in _run_matcher
await matcher.run(bot, event, state, stack, dependency_cache)
File "E:\MCL\nonebot\nb03-bot.venv\lib\site-packages\nonebot\internal\matcher\matcher.py", line 850, in run
await self.simple_run(bot, event, state, stack, dependency_cache)
File "E:\MCL\nonebot\nb03-bot.venv\lib\site-packages\nonebot\internal\matcher\matcher.py", line 825, in simple_run
await handler(
File "E:\MCL\nonebot\nb03-bot.venv\lib\site-packages\nonebot\dependencies__init.py", line 94, in call
return await cast(Callable[..., Awaitable[R]], self.call)(**values)
File "E:\MCL\nonebot\nb03-bot.venv\lib\site-packages\nonebot_plugin_nowtime\init_.py", line 81, in
get_msg = json.loads(get_json.text)
ujson.JSONDecodeError: Expected object or value
nonebot 2.3", line 21, in
File "E:\MCL\nonebot\nb03-bot.venv\lib\site-packages\nonebot__init.py", line 335, in run
get_driver().run(*args, **kwargs)
File "E:\MCL\nonebot\nb03-bot.venv\lib\site-packages\nonebot\drivers\fastapi.py", line 186, in run
uvicorn.run(
File "E:\MCL\nonebot\nb03-bot.venv\lib\site-packages\uvicorn\main.py", line 577, in run
server.run()
File "E:\MCL\nonebot\nb03-bot.venv\lib\site-packages\uvicorn\server.py", line 65, in run
return asyncio.run(self.serve(sockets=sockets))
File "C:\Program Files\WindowsApps\PythonSoftwareFoundation.Python.3.10_3.10.3056.0_x64qbz5n2kfra8p0\lib\asyncio\runners.py", line 44, in run
return loop.run_until_complete(main)
File "C:\Program Files\WindowsApps\PythonSoftwareFoundation.Python.3.10_3.10.3056.0_x64qbz5n2kfra8p0\lib\asyncio\base_events.py", line 636, in run_until_complete
self.run_forever()
File "C:\Program Files\WindowsApps\PythonSoftwareFoundation.Python.3.10_3.10.3056.0_x64__qbz5n2kfra8p0\lib\asyncio\windows_events.py", line 321, in run_forever
super().run_forever()
File "C:\Program Files\WindowsApps\PythonSoftwareFoundation.Python.3.10_3.10.3056.0_x64qbz5n2kfra8p0\lib\asyncio\base_events.py", line 603, in run_forever
self._run_once()
File "C:\Program Files\WindowsApps\PythonSoftwareFoundation.Python.3.10_3.10.3056.0_x64qbz5n2kfra8p0\lib\asyncio\base_events.py", line 1909, in _run_once
handle._run()
File "C:\Program Files\WindowsApps\PythonSoftwareFoundation.Python.3.10_3.10.3056.0_x64qbz5n2kfra8p0\lib\asyncio\events.py", line 80, in _run
self._context.run(self._callback, *self._args)
File "E:\MCL\nonebot\nb03-bot.venv\lib\site-packages\nonebot\message.py", line 476, in check_and_run_matcher
await _run_matcher(
win11
报错信息如下: [ERROR] nonebot | Running Matcher(type='message', module=nonebot_plugin_nowtime, lineno=69) failed. Traceback (most recent call last): File "