Plugin_daemon 0.0.6 for 1.1.1 version issue: Cant' add hunyuan plugin, it continuously looping utils.py:300 errors
Self Checks
- [x] This is only for bug report, if you would like to ask a question, please head to Discussions.
- [x] I have searched for existing issues search for existing issues, including closed ones.
- [x] I confirm that I am using English to submit this report (我已阅读并同意 Language Policy).
- [x] [FOR CHINESE USERS] 请务必使用英文提交 Issue,否则会被关闭。谢谢!:)
- [x] Please do not modify this template :) and fill in all the required fields.
Dify version
1.1.1
Cloud or Self Hosted
Self Hosted (Docker)
Steps to reproduce
After upgrading the Plugin_daemon 0.0.6 and dify1.1.1 versions, there are still errors when adding models.
2025-03-20 20:16:49 2025/03/20 20:16:49 environment_python.go:287: [INFO]pre-compiling langgenius/hunyuan:0.0.4 - Compiling './.venv/lib/python3.12/site-packages/tencentcloud/vtc/v20240223/errorcodes.py'......
2025-03-20 20:16:50 2025/03/20 20:16:50 environment_python.go:287: [INFO]pre-compiling langgenius/hunyuan:0.0.4 - Compiling './.venv/lib/python3.12/site-packages/urllib3/contrib/emscripten/connection.py'......
2025-03-20 20:16:50 2025/03/20 20:16:50 environment_python.go:287: [INFO]pre-compiling langgenius/hunyuan:0.0.4 - Compiling './.venv/lib/python3.12/site-packages/yaml/scanner.py'......
2025-03-20 20:16:50 2025/03/20 20:16:50 environment_python.go:317: [WARN]failed to pre-compile the plugin: ./.venv/lib/python3.12/site-packages/pydub/utils.py:300: SyntaxWarning: invalid escape sequence '('
2025-03-20 20:16:50 m = re.match('(sup?) (([0-9]{1,2}) bit)$', token)
2025-03-20 20:16:50 ./.venv/lib/python3.12/site-packages/pydub/utils.py:301: SyntaxWarning: invalid escape sequence '('
2025-03-20 20:16:50 m2 = re.match('(sup?)( (default))?$', token)
2025-03-20 20:16:50 ./.venv/lib/python3.12/site-packages/pydub/utils.py:310: SyntaxWarning: invalid escape sequence '('
2025-03-20 20:16:50 elif re.match('(flt)p?( (default))?$', token):
2025-03-20 20:16:50 ./.venv/lib/python3.12/site-packages/pydub/utils.py:314: SyntaxWarning: invalid escape sequence '('
2025-03-20 20:16:50 elif re.match('(dbl)p?( (default))?$', token):
2025-03-20 20:16:50 ./.venv/lib/python3.12/site-packages/tencentcloud/batch/v20170312/models.py:7755: SyntaxWarning: invalid escape sequence '/'
2025-03-20 20:16:50 """实例登录密码。不同操作系统类型密码复杂度限制不一样,具体如下:
2025-03-20 20:19:27 2025/03/20 20:19:27 environment_python.go:287: [INFO]pre-compiling svcvit/agent:0.0.2 - Compiling './.venv/lib/python3.12/site-packages/setuptools/_distutils/fancy_getopt.py'...... 2025-03-20 20:19:28 2025/03/20 20:19:28 environment_python.go:287: [INFO]pre-compiling svcvit/agent:0.0.2 - Listing './.venv/lib/python3.12/site-packages/setuptools/_vendor/importlib_metadata/compat'...... 2025-03-20 20:19:28 2025/03/20 20:19:28 environment_python.go:287: [INFO]pre-compiling svcvit/agent:0.0.2 - Listing './.venv/lib/python3.12/site-packages/setuptools/_vendor/wheel'...... 2025-03-20 20:19:29 2025/03/20 20:19:29 environment_python.go:287: [INFO]pre-compiling svcvit/agent:0.0.2 - Compiling './.venv/lib/python3.12/site-packages/setuptools/glob.py'...... 2025-03-20 20:19:29 2025/03/20 20:19:29 environment_python.go:287: [INFO]pre-compiling svcvit/agent:0.0.2 - Compiling './.venv/lib/python3.12/site-packages/socksio/_types.py'...... 2025-03-20 20:19:30 2025/03/20 20:19:30 environment_python.go:287: [INFO]pre-compiling svcvit/agent:0.0.2 - Compiling './.venv/lib/python3.12/site-packages/werkzeug/sansio/multipart.py'...... 2025-03-20 20:19:30 2025/03/20 20:19:30 environment_python.go:287: [INFO]pre-compiling svcvit/agent:0.0.2 - Listing './.venv/lib/python3.12/site-packages/zope.interface-7.2.dist-info'...... 2025-03-20 20:19:30 2025/03/20 20:19:30 environment_python.go:320: [INFO]pre-loaded the plugin svcvit/agent:0.0.2 2025-03-20 20:19:32 2025/03/20 20:19:32 environment_python.go:350: [ERROR]failed to get the version of the plugin sdk: failed to find the version of the plugin sdk
✔️ Expected Behavior
Need to continue troubleshooting.
❌ Actual Behavior
Can't add models.