plugin langgenius/agent:0.0.21 exited with error: exit status 1 #472

Closed
opened 2026-02-16 10:19:30 -05:00 by yindo · 0 comments
Owner

Originally created by @hbprotoss on GitHub (Jul 23, 2025).

Self Checks

  • This is only for bug report, if you would like to ask a question, please head to Discussions.
  • I have searched for existing issues Dify issues & Dify Official Plugins, including closed ones.
  • I confirm that I am using English to submit this report (我已阅读并同意 Language Policy).
  • [FOR CHINESE USERS] 请务必使用英文提交 Issue,否则会被关闭。谢谢!:)
  • Please do not modify this template :) and fill in all the required fields.

Dify version

1.7.0

Plugin version

0.0.21

Cloud or Self Hosted

Self Hosted (Docker)

Steps to reproduce

install plugin

✔️ Error log

plugin_daemon-1 | 2025/07/24 02:25:43 run.go:135: [ERROR]plugin langgenius/agent:0.0.21 exited with error: exit status 1
plugin_daemon-1 | y_plugin/core/utils/class_loader.py", line 34, in import_module_from_source
plugin_daemon-1 |
plugin_daemon-1 | raise e
plugin_daemon-1 |
plugin_daemon-1 | File "/app/storage/cwd/langgenius/agent-0.0.21@74345c311f27b01bb49d8ccd3dcf78c18773a6ca16bf6c561f999b9dae47a55e/.venv/lib/python3.12/site-packages/dify_plugin/core/utils/class_loader.py", line 31, in import_module_from_source
plugin_daemon-1 |
plugin_daemon-1 | spec.loader.exec_module(module)
plugin_daemon-1 |
plugin_daemon-1 | File "", line 995, in exec_module
plugin_daemon-1 | File "", line 488, in _call_with_frames_removed
plugin_daemon-1 |
plugin_daemon-1 | File "/app/storage/cwd/langgenius/agent-0.0.21@74345c311f27b01bb49d8ccd3dcf78c18773a6ca16bf6c561f999b9dae47a55e/strategies/function_calling.py", line 23, in
plugin_daemon-1 |
plugin_daemon-1 | from dify_plugin.entities.tool import LogMetadata, ToolInvokeMessage, ToolProviderType
plugin_daemon-1 |
plugin_daemon-1 | ImportError: cannot import name 'LogMetadata' from 'dify_plugin.entities.tool' (/app/storage/cwd/langgenius/agent-0.0.21@74345c311f27b01bb49d8ccd3dcf78c18773a6ca16bf6c561f999b9dae47a55e/.venv/lib/python3.12/site-packages/dify_plugin/entities/tool.py)
plugin_daemon-1 |
plugin_daemon-1 |
plugin_daemon-1 |
plugin_daemon-1 | 2025/07/24 02:25:43 run.go:185: [INFO]plugin langgenius/agent:0.0.21 stopped

Originally created by @hbprotoss on GitHub (Jul 23, 2025). ### Self Checks - [x] This is only for bug report, if you would like to ask a question, please head to [Discussions](https://github.com/langgenius/dify/discussions/categories/general). - [x] I have searched for existing issues [Dify issues](https://github.com/langgenius/dify/issues) & [Dify Official Plugins](https://github.com/langgenius/dify-official-plugins/issues), including closed ones. - [x] I confirm that I am using English to submit this report (我已阅读并同意 [Language Policy](https://github.com/langgenius/dify/issues/1542)). - [x] [FOR CHINESE USERS] 请务必使用英文提交 Issue,否则会被关闭。谢谢!:) - [x] Please do not modify this template :) and fill in all the required fields. ### Dify version 1.7.0 ### Plugin version 0.0.21 ### Cloud or Self Hosted Self Hosted (Docker) ### Steps to reproduce install plugin ### ✔️ Error log plugin_daemon-1 | 2025/07/24 02:25:43 run.go:135: [ERROR]plugin langgenius/agent:0.0.21 exited with error: exit status 1 plugin_daemon-1 | y_plugin/core/utils/class_loader.py", line 34, in import_module_from_source plugin_daemon-1 | plugin_daemon-1 | raise e plugin_daemon-1 | plugin_daemon-1 | File "/app/storage/cwd/langgenius/agent-0.0.21@74345c311f27b01bb49d8ccd3dcf78c18773a6ca16bf6c561f999b9dae47a55e/.venv/lib/python3.12/site-packages/dify_plugin/core/utils/class_loader.py", line 31, in import_module_from_source plugin_daemon-1 | plugin_daemon-1 | spec.loader.exec_module(module) plugin_daemon-1 | plugin_daemon-1 | File "<frozen importlib._bootstrap_external>", line 995, in exec_module plugin_daemon-1 | File "<frozen importlib._bootstrap>", line 488, in _call_with_frames_removed plugin_daemon-1 | plugin_daemon-1 | File "/app/storage/cwd/langgenius/agent-0.0.21@74345c311f27b01bb49d8ccd3dcf78c18773a6ca16bf6c561f999b9dae47a55e/strategies/function_calling.py", line 23, in <module> plugin_daemon-1 | plugin_daemon-1 | from dify_plugin.entities.tool import LogMetadata, ToolInvokeMessage, ToolProviderType plugin_daemon-1 | plugin_daemon-1 | ImportError: cannot import name 'LogMetadata' from 'dify_plugin.entities.tool' (/app/storage/cwd/langgenius/agent-0.0.21@74345c311f27b01bb49d8ccd3dcf78c18773a6ca16bf6c561f999b9dae47a55e/.venv/lib/python3.12/site-packages/dify_plugin/entities/tool.py) plugin_daemon-1 | plugin_daemon-1 | plugin_daemon-1 | plugin_daemon-1 | 2025/07/24 02:25:43 run.go:185: [INFO]plugin langgenius/agent:0.0.21 stopped
yindo added the bug label 2026-02-16 10:19:30 -05:00
yindo closed this issue 2026-02-16 10:19:30 -05:00
Sign in to join this conversation.
1 Participants
Notifications
Due Date
No due date set.
Dependencies

No dependencies set.

Reference: langgenius/dify-official-plugins#472