You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
01-27 15:21:55 [ERROR] apscheduler | Job "Scheduler.exec_fetch (trigger: interval[0:00:03], next run at: 2025-01-27 15:21:58 CST)" raised an exception
Traceback (most recent call last):
File "<string>", line 17, in<module>
File "/mnt/Disk1/NoneBot/OnlyJz/.venv/lib/python3.10/site-packages/nonebot/__init__.py", line 337, in run
get_driver().run(*args, **kwargs)
File "/mnt/Disk1/NoneBot/OnlyJz/.venv/lib/python3.10/site-packages/nonebot/drivers/fastapi.py", line 187, in run
uvicorn.run(
File "/mnt/Disk1/NoneBot/OnlyJz/.venv/lib/python3.10/site-packages/uvicorn/main.py", line 579, in run
server.run()
File "/mnt/Disk1/NoneBot/OnlyJz/.venv/lib/python3.10/site-packages/uvicorn/server.py", line 66, in run
return asyncio.run(self.serve(sockets=sockets))
File "/usr/lib/python3.10/asyncio/runners.py", line 44, in run
return loop.run_until_complete(main)
> File "/mnt/Disk1/NoneBot/OnlyJz/.venv/lib/python3.10/site-packages/apscheduler/executors/base.py", line 181, in run_coroutine_job
retval = await job.func(*job.args, **job.kwargs)
File "/mnt/Disk1/NoneBot/OnlyJz/.venv/lib/python3.10/site-packages/nonebot_bison/scheduler/scheduler.py", line 109, in exec_fetch
to_send = await platform_obj.do_fetch_new_post(SubUnit(schedulable.target, send_userinfo_list))
File "/mnt/Disk1/NoneBot/OnlyJz/.venv/lib/python3.10/site-packages/nonebot_bison/platform/platform.py", line 108, in do_fetch_new_post
return await catch_network_error(self.fetch_new_post, sub_unit) or []
File "/mnt/Disk1/NoneBot/OnlyJz/.venv/lib/python3.10/site-packages/nonebot_bison/platform/platform.py", line 53, in catch_network_error
return await func(*args, **kwargs)
File "/mnt/Disk1/NoneBot/OnlyJz/.venv/lib/python3.10/site-packages/nonebot_bison/platform/platform.py", line 342, in fetch_new_post
post_list = await self.get_sub_list(sub_unit.sub_target)
File "/mnt/Disk1/NoneBot/OnlyJz/.venv/lib/python3.10/site-packages/nonebot_bison/platform/weibo.py", line 81, in get_sub_list
client = await self.ctx.get_client()
File "/mnt/Disk1/NoneBot/OnlyJz/.venv/lib/python3.10/site-packages/nonebot_bison/utils/context.py", line 52, in get_client
client = await self._client_mgr.get_client(target)
File "/mnt/Disk1/NoneBot/OnlyJz/.venv/lib/python3.10/site-packages/nonebot_bison/utils/site.py", line 26, in get_client
returnhttp_client()
File "/mnt/Disk1/NoneBot/OnlyJz/.venv/lib/python3.10/site-packages/nonebot_bison/utils/http.py", line 18, in http_client
return httpx.AsyncClient(*args, **kwargs, **http_args)
TypeError: ("AsyncClient.__init__() got an unexpected keyword argument 'proxies'", [])
确认
我搜索过了 issue,但是并没有发现过与我类似的问题
我确认在日志中去掉了敏感信息
The text was updated successfully, but these errors were encountered:
nonebot-bison 版本
0.9.5
nonebot 版本
2.4.1
安装方式
通过 nb-cli 安装
操作系统
ubuntu
问题
启动后apscheduler报错,无法推送
日志
确认
The text was updated successfully, but these errors were encountered: