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-07 07:30:00 [ERROR] apscheduler | Job "auto_WeiboSign (trigger: cron[hour='7', minute='30'], next run at: 2025-01-08 07:30:00 CST)" raised an exception Traceback (most recent call last): File "<string>", line 15, in <module> File "/root/mysbot2/.venv/lib/python3.11/site-packages/nonebot/__init__.py", line 334, in run get_driver().run(*args, **kwargs) File "/root/mysbot2/.venv/lib/python3.11/site-packages/nonebot/drivers/fastapi.py", line 186, in run uvicorn.run( File "/root/mysbot2/.venv/lib/python3.11/site-packages/uvicorn/main.py", line 575, in run server.run() File "/root/mysbot2/.venv/lib/python3.11/site-packages/uvicorn/server.py", line 62, in run return asyncio.run(self.serve(sockets=sockets)) File "/usr/lib/python3.11/asyncio/runners.py", line 190, in run return runner.run(main) File "/usr/lib/python3.11/asyncio/runners.py", line 118, in run return self._loop.run_until_complete(task) File "/root/mysbot2/.venv/lib/python3.11/site-packages/apscheduler/executors/base_py3.py", line 30, in run_coroutine_job retval = await job.func(*job.args, **job.kwargs) File "/root/mysbot2/plugins/nonebot_plugin_wbtool/__init__.py", line 142, in auto_WeiboSign users_data = Tool.get_data() AttributeError: type object 'Tool' has no attribute 'get_data'
每日自动运行出错,不清楚是不是我插件用的不对,但是手动正常
The text was updated successfully, but these errors were encountered:
01-07 07:30:00 [ERROR] apscheduler | Job "auto_WeiboSign (trigger: cron[hour='7', minute='30'], next run at: 2025-01-08 07:30:00 CST)" raised an exception Traceback (most recent call last): File "<string>", line 15, in <module> File "/root/mysbot2/.venv/lib/python3.11/site-packages/nonebot/__init__.py", line 334, in run get_driver().run(*args, **kwargs) File "/root/mysbot2/.venv/lib/python3.11/site-packages/nonebot/drivers/fastapi.py", line 186, in run uvicorn.run( File "/root/mysbot2/.venv/lib/python3.11/site-packages/uvicorn/main.py", line 575, in run server.run() File "/root/mysbot2/.venv/lib/python3.11/site-packages/uvicorn/server.py", line 62, in run return asyncio.run(self.serve(sockets=sockets)) File "/usr/lib/python3.11/asyncio/runners.py", line 190, in run return runner.run(main) File "/usr/lib/python3.11/asyncio/runners.py", line 118, in run return self._loop.run_until_complete(task) File "/root/mysbot2/.venv/lib/python3.11/site-packages/apscheduler/executors/base_py3.py", line 30, in run_coroutine_job retval = await job.func(*job.args, **job.kwargs) File "/root/mysbot2/plugins/nonebot_plugin_wbtool/__init__.py", line 142, in auto_WeiboSign users_data = Tool.get_data() AttributeError: type object 'Tool' has no attribute 'get_data'
每日自动运行出错,不清楚是不是我插件用的不对,但是手动正常
The text was updated successfully, but these errors were encountered: