08-25 16:02:34 [SUCCESS] hooks:auth_event_selector | OneBot V11 39******48 | [message.private.friend]: Message 349553780 from 55****47 '9.23 复制打开抖音,看看【奶农an的作品】wc # 渔力全开 # 华为 https://v.douyin.com/fk5WsJGpwQQ/ x@F.uF VYM:/ 03/05 :8pm'
08-25 16:02:34 [INFO] nonebot | Event will be handled by Matcher(type='message', module=zhenxun.builtin_plugins.chat_history.chat_message, lineno=46)
08-25 16:02:34 [INFO] nonebot | Matcher(type='message', module=zhenxun.builtin_plugins.chat_history.chat_message, lineno=46) running complete
08-25 16:02:34 [INFO] nonebot | Event will be handled by Matcher(type='message', module=zhenxun.plugins.nonebot_plugin_parser.matchers, lineno=51)
httpx | 50b555c9cafa4535.jpeg ━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━ 100.0% • 3.6/3.6 kB
httpx | 6b13fd5be93dd3bd.jpeg ━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━ 100.0% • 34.6/34.6 kB
httpx | b572fe3ed014d408.mp4 ━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━ 100.0% • 7.2/7.2 MB
httpx | 5d363761987842de.jpeg ━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━ 100.0% • 530.8/530.8 kB
httpx | c317a24d25782a42.mp3 ━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━ 100.0% • 2.4/2.4 MB
httpx | eb100f34576e093b.jpeg ━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━ 100.0% • 482.0/482.0 kB
httpx | fe6d5706031e2f6d.jpeg ━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━ 100.0% • 505.3/505.3 kB
httpx | 70ac06974370f26b.jpeg ━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━ 100.0% • 565.4/565.4 kB
此处省略两千五百多行类似上面下面的下载提示.........
httpx | d5a66504283c4cca.jpeg ━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━ 100.0% • 233.4/233.4 kB
httpx | 578b95d98ea66062.jpeg ━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━ 100.0% • 266.2/266.2 kB
httpx | f2b469a0394fe7c4.jpg ━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━ 100.0% • 392.4/392.4 kB
httpx | 5704ecf6a0074ec4.jpg ━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━ 100.0% • 385.6/385.6 kB
httpx | d4654ebb4696a578.m4s ━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━ 100.0% • 4.0/4.0 MB
httpx | 8afffdd53b334bac.m4s ━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━ 100.0% • 94.0/94.0 MB
httpx | 85df0dc8166a55b4.jpg ━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━ 100.0% • 189.4/189.4 kB
httpx | 5cd4a1a84ac2a96a.jpg ━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━ 100.0% • 34.5/34.5 kB
httpx | e07d6e0c9185c38a.m4s ━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━ 100.0% • 422.4/422.4 kB
httpx | 536adc8f9aa930f0.m4s ━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━ 100.0% • 1.3/1.3 MB 08-25 16:02:47 [ERROR] nonebot_plugin_parser | task(download_img | https://p3-pc.douyinpic.com/aweme/100x100/aweme-avatar/tos-cn-i-0813c000-ce_oA7yV1ABfAEaA8BqAN9SplIw6ieUSKDAoeiEEC.jpeg?from=327834062) failed
Traceback (most recent call last):
File "<frozen runpy>", line 198, in _run_module_as_main
File "<frozen runpy>", line 88, in _run_code
File "C:\Users\Administrator\Documents\zhenxun_bot-main\zhenxun\cli.py", line 412, in <module>
main()
File "C:\Users\Administrator\Documents\zhenxun_bot-main\zhenxun\cli.py", line 400, in main
_run_worker()
File "C:\Users\Administrator\Documents\zhenxun_bot-main\zhenxun\cli.py", line 242, in _run_worker
nonebot.run(timeout_graceful_shutdown=GRACEFUL_SHUTDOWN_TIMEOUT)
File "C:\Users\Administrator\Documents\zhenxun_bot-main\.venv\Lib\site-packages\nonebot\__init__.py", line 337, in run
get_driver().run(*args, **kwargs)
File "C:\Users\Administrator\Documents\zhenxun_bot-main\.venv\Lib\site-packages\nonebot\drivers\fastapi.py", line 187, in run
uvicorn.run(
File "C:\Users\Administrator\Documents\zhenxun_bot-main\.venv\Lib\site-packages\uvicorn\main.py", line 606, in run
server.run()
File "C:\Users\Administrator\Documents\zhenxun_bot-main\.venv\Lib\site-packages\uvicorn\server.py", line 75, in run
return asyncio_run(self.serve(sockets=sockets), loop_factory=self.config.get_loop_factory())
File "C:\Users\Administrator\Documents\zhenxun_bot-main\.venv\Lib\site-packages\uvicorn\_compat.py", line 30, in asyncio_run
return runner.run(main)
File "C:\ProgramData\miniconda3\envs\zhenxun2\Lib\asyncio\runners.py", line 118, in run
return self._loop.run_until_complete(task)
File "C:\ProgramData\miniconda3\envs\zhenxun2\Lib\asyncio\base_events.py", line 637, in run_until_complete
self.run_forever()
File "C:\ProgramData\miniconda3\envs\zhenxun2\Lib\asyncio\windows_events.py", line 321, in run_forever
super().run_forever()
File "C:\ProgramData\miniconda3\envs\zhenxun2\Lib\asyncio\base_events.py", line 604, in run_forever
self._run_once()
File "C:\ProgramData\miniconda3\envs\zhenxun2\Lib\asyncio\base_events.py", line 1909, in _run_once
handle._run()
File "C:\ProgramData\miniconda3\envs\zhenxun2\Lib\asyncio\events.py", line 80, in _run
self._context.run(self._callback, *self._args)
File "C:\Users\Administrator\Documents\zhenxun_bot-main\zhenxun\builtin_plugins\hooks\auth_event_selector.py", line 71, in _run_matcher_with_deadline
await coro
File "C:\Users\Administrator\Documents\zhenxun_bot-main\zhenxun\builtin_plugins\hooks\auth_checker.py", line 817, in _run_selected_matcher
await nb_message.check_and_run_matcher(
File "C:\Users\Administrator\Documents\zhenxun_bot-main\.venv\Lib\site-packages\nonebot\message.py", line 509, in check_and_run_matcher
await _run_matcher(
File "C:\Users\Administrator\Documents\zhenxun_bot-main\.venv\Lib\site-packages\nonebot\message.py", line 461, in _run_matcher
await matcher.run(bot, event, state, stack, dependency_cache)
File "C:\Users\Administrator\Documents\zhenxun_bot-main\.venv\Lib\site-packages\nonebot\internal\matcher\matcher.py", line 916, in run
await self.simple_run(bot, event, state, stack, dependency_cache)
File "C:\Users\Administrator\Documents\zhenxun_bot-main\.venv\Lib\site-packages\nonebot\internal\matcher\matcher.py", line 855, in simple_run
await handler(
File "C:\Users\Administrator\Documents\zhenxun_bot-main\.venv\Lib\site-packages\nonebot\dependencies\__init__.py", line 113, in __call__
return await cast(Callable[..., Awaitable[R]], self.call)(**values)
File "C:\Users\Administrator\Documents\zhenxun_bot-main\zhenxun\plugins\nonebot_plugin_parser\helper.py", line 155, in wrapper
result = await func(*args, **kwargs)
File "C:\Users\Administrator\Documents\zhenxun_bot-main\zhenxun\plugins\nonebot_plugin_parser\renders\base.py", line 110, in render_messages
image_seg = await self.cache_or_render_image()
File "C:\Users\Administrator\Documents\zhenxun_bot-main\zhenxun\plugins\nonebot_plugin_parser\renders\base.py", line 125, in cache_or_render_image
image_raw = await self.render_image()
File "C:\Users\Administrator\Documents\zhenxun_bot-main\zhenxun\plugins\nonebot_plugin_parser\renders\common\renderer.py", line 76, in render_image
image = await self._render_image()
File "C:\Users\Administrator\Documents\zhenxun_bot-main\zhenxun\plugins\nonebot_plugin_parser\renders\common\renderer.py", line 90, in _render_image
await self._render_header()
File "C:\Users\Administrator\Documents\zhenxun_bot-main\zhenxun\plugins\nonebot_plugin_parser\renders\common\renderer.py", line 179, in _render_header
avatar_path = await self.result.author.avatar.safe_get()
> File "C:\Users\Administrator\Documents\zhenxun_bot-main\zhenxun\plugins\nonebot_plugin_parser\parsers\task.py", line 36, in safe_get
return await self.get()
File "C:\Users\Administrator\Documents\zhenxun_bot-main\zhenxun\plugins\nonebot_plugin_parser\parsers\task.py", line 28, in get
self._path = await self._task
File "C:\Users\Administrator\Documents\zhenxun_bot-main\zhenxun\plugins\nonebot_plugin_parser\download\__init__.py", line 185, in download_img
return await self._download_file(
File "C:\Users\Administrator\Documents\zhenxun_bot-main\zhenxun\plugins\nonebot_plugin_parser\download\__init__.py", line 123, in _download_file
path = await self._download_file_with_httpx(
File "C:\ProgramData\miniconda3\envs\zhenxun2\Lib\contextlib.py", line 222, in __aexit__
await self.gen.athrow(typ, value, traceback)
File "C:\Users\Administrator\Documents\zhenxun_bot-main\.venv\Lib\site-packages\httpx\_client.py", line 1590, in stream
yield response
File "C:\Users\Administrator\Documents\zhenxun_bot-main\zhenxun\plugins\nonebot_plugin_parser\download\__init__.py", line 64, in _download_file_with_httpx
with progress_bar:
File "C:\Users\Administrator\Documents\zhenxun_bot-main\.venv\Lib\site-packages\rich\progress.py", line 1181, in __enter__
self.start()
File "C:\Users\Administrator\Documents\zhenxun_bot-main\.venv\Lib\site-packages\rich\progress.py", line 1171, in start
self.live.start(refresh=True)
File "C:\Users\Administrator\Documents\zhenxun_bot-main\.venv\Lib\site-packages\rich\live.py", line 133, in start
self.refresh()
File "C:\Users\Administrator\Documents\zhenxun_bot-main\.venv\Lib\site-packages\rich\live.py", line 250, in refresh
self.console._live_stack[0].refresh()
File "C:\Users\Administrator\Documents\zhenxun_bot-main\.venv\Lib\site-packages\rich\live.py", line 250, in refresh
self.console._live_stack[0].refresh()
File "C:\Users\Administrator\Documents\zhenxun_bot-main\.venv\Lib\site-packages\rich\live.py", line 250, in refresh
self.console._live_stack[0].refresh()
[Previous line repeated 956 more times]
File "C:\Users\Administrator\Documents\zhenxun_bot-main\.venv\Lib\site-packages\rich\live.py", line 247, in refresh
self._live_render.set_renderable(self.renderable)
File "C:\Users\Administrator\Documents\zhenxun_bot-main\.venv\Lib\site-packages\rich\live.py", line 225, in renderable
renderable = Group(*[live.get_renderable() for live in live_stack])
File "C:\Users\Administrator\Documents\zhenxun_bot-main\.venv\Lib\site-packages\rich\live.py", line 225, in <listcomp>
renderable = Group(*[live.get_renderable() for live in live_stack])
File "C:\Users\Administrator\Documents\zhenxun_bot-main\.venv\Lib\site-packages\rich\live.py", line 105, in get_renderable
self._get_renderable()
File "C:\Users\Administrator\Documents\zhenxun_bot-main\.venv\Lib\site-packages\rich\progress.py", line 1554, in get_renderable
renderable = Group(*self.get_renderables())
File "C:\Users\Administrator\Documents\zhenxun_bot-main\.venv\Lib\site-packages\rich\progress.py", line 1559, in get_renderables
table = self.make_tasks_table(self.tasks)
File "C:\Users\Administrator\Documents\zhenxun_bot-main\.venv\Lib\site-packages\rich\progress.py", line 1583, in make_tasks_table
table.add_row(
File "C:\Users\Administrator\Documents\zhenxun_bot-main\.venv\Lib\site-packages\rich\progress.py", line 1588, in <genexpr>
else column(task)
File "C:\Users\Administrator\Documents\zhenxun_bot-main\.venv\Lib\site-packages\rich\progress.py", line 540, in __call__
renderable = self.render(task)
File "C:\Users\Administrator\Documents\zhenxun_bot-main\.venv\Lib\site-packages\rich\progress.py", line 638, in render
text = Text.from_markup(_text, style=self.style, justify=self.justify)
File "C:\Users\Administrator\Documents\zhenxun_bot-main\.venv\Lib\site-packages\rich\text.py", line 287, in from_markup
rendered_text = render(text, style, emoji=emoji, emoji_variant=emoji_variant)
File "C:\Users\Administrator\Documents\zhenxun_bot-main\.venv\Lib\site-packages\rich\markup.py", line 133, in render
text = Text(style=style)
File "C:\Users\Administrator\Documents\zhenxun_bot-main\.venv\Lib\site-packages\rich\text.py", line 156, in __init__
sanitized_text = strip_control_codes(text)
File "C:\Users\Administrator\Documents\zhenxun_bot-main\.venv\Lib\site-packages\rich\control.py", line 192, in strip_control_codes
return text.translate(_translate_table)
RecursionError: maximum recursion depth exceeded while calling a Python object
08-25 16:02:47 [ERROR] nonebot_plugin_parser | task(download_img | https://p9-pc-sign.douyinpic.com/tos-cn-p-0015c000-ce/ocCg2F7vAXkBdeOV7u2DJ9U8KIQmQILMfC6GeG~tplv-dy-360p.jpeg?lk3s=138a59ce&x-expires=1788854400&x-signature=5SebX8MLRm2vwlKZEIBNUKF31hs%3D&from=327834062&s=PackSourceEnum_AWEME_DETAIL&se=false&sc=origin_cover&biz_tag=pcweb_cover&l=202608251602426D988D9884D95DA688EB) failed
Traceback (most recent call last):
File "<frozen runpy>", line 198, in _run_module_as_main
File "<frozen runpy>", line 88, in _run_code
File "C:\Users\Administrator\Documents\zhenxun_bot-main\zhenxun\cli.py", line 412, in <module>
main()
File "C:\Users\Administrator\Documents\zhenxun_bot-main\zhenxun\cli.py", line 400, in main
_run_worker()
File "C:\Users\Administrator\Documents\zhenxun_bot-main\zhenxun\cli.py", line 242, in _run_worker
nonebot.run(timeout_graceful_shutdown=GRACEFUL_SHUTDOWN_TIMEOUT)
File "C:\Users\Administrator\Documents\zhenxun_bot-main\.venv\Lib\site-packages\nonebot\__init__.py", line 337, in run
get_driver().run(*args, **kwargs)
File "C:\Users\Administrator\Documents\zhenxun_bot-main\.venv\Lib\site-packages\nonebot\drivers\fastapi.py", line 187, in run
uvicorn.run(
File "C:\Users\Administrator\Documents\zhenxun_bot-main\.venv\Lib\site-packages\uvicorn\main.py", line 606, in run
server.run()
File "C:\Users\Administrator\Documents\zhenxun_bot-main\.venv\Lib\site-packages\uvicorn\server.py", line 75, in run
return asyncio_run(self.serve(sockets=sockets), loop_factory=self.config.get_loop_factory())
File "C:\Users\Administrator\Documents\zhenxun_bot-main\.venv\Lib\site-packages\uvicorn\_compat.py", line 30, in asyncio_run
return runner.run(main)
File "C:\ProgramData\miniconda3\envs\zhenxun2\Lib\asyncio\runners.py", line 118, in run
return self._loop.run_until_complete(task)
File "C:\ProgramData\miniconda3\envs\zhenxun2\Lib\asyncio\base_events.py", line 637, in run_until_complete
self.run_forever()
File "C:\ProgramData\miniconda3\envs\zhenxun2\Lib\asyncio\windows_events.py", line 321, in run_forever
super().run_forever()
File "C:\ProgramData\miniconda3\envs\zhenxun2\Lib\asyncio\base_events.py", line 604, in run_forever
self._run_once()
File "C:\ProgramData\miniconda3\envs\zhenxun2\Lib\asyncio\base_events.py", line 1909, in _run_once
handle._run()
File "C:\ProgramData\miniconda3\envs\zhenxun2\Lib\asyncio\events.py", line 80, in _run
self._context.run(self._callback, *self._args)
File "C:\Users\Administrator\Documents\zhenxun_bot-main\zhenxun\builtin_plugins\hooks\auth_event_selector.py", line 71, in _run_matcher_with_deadline
await coro
File "C:\Users\Administrator\Documents\zhenxun_bot-main\zhenxun\builtin_plugins\hooks\auth_checker.py", line 817, in _run_selected_matcher
await nb_message.check_and_run_matcher(
File "C:\Users\Administrator\Documents\zhenxun_bot-main\.venv\Lib\site-packages\nonebot\message.py", line 509, in check_and_run_matcher
await _run_matcher(
File "C:\Users\Administrator\Documents\zhenxun_bot-main\.venv\Lib\site-packages\nonebot\message.py", line 461, in _run_matcher
await matcher.run(bot, event, state, stack, dependency_cache)
File "C:\Users\Administrator\Documents\zhenxun_bot-main\.venv\Lib\site-packages\nonebot\internal\matcher\matcher.py", line 916, in run
await self.simple_run(bot, event, state, stack, dependency_cache)
File "C:\Users\Administrator\Documents\zhenxun_bot-main\.venv\Lib\site-packages\nonebot\internal\matcher\matcher.py", line 855, in simple_run
await handler(
File "C:\Users\Administrator\Documents\zhenxun_bot-main\.venv\Lib\site-packages\nonebot\dependencies\__init__.py", line 113, in __call__
return await cast(Callable[..., Awaitable[R]], self.call)(**values)
File "C:\Users\Administrator\Documents\zhenxun_bot-main\zhenxun\plugins\nonebot_plugin_parser\helper.py", line 155, in wrapper
result = await func(*args, **kwargs)
File "C:\Users\Administrator\Documents\zhenxun_bot-main\zhenxun\plugins\nonebot_plugin_parser\renders\base.py", line 110, in render_messages
image_seg = await self.cache_or_render_image()
File "C:\Users\Administrator\Documents\zhenxun_bot-main\zhenxun\plugins\nonebot_plugin_parser\renders\base.py", line 125, in cache_or_render_image
image_raw = await self.render_image()
File "C:\Users\Administrator\Documents\zhenxun_bot-main\zhenxun\plugins\nonebot_plugin_parser\renders\common\renderer.py", line 76, in render_image
image = await self._render_image()
File "C:\Users\Administrator\Documents\zhenxun_bot-main\zhenxun\plugins\nonebot_plugin_parser\renders\common\renderer.py", line 92, in _render_image
await self._render_main_content()
File "C:\Users\Administrator\Documents\zhenxun_bot-main\zhenxun\plugins\nonebot_plugin_parser\renders\common\renderer.py", line 259, in _render_main_content
if cover := await self._load_cover():
File "C:\Users\Administrator\Documents\zhenxun_bot-main\zhenxun\plugins\nonebot_plugin_parser\renders\common\renderer.py", line 285, in _load_cover
cover_path = await cover_task.safe_get()
> File "C:\Users\Administrator\Documents\zhenxun_bot-main\zhenxun\plugins\nonebot_plugin_parser\parsers\task.py", line 36, in safe_get
return await self.get()
File "C:\Users\Administrator\Documents\zhenxun_bot-main\zhenxun\plugins\nonebot_plugin_parser\parsers\task.py", line 28, in get
self._path = await self._task
File "C:\Users\Administrator\Documents\zhenxun_bot-main\zhenxun\plugins\nonebot_plugin_parser\download\__init__.py", line 185, in download_img
return await self._download_file(
File "C:\Users\Administrator\Documents\zhenxun_bot-main\zhenxun\plugins\nonebot_plugin_parser\download\__init__.py", line 123, in _download_file
path = await self._download_file_with_httpx(
File "C:\ProgramData\miniconda3\envs\zhenxun2\Lib\contextlib.py", line 222, in __aexit__
await self.gen.athrow(typ, value, traceback)
File "C:\Users\Administrator\Documents\zhenxun_bot-main\.venv\Lib\site-packages\httpx\_client.py", line 1590, in stream
yield response
File "C:\Users\Administrator\Documents\zhenxun_bot-main\zhenxun\plugins\nonebot_plugin_parser\download\__init__.py", line 64, in _download_file_with_httpx
with progress_bar:
File "C:\Users\Administrator\Documents\zhenxun_bot-main\.venv\Lib\site-packages\rich\progress.py", line 1181, in __enter__
self.start()
File "C:\Users\Administrator\Documents\zhenxun_bot-main\.venv\Lib\site-packages\rich\progress.py", line 1171, in start
self.live.start(refresh=True)
File "C:\Users\Administrator\Documents\zhenxun_bot-main\.venv\Lib\site-packages\rich\live.py", line 133, in start
self.refresh()
File "C:\Users\Administrator\Documents\zhenxun_bot-main\.venv\Lib\site-packages\rich\live.py", line 250, in refresh
self.console._live_stack[0].refresh()
File "C:\Users\Administrator\Documents\zhenxun_bot-main\.venv\Lib\site-packages\rich\live.py", line 250, in refresh
self.console._live_stack[0].refresh()
File "C:\Users\Administrator\Documents\zhenxun_bot-main\.venv\Lib\site-packages\rich\live.py", line 250, in refresh
self.console._live_stack[0].refresh()
[Previous line repeated 956 more times]
File "C:\Users\Administrator\Documents\zhenxun_bot-main\.venv\Lib\site-packages\rich\live.py", line 247, in refresh
self._live_render.set_renderable(self.renderable)
File "C:\Users\Administrator\Documents\zhenxun_bot-main\.venv\Lib\site-packages\rich\live.py", line 225, in renderable
renderable = Group(*[live.get_renderable() for live in live_stack])
File "C:\Users\Administrator\Documents\zhenxun_bot-main\.venv\Lib\site-packages\rich\live.py", line 225, in <listcomp>
renderable = Group(*[live.get_renderable() for live in live_stack])
File "C:\Users\Administrator\Documents\zhenxun_bot-main\.venv\Lib\site-packages\rich\live.py", line 105, in get_renderable
httpx | 50b555c9cafa4535.jpeg ━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━ 100.0% • 3.6/3.6 kB
httpx | 6b13fd5be93dd3bd.jpeg ━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━ 100.0% • 34.6/34.6 kB
httpx | b572fe3ed014d408.mp4 ━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━ 100.0% • 7.2/7.2 MB
httpx | 5d363761987842de.jpeg ━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━ 100.0% • 530.8/530.8 kB
httpx | c317a24d25782a42.mp3 ━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━ 100.0% • 2.4/2.4 MB
httpx | eb100f34576e093b.jpeg ━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━ 100.0% • 482.0/482.0 kB
httpx | fe6d5706031e2f6d.jpeg ━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━ 100.0% • 505.3/505.3 kB
httpx | 70ac06974370f26b.jpeg ━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━ 100.0% • 565.4/565.4 kB
httpx | 0fce6c326f6924a6.jpeg ━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━ 100.0% • 3.9/3.9 kB
httpx | 602c06744a6c8957.jpeg ━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━ 100.0% • 3.5/3.5 kB
httpx | aa609ff1ef278e7c.jpeg ━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━ 100.0% • 19.8/19.8 kB
此处省略一千五百多行类似上面下面的下载提示....
httpx | aa609ff1ef278e7c.jpeg ━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━ 100.0% • 19.8/19.8 kB
httpx | 3ef0d1ede9c0f372.mp4 ━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━ 100.0% • 2.8/2.8 MB
httpx | 490c82866553c6ec.jpg ━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━ 100.0% • 412.4/412.4 kB
httpx | ece24e56e13fcc91.jpg ━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━ 100.0% • 174.0/174.0 kB
httpx | 214710ec45134441.m4s ━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━ 100.0% • 25.1/25.1 MB
httpx | 39d9745b2c564a79.m4s ━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━ 100.0% • 148.7/148.7 MB
httpx | 037d61d554631954.jpeg ━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━ 100.0% • 4.5/4.5 kB
httpx | d5a66504283c4cca.jpeg ━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━ 100.0% • 233.4/233.4 kB
httpx | 578b95d98ea66062.jpeg ━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━ 100.0% • 266.2/266.2 kB
httpx | f2b469a0394fe7c4.jpg ━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━ 100.0% • 392.4/392.4 kB
httpx | 5704ecf6a0074ec4.jpg ━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━ 100.0% • 385.6/385.6 kB
httpx | d4654ebb4696a578.m4s ━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━ 100.0% • 4.0/4.0 MB
httpx | 8afffdd53b334bac.m4s ━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━ 100.0% • 94.0/94.0 MB
httpx | 85df0dc8166a55b4.jpg ━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━ 100.0% • 189.4/189.4 kB
httpx | 5cd4a1a84ac2a96a.jpg ━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━ 100.0% • 34.5/34.5 kB
httpx | e07d6e0c9185c38a.m4s ━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━ 100.0% • 422.4/422.4 kB
httpx | 536adc8f9aa930f0.m4s ━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━ 100.0% • 1.3/1.3 MB 08-25 16:02:51 [ERROR] nonebot_plugin_parser | task(download_video | https://aweme.snssdk.com/aweme/v1/play/?video_id=v2700fgi0000da6ep5vog65v5up9t2tg&ratio=1080p&line=0) failed
Traceback (most recent call last):
File "<frozen runpy>", line 198, in _run_module_as_main
File "<frozen runpy>", line 88, in _run_code
File "C:\Users\Administrator\Documents\zhenxun_bot-main\zhenxun\cli.py", line 412, in <module>
main()
File "C:\Users\Administrator\Documents\zhenxun_bot-main\zhenxun\cli.py", line 400, in main
_run_worker()
File "C:\Users\Administrator\Documents\zhenxun_bot-main\zhenxun\cli.py", line 242, in _run_worker
nonebot.run(timeout_graceful_shutdown=GRACEFUL_SHUTDOWN_TIMEOUT)
File "C:\Users\Administrator\Documents\zhenxun_bot-main\.venv\Lib\site-packages\nonebot\__init__.py", line 337, in run
get_driver().run(*args, **kwargs)
File "C:\Users\Administrator\Documents\zhenxun_bot-main\.venv\Lib\site-packages\nonebot\drivers\fastapi.py", line 187, in run
uvicorn.run(
File "C:\Users\Administrator\Documents\zhenxun_bot-main\.venv\Lib\site-packages\uvicorn\main.py", line 606, in run
server.run()
File "C:\Users\Administrator\Documents\zhenxun_bot-main\.venv\Lib\site-packages\uvicorn\server.py", line 75, in run
return asyncio_run(self.serve(sockets=sockets), loop_factory=self.config.get_loop_factory())
File "C:\Users\Administrator\Documents\zhenxun_bot-main\.venv\Lib\site-packages\uvicorn\_compat.py", line 30, in asyncio_run
return runner.run(main)
File "C:\ProgramData\miniconda3\envs\zhenxun2\Lib\asyncio\runners.py", line 118, in run
return self._loop.run_until_complete(task)
File "C:\ProgramData\miniconda3\envs\zhenxun2\Lib\asyncio\base_events.py", line 637, in run_until_complete
self.run_forever()
File "C:\ProgramData\miniconda3\envs\zhenxun2\Lib\asyncio\windows_events.py", line 321, in run_forever
super().run_forever()
File "C:\ProgramData\miniconda3\envs\zhenxun2\Lib\asyncio\base_events.py", line 604, in run_forever
self._run_once()
File "C:\ProgramData\miniconda3\envs\zhenxun2\Lib\asyncio\base_events.py", line 1909, in _run_once
handle._run()
File "C:\ProgramData\miniconda3\envs\zhenxun2\Lib\asyncio\events.py", line 80, in _run
self._context.run(self._callback, *self._args)
File "C:\Users\Administrator\Documents\zhenxun_bot-main\zhenxun\builtin_plugins\hooks\auth_event_selector.py", line 71, in _run_matcher_with_deadline
await coro
File "C:\Users\Administrator\Documents\zhenxun_bot-main\zhenxun\builtin_plugins\hooks\auth_checker.py", line 817, in _run_selected_matcher
await nb_message.check_and_run_matcher(
File "C:\Users\Administrator\Documents\zhenxun_bot-main\.venv\Lib\site-packages\nonebot\message.py", line 509, in check_and_run_matcher
await _run_matcher(
File "C:\Users\Administrator\Documents\zhenxun_bot-main\.venv\Lib\site-packages\nonebot\message.py", line 461, in _run_matcher
await matcher.run(bot, event, state, stack, dependency_cache)
File "C:\Users\Administrator\Documents\zhenxun_bot-main\.venv\Lib\site-packages\nonebot\internal\matcher\matcher.py", line 916, in run
await self.simple_run(bot, event, state, stack, dependency_cache)
File "C:\Users\Administrator\Documents\zhenxun_bot-main\.venv\Lib\site-packages\nonebot\internal\matcher\matcher.py", line 855, in simple_run
await handler(
File "C:\Users\Administrator\Documents\zhenxun_bot-main\.venv\Lib\site-packages\nonebot\dependencies\__init__.py", line 113, in __call__
return await cast(Callable[..., Awaitable[R]], self.call)(**values)
File "C:\Users\Administrator\Documents\zhenxun_bot-main\zhenxun\plugins\nonebot_plugin_parser\helper.py", line 155, in wrapper
result = await func(*args, **kwargs)
File "C:\Users\Administrator\Documents\zhenxun_bot-main\zhenxun\plugins\nonebot_plugin_parser\matchers\__init__.py", line 82, in parser_handler
async for message in renderer.render_messages():
File "C:\Users\Administrator\Documents\zhenxun_bot-main\zhenxun\plugins\nonebot_plugin_parser\renders\base.py", line 119, in render_messages
async for message in self.render_contents():
File "C:\Users\Administrator\Documents\zhenxun_bot-main\zhenxun\plugins\nonebot_plugin_parser\renders\base.py", line 50, in render_contents
path = await cont.path_task.safe_get(on_error)
> File "C:\Users\Administrator\Documents\zhenxun_bot-main\zhenxun\plugins\nonebot_plugin_parser\parsers\task.py", line 36, in safe_get
return await self.get()
File "C:\Users\Administrator\Documents\zhenxun_bot-main\zhenxun\plugins\nonebot_plugin_parser\parsers\task.py", line 28, in get
self._path = await self._task
File "C:\Users\Administrator\Documents\zhenxun_bot-main\zhenxun\plugins\nonebot_plugin_parser\download\__init__.py", line 148, in download_video
return await self._download_file(
File "C:\Users\Administrator\Documents\zhenxun_bot-main\zhenxun\plugins\nonebot_plugin_parser\download\__init__.py", line 123, in _download_file
path = await self._download_file_with_httpx(
File "C:\ProgramData\miniconda3\envs\zhenxun2\Lib\contextlib.py", line 222, in __aexit__
await self.gen.athrow(typ, value, traceback)
File "C:\Users\Administrator\Documents\zhenxun_bot-main\.venv\Lib\site-packages\httpx\_client.py", line 1590, in stream
yield response
File "C:\Users\Administrator\Documents\zhenxun_bot-main\zhenxun\plugins\nonebot_plugin_parser\download\__init__.py", line 64, in _download_file_with_httpx
with progress_bar:
File "C:\Users\Administrator\Documents\zhenxun_bot-main\.venv\Lib\site-packages\rich\progress.py", line 1181, in __enter__
self.start()
File "C:\Users\Administrator\Documents\zhenxun_bot-main\.venv\Lib\site-packages\rich\progress.py", line 1171, in start
self.live.start(refresh=True)
File "C:\Users\Administrator\Documents\zhenxun_bot-main\.venv\Lib\site-packages\rich\live.py", line 133, in start
self.refresh()
File "C:\Users\Administrator\Documents\zhenxun_bot-main\.venv\Lib\site-packages\rich\live.py", line 250, in refresh
self.console._live_stack[0].refresh()
File "C:\Users\Administrator\Documents\zhenxun_bot-main\.venv\Lib\site-packages\rich\live.py", line 250, in refresh
self.console._live_stack[0].refresh()
File "C:\Users\Administrator\Documents\zhenxun_bot-main\.venv\Lib\site-packages\rich\live.py", line 250, in refresh
self.console._live_stack[0].refresh()
[Previous line repeated 956 more times]
File "C:\Users\Administrator\Documents\zhenxun_bot-main\.venv\Lib\site-packages\rich\live.py", line 247, in refresh
self._live_render.set_renderable(self.renderable)
File "C:\Users\Administrator\Documents\zhenxun_bot-main\.venv\Lib\site-packages\rich\live.py", line 225, in renderable
renderable = Group(*[live.get_renderable() for live in live_stack])
File "C:\Users\Administrator\Documents\zhenxun_bot-main\.venv\Lib\site-packages\rich\live.py", line 225, in <listcomp>
renderable = Group(*[live.get_renderable() for live in live_stack])
File "C:\Users\Administrator\Documents\zhenxun_bot-main\.venv\Lib\site-packages\rich\live.py", line 105, in get_renderable
self._get_renderable()
File "C:\Users\Administrator\Documents\zhenxun_bot-main\.venv\Lib\site-packages\rich\progress.py", line 1554, in get_renderable
renderable = Group(*self.get_renderables())
File "C:\Users\Administrator\Documents\zhenxun_bot-main\.venv\Lib\site-packages\rich\progress.py", line 1559, in get_renderables
table = self.make_tasks_table(self.tasks)
File "C:\Users\Administrator\Documents\zhenxun_bot-main\.venv\Lib\site-packages\rich\progress.py", line 1583, in make_tasks_table
table.add_row(
File "C:\Users\Administrator\Documents\zhenxun_bot-main\.venv\Lib\site-packages\rich\progress.py", line 1588, in <genexpr>
else column(task)
File "C:\Users\Administrator\Documents\zhenxun_bot-main\.venv\Lib\site-packages\rich\progress.py", line 540, in __call__
renderable = self.render(task)
File "C:\Users\Administrator\Documents\zhenxun_bot-main\.venv\Lib\site-packages\rich\progress.py", line 638, in render
text = Text.from_markup(_text, style=self.style, justify=self.justify)
File "C:\Users\Administrator\Documents\zhenxun_bot-main\.venv\Lib\site-packages\rich\text.py", line 287, in from_markup
rendered_text = render(text, style, emoji=emoji, emoji_variant=emoji_variant)
File "C:\Users\Administrator\Documents\zhenxun_bot-main\.venv\Lib\site-packages\rich\markup.py", line 133, in render
text = Text(style=style)
File "C:\Users\Administrator\Documents\zhenxun_bot-main\.venv\Lib\site-packages\rich\text.py", line 156, in __init__
sanitized_text = strip_control_codes(text)
File "C:\Users\Administrator\Documents\zhenxun_bot-main\.venv\Lib\site-packages\rich\control.py", line 192, in strip_control_codes
return text.translate(_translate_table)
RecursionError: maximum recursion depth exceeded while calling a Python object
08-25 16:02:52 [INFO] nonebot | Matcher(type='message', module=zhenxun.plugins.nonebot_plugin_parser.matchers, lineno=51) running complete
08-25 16:02:52 [ERROR] nonebot | Running Matcher(type='message', module=zhenxun.plugins.nonebot_plugin_parser.matchers, lineno=51) failed.
Traceback (most recent call last):
File "<frozen runpy>", line 198, in _run_module_as_main
File "<frozen runpy>", line 88, in _run_code
File "C:\Users\Administrator\Documents\zhenxun_bot-main\zhenxun\cli.py", line 412, in <module>
main()
File "C:\Users\Administrator\Documents\zhenxun_bot-main\zhenxun\cli.py", line 400, in main
_run_worker()
File "C:\Users\Administrator\Documents\zhenxun_bot-main\zhenxun\cli.py", line 242, in _run_worker
nonebot.run(timeout_graceful_shutdown=GRACEFUL_SHUTDOWN_TIMEOUT)
File "C:\Users\Administrator\Documents\zhenxun_bot-main\.venv\Lib\site-packages\nonebot\__init__.py", line 337, in run
get_driver().run(*args, **kwargs)
File "C:\Users\Administrator\Documents\zhenxun_bot-main\.venv\Lib\site-packages\nonebot\drivers\fastapi.py", line 187, in run
uvicorn.run(
File "C:\Users\Administrator\Documents\zhenxun_bot-main\.venv\Lib\site-packages\uvicorn\main.py", line 606, in run
server.run()
File "C:\Users\Administrator\Documents\zhenxun_bot-main\.venv\Lib\site-packages\uvicorn\server.py", line 75, in run
return asyncio_run(self.serve(sockets=sockets), loop_factory=self.config.get_loop_factory())
File "C:\Users\Administrator\Documents\zhenxun_bot-main\.venv\Lib\site-packages\uvicorn\_compat.py", line 30, in asyncio_run
return runner.run(main)
File "C:\ProgramData\miniconda3\envs\zhenxun2\Lib\asyncio\runners.py", line 118, in run
return self._loop.run_until_complete(task)
File "C:\ProgramData\miniconda3\envs\zhenxun2\Lib\asyncio\base_events.py", line 637, in run_until_complete
self.run_forever()
File "C:\ProgramData\miniconda3\envs\zhenxun2\Lib\asyncio\windows_events.py", line 321, in run_forever
super().run_forever()
File "C:\ProgramData\miniconda3\envs\zhenxun2\Lib\asyncio\base_events.py", line 604, in run_forever
self._run_once()
File "C:\ProgramData\miniconda3\envs\zhenxun2\Lib\asyncio\base_events.py", line 1909, in _run_once
handle._run()
File "C:\ProgramData\miniconda3\envs\zhenxun2\Lib\asyncio\events.py", line 80, in _run
self._context.run(self._callback, *self._args)
File "C:\Users\Administrator\Documents\zhenxun_bot-main\zhenxun\builtin_plugins\hooks\auth_event_selector.py", line 71, in _run_matcher_with_deadline
await coro
File "C:\Users\Administrator\Documents\zhenxun_bot-main\zhenxun\builtin_plugins\hooks\auth_checker.py", line 817, in _run_selected_matcher
await nb_message.check_and_run_matcher(
File "C:\Users\Administrator\Documents\zhenxun_bot-main\.venv\Lib\site-packages\nonebot\message.py", line 509, in check_and_run_matcher
await _run_matcher(
> File "C:\Users\Administrator\Documents\zhenxun_bot-main\.venv\Lib\site-packages\nonebot\message.py", line 461, in _run_matcher
await matcher.run(bot, event, state, stack, dependency_cache)
File "C:\Users\Administrator\Documents\zhenxun_bot-main\.venv\Lib\site-packages\nonebot\internal\matcher\matcher.py", line 916, in run
await self.simple_run(bot, event, state, stack, dependency_cache)
File "C:\Users\Administrator\Documents\zhenxun_bot-main\.venv\Lib\site-packages\nonebot\internal\matcher\matcher.py", line 855, in simple_run
await handler(
File "C:\Users\Administrator\Documents\zhenxun_bot-main\.venv\Lib\site-packages\nonebot\dependencies\__init__.py", line 113, in __call__
return await cast(Callable[..., Awaitable[R]], self.call)(**values)
File "C:\Users\Administrator\Documents\zhenxun_bot-main\zhenxun\plugins\nonebot_plugin_parser\helper.py", line 155, in wrapper
result = await func(*args, **kwargs)
File "C:\Users\Administrator\Documents\zhenxun_bot-main\zhenxun\plugins\nonebot_plugin_parser\matchers\__init__.py", line 82, in parser_handler
async for message in renderer.render_messages():
File "C:\Users\Administrator\Documents\zhenxun_bot-main\zhenxun\plugins\nonebot_plugin_parser\renders\base.py", line 119, in render_messages
async for message in self.render_contents():
File "C:\Users\Administrator\Documents\zhenxun_bot-main\zhenxun\plugins\nonebot_plugin_parser\renders\base.py", line 93, in render_contents
raise DownloadException(message)
zhenxun.plugins.nonebot_plugin_parser.exception.DownloadException: 1 项媒体下载失败
描述问题
如题,大概是bot运行一段时间之后就会解析抖音报错,重启之后又恢复正常
复现步骤
期望的结果
No response
截图或日志
如题,重启前发送抖音分享的log:
重启bot后发送分享链接后的log: