ConcyWee / nonebot-plugin-kurogames

库洛游戏数据详情插件 谢比螺六~
MIT License
13 stars 1 forks source link

鸣潮数据相关全部报错,但是网络链接正常 #6

Open WhyPilotXia opened 2 months ago

WhyPilotXia commented 2 months ago

使用“/库洛登录token”: 报错:错误: Expecting value: line 1 column 1 (char 0) 下面是鸣潮数据相关全部报错。使用手机号验证码可以登录但是只有签到功能看起来正常 09-09 23:01:49 [SUCCESS] nonebot | OneBot V11 2124667541 | [message.group.normal]: Message 896151622 from 2743218818@[群:683973033] '/鸣潮数据' 09-09 23:01:49 [INFO] nonebot | Event will be handled by Matcher(type='message', module=nonebot_plugin_kurogames, lineno=31) 09-09 23:01:51 [INFO] nonebot | Matcher(type='message', module=nonebot_plugin_kurogames, lineno=31) running complete 09-09 23:01:51 [ERROR] nonebot | Running Matcher(type='message', module=nonebot_plugin_kurogames, lineno=31) failed. Traceback (most recent call last): File "", line 1, in File "C:\Users\y1751\AppData\Local\Programs\Python\Python310\lib\multiprocessing\spawn.py", line 116, in spawn_main exitcode = _main(fd, parent_sentinel) File "C:\Users\y1751\AppData\Local\Programs\Python\Python310\lib\multiprocessing\spawn.py", line 129, in _main return self._bootstrap(parent_sentinel) File "C:\Users\y1751\AppData\Local\Programs\Python\Python310\lib\multiprocessing\process.py", line 314, in _bootstrap self.run() File "C:\Users\y1751\AppData\Local\Programs\Python\Python310\lib\multiprocessing\process.py", line 108, in run self._target(*self._args, *self._kwargs) File "C:\Users\y1751\AppData\Local\Programs\Python\Python310\lib\site-packages\uvicorn_subprocess.py", line 80, in subprocess_started target(sockets=sockets) File "C:\Users\y1751\AppData\Local\Programs\Python\Python310\lib\site-packages\uvicorn\server.py", line 65, in run return asyncio.run(self.serve(sockets=sockets)) File "C:\Users\y1751\AppData\Local\Programs\Python\Python310\lib\asyncio\runners.py", line 44, in run return loop.run_until_complete(main) File "C:\Users\y1751\AppData\Local\Programs\Python\Python310\lib\asyncio\base_events.py", line 636, in run_until_complete self.run_forever() File "C:\Users\y1751\AppData\Local\Programs\Python\Python310\lib\asyncio\base_events.py", line 603, in run_forever self._run_once() File "C:\Users\y1751\AppData\Local\Programs\Python\Python310\lib\asyncio\base_events.py", line 1909, in _run_once handle._run() File "C:\Users\y1751\AppData\Local\Programs\Python\Python310\lib\asyncio\events.py", line 80, in _run self._context.run(self._callback, self._args) File "C:\Users\y1751\AppData\Local\Programs\Python\Python310\lib\site-packages\nonebot\message.py", line 476, in check_and_run_matcher await _run_matcher(

File "C:\Users\y1751\AppData\Local\Programs\Python\Python310\lib\site-packages\nonebot\message.py", line 428, in _run_matcher await matcher.run(bot, event, state, stack, dependency_cache) File "C:\Users\y1751\AppData\Local\Programs\Python\Python310\lib\site-packages\nonebot\internal\matcher\matcher.py", line 850, in run await self.simple_run(bot, event, state, stack, dependency_cache) File "C:\Users\y1751\AppData\Local\Programs\Python\Python310\lib\site-packages\nonebot\internal\matcher\matcher.py", line 825, in simple_run await handler( File "C:\Users\y1751\AppData\Local\Programs\Python\Python310\lib\site-packages\nonebot\dependencies__init.py", line 94, in call return await cast(Callable[..., Awaitable[R]], self.call)(values) File "C:\Users\y1751\AppData\Local\Programs\Python\Python310\lib\site-packages\nonebot_pluginkurogames__init__.py", line 82, in pic_result = await mc_data_handler(data_row) File "C:\Users\y1751\AppData\Local\Programs\Python\Python310\lib\site-packages\nonebot_plugin_kurogames\handler\mc_handlers\mc_data_handler.py", line 48, in mc_data_handler data_pic = await mc_pic_render(mc_result) File "C:\Users\y1751\AppData\Local\Programs\Python\Python310\lib\site-packages\nonebot_plugin_kurogames\handler\mc_handlers\mc_pic_render.py", line 56, in mc_pic_render result = await html_render(mc_result_path, rendered_template_path, data, 1920, 1080, '500') File "C:\Users\y1751\AppData\Local\Programs\Python\Python310\lib\site-packages\nonebot_plugin_kurogames\handler\mc_handlers\mc_pic_render.py", line 9, in html_render rendered_html = template.render(data) File "C:\Users\y1751\AppData\Local\Programs\Python\Python310\lib\site-packages\jinja2\environment.py", line 1304, in render self.environment.handle_exception() File "C:\Users\y1751\AppData\Local\Programs\Python\Python310\lib\site-packages\jinja2\environment.py", line 939, in handle_exception raise rewrite_traceback_stack(source=source) File "