Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

每日运行报错, #1

Open
Sakamakiiizayoi opened this issue Jan 7, 2025 · 0 comments
Open

每日运行报错, #1

Sakamakiiizayoi opened this issue Jan 7, 2025 · 0 comments

Comments

@Sakamakiiizayoi
Copy link

Sakamakiiizayoi commented Jan 7, 2025

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'

每日自动运行出错,不清楚是不是我插件用的不对,但是手动正常

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant