Open he0119 opened 2 hours ago
Plugin: nonebot-plugin-treehelp
⚠️ 在发布检查过程中,我们发现以下问题:
⚠️ 插件加载测试未通过。测试输出
项目 nonebot-plugin-treehelp 创建成功。
Virtualenv
Python: 3.12.7
Implementation: CPython
Path: NA
Executable: NA
Base
Platform: linux
OS: posix
Python: 3.12.7
Path: /usr/local
Executable: /usr/local/bin/python3.12
Using version ^0.5.0 for nonebot-plugin-treehelp
Updating dependencies
Resolving dependencies...
Package operations: 16 installs, 0 updates, 0 removals
- Installing typing-extensions (4.12.2)
- Installing annotated-types (0.7.0)
- Installing idna (3.10)
- Installing multidict (6.1.0)
- Installing propcache (0.2.1)
- Installing pydantic-core (2.27.1)
- Installing sniffio (1.3.1)
- Installing anyio (4.6.2.post1)
- Installing exceptiongroup (1.2.2)
- Installing loguru (0.7.2)
- Installing pydantic (2.10.2)
- Installing pygtrie (2.5.0)
- Installing yarl (1.18.3)
- Installing python-dotenv (1.0.1)
- Installing nonebot2 (2.4.0)
- Installing nonebot-plugin-treehelp (0.5.0)
Writing lock file
插件 nonebot-plugin-treehelp 依赖的插件如下:
插件 nonebot-plugin-treehelp 的信息如下:
name : nonebot-plugin-treehelp
version : 0.5.0
description : 适用于 Nonebot2 的树形帮助插件
dependencies
- nonebot2 >=2.2.0
插件 nonebot_plugin_treehelp 加载出错:
12-02 09:18:38 [SUCCESS] nonebot | NoneBot is initializing...
12-02 09:18:38 [INFO] nonebot | Current Env: prod
12-02 09:18:38 [ERROR] nonebot | Failed to import "nonebot_plugin_treehelp"
Traceback (most recent call last):
File "/tmp/plugin_test/runner.py", line 15, in <module>
plugin = load_plugin("nonebot_plugin_treehelp")
File "/tmp/plugin_test/.venv/lib/python3.12/site-packages/nonebot/plugin/load.py", line 42, in load_plugin
return manager.load_plugin(module_path)
> File "/tmp/plugin_test/.venv/lib/python3.12/site-packages/nonebot/plugin/manager.py", line 169, in load_plugin
module = importlib.import_module(self._third_party_plugin_ids[name])
File "/usr/local/lib/python3.12/importlib/__init__.py", line 90, in import_module
return _bootstrap._gcd_import(name[level:], package, level)
File "<frozen importlib._bootstrap>", line 1387, in _gcd_import
File "<frozen importlib._bootstrap>", line 1360, in _find_and_load
File "<frozen importlib._bootstrap>", line 1331, in _find_and_load_unlocked
File "<frozen importlib._bootstrap>", line 935, in _load_unlocked
File "/tmp/plugin_test/.venv/lib/python3.12/site-packages/nonebot/plugin/manager.py", line 257, in exec_module
super().exec_module(module)
File "<frozen importlib._bootstrap_external>", line 995, in exec_module
File "<frozen importlib._bootstrap>", line 488, in _call_with_frames_removed
File "/tmp/plugin_test/.venv/lib/python3.12/site-packages/nonebot_plugin_treehelp/__init__.py", line 13, in <module>
from .config import Config
File "/tmp/plugin_test/.venv/lib/python3.12/site-packages/nonebot_plugin_treehelp/config.py", line 12, in <module>
plugin_config = get_plugin_config(Config)
File "/tmp/plugin_test/.venv/lib/python3.12/site-packages/nonebot/plugin/__init__.py", line 175, in get_plugin_config
return type_validate_python(config, model_dump(get_driver().config))
File "/tmp/plugin_test/.venv/lib/python3.12/site-packages/nonebot/compat.py", line 227, in type_validate_python
return TypeAdapter(type_).validate_python(data)
File "/tmp/plugin_test/.venv/lib/python3.12/site-packages/pydantic/type_adapter.py", line 412, in validate_python
return self.validator.validate_python(
pydantic_core._pydantic_core.ValidationError: 1 validation error for Config
treehelp_ignored_plugins
Input should be a valid list [type=list_type, input_value='[,]', input_type=str]
For further information visit https://errors.pydantic.dev/2.10/v/list_type
✅ 项目 nonebot-plugin-treehelp 已发布至 PyPI。 ✅ 插件发布时间:2024-07-13 04:41:40。 ✅ 插件版本号: 0.5.0。
💡 如需修改信息,请直接修改 issue,机器人会自动更新检查结果。 💡 当插件加载测试失败时,请发布新版本后勾选插件测试勾选框重新运行插件测试。
♻️ 评论已更新至最新检查结果
💪 Powered by NoneFlow
PyPI 项目名
nonebot-plugin-treehelp
插件 import 包名
nonebot_plugin_treehelp
插件配置项
插件测试