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
ImportError: cannot import name 'on_command' from 'app' (/home/runner/work/AxTBot-PluginStore/AxTBot-PluginStore/axtbot/src/app/__init__.py)
Traceback (most recent call last):
File "/home/runner/work/AxTBot-PluginStore/AxTBot-PluginStore/axtbot/../.github/scripts/verify_plugin.py", line 18, in <module>
mod = __import__(pkg)
^^^^^^^^^^^^^^^
File "/home/runner/work/AxTBot-PluginStore/AxTBot-PluginStore/axtbot/src/axtbot_plugin_cyberbook/__init__.py", line 3, in <module>
from app import on_command
ImportError: cannot import name 'on_command' from 'app' (/home/runner/work/AxTBot-PluginStore/AxTBot-PluginStore/axtbot/src/app/__init__.py)
📋 完整运行日志
点击展开完整日志
Defaulting to user installation because normal site-packages is not writeable
Requirement already satisfied: pip in /usr/lib/python3/dist-packages (24.0)
Collecting pip
Downloading pip-26.2.1-py3-none-any.whl.metadata (4.6 kB)
Downloading pip-26.2.1-py3-none-any.whl (1.8 MB)
━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━ 1.8/1.8 MB 23.7 MB/s eta 0:00:00
Installing collected packages: pip
Successfully installed pip-26.2.1
{
"name": "答案之书",
"pypi": "axtbot-plugin-cyberbook",
"repo_owner": "AxT-Team",
"repo_name": "axtbot-plugin-cyberbook",
"category": "娱乐",
"tags": "答案之书",
"description": "该插件为官方插件包之一,通过'/ask' 得到你想要的答案!",
"tags_list": [
"答案之书"
],
"author": "AxT-Team",
"repo": "https://github.com/AxT-Team/axtbot-plugin-cyberbook"
}
Cloning into 'plugin_repo'...
{
"name": "答案之书",
"version": "1.0.0",
"author": "Shanshui2024",
"description": "该插件为官方插件,通过'/ask' 得到你想要的答案",
"official": true
}
{
"name": "答案之书",
"version": "1.0.0",
"author": "AxT-Team",
"description": "该插件为官方插件包之一,通过'/ask' 得到你想要的答案!",
"pypi": "axtbot-plugin-cyberbook",
"pypi_url": "https://pypi.org/project/axtbot-plugin-cyberbook/",
"official": true,
"category": "娱乐",
"tags": [
"答案之书"
],
"homepage": "https://github.com/AxT-Team/axtbot-plugin-cyberbook",
"repo": "https://github.com/AxT-Team/axtbot-plugin-cyberbook",
"updated_at": "2026-08-07T16:22:44Z"
}
Defaulting to user installation because normal site-packages is not writeable
Collecting axtbot-plugin-cyberbook
Downloading axtbot_plugin_cyberbook-1.0.0-py3-none-any.whl.metadata (1.5 kB)
Downloading axtbot_plugin_cyberbook-1.0.0-py3-none-any.whl (3.8 kB)
Installing collected packages: axtbot-plugin-cyberbook
Successfully installed axtbot-plugin-cyberbook-1.0.0
Cloning into 'axtbot'...
{
"ok": false,
"error": "ImportError: cannot import name 'on_command' from 'app' (/home/runner/work/AxTBot-PluginStore/AxTBot-PluginStore/axtbot/src/app/__init__.py)\nTraceback (most recent call last):\n File \"/home/runner/work/AxTBot-PluginStore/AxTBot-PluginStore/axtbot/../.github/scripts/verify_plugin.py\", line 18, in <module>\n mod = __import__(pkg)\n ^^^^^^^^^^^^^^^\n File \"/home/runner/work/AxTBot-PluginStore/AxTBot-PluginStore/axtbot/src/axtbot_plugin_cyberbook/__init__.py\", line 3, in <module>\n from app import on_command\nImportError: cannot import name 'on_command' from 'app' (/home/runner/work/AxTBot-PluginStore/AxTBot-PluginStore/axtbot/src/app/__init__.py)\n"
}
Activity
github-actions commentedon Aug 7, 2026
❌ 【自动】插件验证失败
📦 插件元数据
❌ 错误信息(Traceback)
📋 完整运行日志
点击展开完整日志
🟡 等待人工审核:维护者将通过评论
/approve(批准合并)或/reject(拒绝)。Shanshui2024 commentedon Aug 7, 2026
/approve
chore(assess): 合并插件 #5
github-actions commentedon Aug 7, 2026
✅ 已人工审核通过。元数据已合入
assess/,感谢贡献!