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

Plugin: nonebot-plugin-suggarchat #3215

Closed
1 task
JohnRichard4096 opened this issue Dec 28, 2024 · 2 comments
Closed
1 task

Plugin: nonebot-plugin-suggarchat #3215

JohnRichard4096 opened this issue Dec 28, 2024 · 2 comments
Labels
Plugin Publish Plugin Publish Publish things to store

Comments

@JohnRichard4096
Copy link

JohnRichard4096 commented Dec 28, 2024

PyPI 项目名

nonebot-plugin-suggarchat

插件 import 包名

nonebot_plugin_suggarchat

标签

[{"label":"ChatBot","color":"#ea5252"},{"label":"聊天","color":"#ea5252"},{"label":"OpenAI","color":"#ea5252"}]

插件配置项

插件测试

  • 如需重新运行插件测试,请勾选左侧勾选框
@JohnRichard4096 JohnRichard4096 added Plugin Publish Plugin Publish Publish things to store labels Dec 28, 2024
@noneflow
Copy link
Contributor

noneflow bot commented Dec 28, 2024

📃 商店发布检查结果

Plugin: nonebot-plugin-suggarchat

⚠️ 在发布检查过程中,我们发现以下问题:

  • ⚠️ 插件加载测试未通过。
    测试输出项目 nonebot-plugin-suggarchat 创建成功。 Virtualenv Python: 3.12.8 Implementation: CPython Path: /app/plugin_test/.venv Executable: /app/plugin_test/.venv/bin/python Valid: True Base Platform: linux OS: posix Python: 3.12.8 Path: /root/.local/share/uv/python/cpython-3.12.8-linux-x86_64-gnu Executable: /root/.local/share/uv/python/cpython-3.12.8-linux-x86_64-gnu/bin/python3.12 Using version ^0.1.1 for nonebot-plugin-suggarchat Updating dependencies Resolving dependencies... Package operations: 69 installs, 0 updates, 0 removals - Installing pip (24.3.1) - Installing mdurl (0.1.2) - Installing six (1.17.0) - Installing typing-extensions (4.12.2) - Installing annotated-types (0.7.0) - Installing certifi (2024.12.14) - Installing chardet (5.2.0) - Installing charset-normalizer (3.4.1) - Installing h11 (0.14.0) - Installing idna (3.10) - Installing markdown-it-py (3.0.0) - Installing markupsafe (3.0.2) - Installing multidict (6.1.0) - Installing propcache (0.2.1) - Installing pydantic-core (2.27.2) - Installing pygments (2.18.0) - Installing python-dateutil (2.9.0.post0) - Installing sniffio (1.3.1) - Installing text-unidecode (1.3) - Installing types-python-dateutil (2.9.0.20241206) - Installing urllib3 (2.3.0) - Installing wcwidth (0.2.13) - Installing anyio (4.7.0) - Installing distlib (0.3.9) - Installing arrow (1.3.0) - Installing exceptiongroup (1.2.2) - Installing binaryornot (0.4.4) - Installing filelock (3.16.1) - Installing click (8.1.8) - Installing httpcore (1.0.7) - Installing jinja2 (3.1.5) - Installing loguru (0.7.3) - Installing platformdirs (4.3.6) - Installing prompt-toolkit (3.0.48) - Installing pydantic (2.10.4) - Installing pygtrie (2.5.0) - Installing python-dotenv (1.0.1) - Installing python-slugify (8.0.4) - Installing pyyaml (6.0.2) - Installing requests (2.32.3) - Installing rich (13.9.4) - Installing setuptools (75.6.0) - Installing yarl (1.18.3) - Installing cashews (7.4.0) - Installing httpx (0.28.1) - Installing cookiecutter (2.6.0) - Installing jiter (0.8.2) - Installing distro (1.9.0) - Installing nonebot2 (2.4.1) - Installing httptools (0.6.4) - Installing noneprompt (0.1.9) - Installing pyfiglet (1.0.2) - Installing pytz (2024.2) - Installing starlette (0.41.3) - Installing tomlkit (0.13.2) - Installing tqdm (4.67.1) - Installing uvloop (0.21.0) - Installing virtualenv (20.28.0) - Installing watchfiles (0.24.0) - Installing websockets (14.1) - Installing zope-interface (7.2) - Installing datetime (5.5) - Installing nb-cli (1.4.2) - Installing fastapi (0.115.6) - Installing nonebot-plugin-waiter (0.8.0) - Installing openai (1.58.1) - Installing uvicorn (0.34.0) - Installing psutil (6.1.1) - Installing nonebot-plugin-suggarchat (0.1.1) Writing lock file 插件 nonebot-plugin-suggarchat 依赖的插件如下: nonebot_plugin_waiter 插件 nonebot-plugin-suggarchat 的信息如下: name : nonebot-plugin-suggarchat version : 0.1.1 description : Plugin for the Suggar chat framework compatible with Nonebot2. dependencies - datetime * - fastapi >=0.110.2 - loguru >=0.7.2 - nb-cli >=1.4.2 - nonebot-plugin-waiter >=0.6.0 - nonebot2 * - openai * - pip >=24.3.1 - psutil * - pyyaml * - uvicorn >=0.28.1 插件 nonebot_plugin_suggarchat 加载出错: 12-29 11:18:26 [SUCCESS] nonebot | NoneBot is initializing... 12-29 11:18:26 [INFO] nonebot | Current Env: prod 12-29 11:18:26 [ERROR] nonebot | Failed to import "nonebot_plugin_suggarchat" Traceback (most recent call last): File "/app/plugin_test/runner.py", line 15, in <module> plugin = load_plugin("nonebot_plugin_suggarchat") File "/app/plugin_test/.venv/lib/python3.12/site-packages/nonebot/plugin/load.py", line 42, in load_plugin return manager.load_plugin(module_path) > File "/app/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 "/root/.local/share/uv/python/cpython-3.12.8-linux-x86_64-gnu/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 "/app/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 999, in exec_module File "<frozen importlib._bootstrap>", line 488, in _call_with_frames_removed File "/app/plugin_test/.venv/lib/python3.12/site-packages/nonebot_plugin_suggarchat/__init__.py", line 5, in <module> from .resources import * File "/app/plugin_test/.venv/lib/python3.12/site-packages/nonebot_plugin_suggarchat/resources.py", line 6, in <module> from nonebot.adapters.onebot.v11 import PrivateMessageEvent,GroupMessageEvent,MessageEvent ModuleNotFoundError: No module named 'nonebot.adapters.onebot'
  • 详情
  • ✅ 项目 nonebot-plugin-suggarchat 已发布至 PyPI。
  • ✅ 标签: ChatBot-#ea5252, 聊天-#ea5252, OpenAI-#ea5252。
  • ✅ 版本号: 0.1.1。
  • ✅ 发布时间:2024-12-29 10:47:52 CST。

  • 💡 如需修改信息,请直接修改 issue,机器人会自动更新检查结果。
    💡 当插件加载测试失败时,请发布新版本后勾选插件测试勾选框重新运行插件测试。

    ♻️ 评论已更新至最新检查结果

    💪 Powered by NoneFlow

    @yanyongyu
    Copy link
    Member

    插件加载测试未通过,缺少ob适配器依赖

    @yanyongyu yanyongyu closed this as not planned Won't fix, can't repro, duplicate, stale Dec 29, 2024
    Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
    Labels
    Plugin Publish Plugin Publish Publish things to store
    Development

    No branches or pull requests

    2 participants