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: 漂流瓶 #2860

Closed
luosheng520qaq opened this issue Aug 7, 2024 · 12 comments · Fixed by #2861
Closed

Plugin: 漂流瓶 #2860

luosheng520qaq opened this issue Aug 7, 2024 · 12 comments · Fixed by #2861
Labels
Plugin Publish Plugin

Comments

@luosheng520qaq
Copy link
Contributor

luosheng520qaq commented Aug 7, 2024

PyPI 项目名

nonebot-plugin-web-bottle

插件 import 包名

nonebot_plugin_web_bottle

标签

[{"label":"漂流瓶","color":"#689dd0"},{"label":"审核","color":"#e3567b"}]

插件配置项

DRIVER=~fastapi
@luosheng520qaq luosheng520qaq added the Plugin Publish Plugin label Aug 7, 2024
@noneflow
Copy link
Contributor

noneflow bot commented Aug 7, 2024

📃 商店发布检查结果

Plugin: 漂流瓶

✅ 所有测试通过,一切准备就绪!

详情
  • ✅ 项目 nonebot-plugin-web-bottle 已发布至 PyPI。
  • ✅ 项目 主页 返回状态码 200。
  • ✅ 标签: 漂流瓶-#689dd0, 审核-#e3567b。
  • ✅ 插件类型: application。
  • ✅ 插件支持的适配器: nonebot.adapters.onebot.v11。
  • ✅ 插件 加载测试 通过。

  • 💡 如需修改信息,请直接修改 issue,机器人会自动更新检查结果。
    💡 当插件加载测试失败时,请发布新版本后在当前页面下评论任意内容以触发测试。

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

    💪 Powered by NoneFlow

    @luosheng520qaq
    Copy link
    Contributor Author

    已修改

    @bingqiu456
    Copy link
    Contributor

    已修改

    🥰

    @luosheng520qaq
    Copy link
    Contributor Author

    3cbc1db1a578a77484ec3654f193f85b

    @luosheng520qaq
    Copy link
    Contributor Author

    📃 商店发布检查结果

    插件:nonebot-plugin-web-bottle

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

    * ⚠️ 无法获取到插件元数据。请确保插件正常加载。* ⚠️ 插件加载测试未通过。测试输出插件 nonebot-plugin-web-bottle 的信息如下:
           name         : nonebot-plugin-web-bottle 
           version      : 0.0.9                     
           description  : 有web的漂流瓶                  
          
          dependencies
           - aiofiles >=23.2.1
           - fastapi >=0.110.0
           - httpx >=0.23.0
           - nonebot_plugin_localstore >=0.7.0
           - pydantic >=1.10.11
      插件 nonebot-plugin-web-bottle 依赖的插件如下:
          nonebot_plugin_localstore
      插件 nonebot_plugin_web_bottle 加载出错:
          08-07 19:09:01 [SUCCESS] nonebot | NoneBot is initializing...
          08-07 19:09:01 [INFO] nonebot | Current Env: prod
          08-07 19:09:01 [ERROR] nonebot | Failed to import "nonebot_plugin_web_bottle"
          Traceback (most recent call last):
            File "/home/runner/work/nonebot2/nonebot2/plugin_test/nonebot-plugin-web-bottle-nonebot_plugin_web_bottle-test/runner.py", line 16, in <module>
              plugin = load_plugin("nonebot_plugin_web_bottle")
            File "/home/runner/work/nonebot2/nonebot2/plugin_test/nonebot-plugin-web-bottle-nonebot_plugin_web_bottle-test/.venv/lib/python3.12/site-packages/nonebot/plugin/load.py", line 40, in load_plugin
              return manager.load_plugin(module_path)
          > File "/home/runner/work/nonebot2/nonebot2/plugin_test/nonebot-plugin-web-bottle-nonebot_plugin_web_bottle-test/.venv/lib/python3.12/site-packages/nonebot/plugin/manager.py", line 167, in load_plugin
              module = importlib.import_module(self._third_party_plugin_ids[name])
            File "/opt/hostedtoolcache/Python/3.12.4/x64/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 "/home/runner/work/nonebot2/nonebot2/plugin_test/nonebot-plugin-web-bottle-nonebot_plugin_web_bottle-test/.venv/lib/python3.12/site-packages/nonebot/plugin/manager.py", line 255, 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 "/home/runner/work/nonebot2/nonebot2/plugin_test/nonebot-plugin-web-bottle-nonebot_plugin_web_bottle-test/.venv/lib/python3.12/site-packages/nonebot_plugin_web_bottle/__init__.py", line 3, in <module>
              from nonebot.adapters.onebot.v11 import Message, GroupMessageEvent, Bot, MessageSegment
          ModuleNotFoundError: No module named 'nonebot.adapters.onebot'
    

    详情
    💡 如需修改信息,请直接修改 issue,机器人会自动更新检查结果。 💡 当插件加载测试失败时,请发布新版本后在当前页面下评论任意内容以触发测试。

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

    💪 由 [NoneFlow](
    ba0a26283c78584a29c6f16e0d3d7409
    https://github.com/nonebot/noneflow) 提供支持

    @bingqiu456
    Copy link
    Contributor

    修改了

    @yanyongyu
    Copy link
    Member

    插件配置项写法不正确,请参考文档 配置 部分,并在元数据内添加。

    @luosheng520qaq
    Copy link
    Contributor Author

    插件配置项写法不正确,请参考文档 配置 部分,并在元数据内添加。

    已修改元数据配置项,优化设置读取

    @luosheng520qaq
    Copy link
    Contributor Author

    再次修改,修复类型注解忘了加上去这个问题()

    @luosheng520qaq
    Copy link
    Contributor Author

    再次修改,感谢大佬帮忙QwQ

    @luosheng520qaq
    Copy link
    Contributor Author

    缺失依赖已添加

    @luosheng520qaq
    Copy link
    Contributor Author

    已发版 最新的0.2.5 可能有延迟?

    noneflow bot pushed a commit that referenced this issue Aug 8, 2024
    @noneflow noneflow bot mentioned this issue Aug 8, 2024
    @noneflow noneflow bot changed the title Plugin: nonebot-plugin-web-bottle Plugin: 漂流瓶 Aug 8, 2024
    @noneflow noneflow bot closed this as completed in #2861 Aug 8, 2024
    noneflow bot pushed a commit that referenced this issue Aug 8, 2024
    Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
    Labels
    Plugin Publish Plugin
    Development

    Successfully merging a pull request may close this issue.

    3 participants