Closed Cherryluoying closed 5 months ago
报错1:UnicodeDecodeError: 'gbk' codec can't decode byte 0xaf in position 1873: illegal multibyte sequence
报错2:UnicodeDecodeError: 'gbk' codec can't decode byte 0x8a in position 1873: illegal multibyte sequence
我自己修好了,等一会pr
06-22 20:28:05 [ERROR] nonebot | Running Matcher(type='message', module=nonebot_plugin_chatglm_plus, lineno=180) failed.Traceback (most recent call last): File "", line 15, in
File "C:\Users\Administrator\nbbot.venv\lib\site-packages\nonebot__init__.py", line 335, in run
get_driver().run(*args, *kwargs)
File "C:\Users\Administrator\nbbot.venv\lib\site-packages\nonebot\drivers\fastapi.py", line 186, in run
uvicorn.run(
File "C:\Users\Administrator\nbbot.venv\lib\site-packages\uvicorn\main.py", line 577, in run
server.run()
File "C:\Users\Administrator\nbbot.venv\lib\site-packages\uvicorn\server.py", line 65, 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 633, 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 600, in run_forever
self._run_once()
File "C:\Users\Administrator\AppData\Local\Programs\Python\Python310\lib\asyncio\base_events.py", line 1896, 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\nbbot.venv\lib\site-packages\nonebot\message.py", line 476, in check_and_run_matcher
await _run_matcher(