Closed TsukinaKasumi closed 1 year ago
服务器系统是winserver2022 ,可能是%-|不支持我的系统或者版本,改为 hour.hour = date_time.strftime("%I%p")可以正常渲染出图
08-25 11:41:44 [ERROR] nonebot | Running Matcher(type='message', module=extensive_plugin.nonebot_plugin_heweather) failed.
Traceback (most recent call last):
File "D:\BOT\zhenxun_bot\bot.py", line 22, in
我也报错了
试一下最新版本 v0.6.11
用正确的API对应的APITYPE
因为插件不怎么更新所以我直接写进config里面
建议免费版用0 标准版用1
服务器系统是winserver2022 ,可能是%-|不支持我的系统或者版本,改为 hour.hour = date_time.strftime("%I%p")可以正常渲染出图
最新版本已经修复了这行代码的bug了
08-24 20:01:23 [ERROR] nonebot | Running Matcher(type='message', module=nonebot_plugin_heweather) failed. Traceback (most recent call last): File "", line 17, in
File "C:\Users\Administrator\ATRI.venv\lib\site-packages\nonebot__init__.py", line 333, in run
get_driver().run(*args, *kwargs)
File "C:\Users\Administrator\ATRI.venv\lib\site-packages\nonebot\drivers\fastapi.py", line 199, in run
uvicorn.run(
File "C:\Users\Administrator\ATRI.venv\lib\site-packages\uvicorn\main.py", line 587, in run
server.run()
File "C:\Users\Administrator\ATRI.venv\lib\site-packages\uvicorn\server.py", line 61, in run
return asyncio.run(self.serve(sockets=sockets))
File "C:\Users\Administrator\AppData\Local\Programs\Python\Python310\lib\asyncio\runners.py", line 44, in run
return loop.run_until_complete(main)
File "C:\Users\Administrator\AppData\Local\Programs\Python\Python310\lib\asyncio\base_events.py", line 636, in run_until_complete
self.run_forever()
File "C:\Users\Administrator\AppData\Local\Programs\Python\Python310\lib\asyncio\windows_events.py", line 321, in run_forever
super().run_forever()
File "C:\Users\Administrator\AppData\Local\Programs\Python\Python310\lib\asyncio\base_events.py", line 603, in run_forever
self._run_once()
File "C:\Users\Administrator\AppData\Local\Programs\Python\Python310\lib\asyncio\base_events.py", line 1899, in _run_once
handle._run()
File "C:\Users\Administrator\AppData\Local\Programs\Python\Python310\lib\asyncio\events.py", line 80, in _run
self._context.run(self._callback, self._args)
File "C:\Users\Administrator\ATRI.venv\lib\site-packages\nonebot\message.py", line 467, in check_and_run_matcher
await _run_matcher(