C:\Users\CRecodio\同学联系平台>lean deploy
[INFO] Current CLI tool version: 0.24.2
[INFO] Retrieving app info ...
[32mNew version found: v0.24.3. Update message:
- 更新日志:https://url.leanapp.cn/cliversion
You can upgrade by: Visit https://github.com/leancloud/lean-cli/releases[0m[INFO] Preparing to deploy 同学联系平台(Le1ksE4N9OXWHWDcjbdx2cVY-gzGzoHsz) to region: cn group: web production
[INFO] Python runtime detected
[INFO] pyenv detected. Please make sure pyenv is configured properly.
[WARNING] Cannot find command python3
, using python
instead of
[INFO] Uploading file 3.11 KiB / 3.11 KiB [=========================] 100.00% 0s
[REMOTE] 开始构建 20210416-160757
[REMOTE] 正在下载应用代码 ...
[REMOTE] 正在解压缩应用代码 ...
[REMOTE] 运行环境:python
[REMOTE] 正在下载和安装依赖项 ...
[REMOTE] 存储镜像到仓库(655.13MB)...
[REMOTE] [Python] 使用 Python 3.7.10, Python SDK 2.9.0
[REMOTE] 版本 20210416-160757 构建完成
[REMOTE] 开始部署 20210416-160757 到 web1
[REMOTE] 正在创建新实例 ...
[REMOTE] 正在启动新实例 ...
[REMOTE] [ERROR] 实例日志:[ERROR] /usr/share/pyenv/versions/3.7.10/lib/python3.7/importlib/_bootstrap.py:219: RuntimeWarning: greenlet.greenlet size changed, may indicate binary incompatibility. Expected 144 from C header, got 152 from PyObject
[ERROR] return f(*args, **kwds)
[ERROR] /usr/share/pyenv/versions/3.7.10/lib/python3.7/importlib/_bootstrap.py:219: RuntimeWarning: greenlet.greenlet size changed, may indicate binary incompatibility. Expected 144 from C header, got 152 from PyObject
[ERROR] return f(*args, **kwds)
[ERROR] Traceback (most recent call last):
[ERROR] File "/usr/bin/start-wsgi.py", line 74, in
[ERROR] main()
[ERROR] File "/usr/share/pyenv/versions/3.7.10/lib/python3.7/site-packages/click/core.py", line 722, in call
[ERROR] return self.main(*args, **kwargs)
[ERROR] File "/usr/share/pyenv/versions/3.7.10/lib/python3.7/site-packages/click/core.py", line 697, in main
[ERROR] rv = self.invoke(ctx)
[ERROR] File "/usr/share/pyenv/versions/3.7.10/lib/python3.7/site-packages/click/core.py", line 895, in invoke
[ERROR] return ctx.invoke(self.callback, **ctx.params)
[ERROR] File "/usr/share/pyenv/versions/3.7.10/lib/python3.7/site-packages/click/core.py", line 535, in invoke
[ERROR] return callback(*args, **kwargs)
[ERROR] File "/usr/bin/start-wsgi.py", line 69, in main
[ERROR] wsgi_func = import_app(wsgi_func)
[ERROR] File "/usr/bin/start-wsgi.py", line 34, in import_app
[ERROR] exec(compile(open(filename, "rb").read(), filename, 'exec'), mod)
[ERROR] File "wsgi.py", line 10, in
[ERROR] from app import app
[ERROR] File "/home/leanengine/app/app.py", line 11, in
[ERROR] from views.todos import todos_view
[ERROR] ModuleNotFoundError: No module named 'views'
[ERROR] /usr/share/pyenv/versions/3.7.10/lib/python3.7/importlib/_bootstrap.py:219: RuntimeWarning: greenlet.greenlet size changed, may indicate binary incompatibility. Expected 144 from C header, got 152 from PyObject
[ERROR] return f(*args, **kwds)
[ERROR] /usr/share/pyenv/versions/3.7.10/lib/python3.7/importlib/_bootstrap.py:219: RuntimeWarning: greenlet.greenlet size changed, may indicate binary incompatibility. Expected 144 from C header, got 152 from PyObject
[ERROR] return f(*args, **kwds)
[ERROR] /usr/share/pyenv/versions/3.7.10/lib/python3.7/importlib/_bootstrap.py:219: RuntimeWarning: greenlet.greenlet size changed, may indicate binary incompatibility. Expected 144 from C header, got 152 from PyObject
[ERROR] return f(*args, **kwds)
[ERROR] /usr/share/pyenv/versions/3.7.10/lib/python3.7/importlib/_bootstrap.py:219: RuntimeWarning: greenlet.greenlet size changed, may indicate binary incompatibility. Expected 144 from C header, got 152 from PyObject
[ERROR] return f(*args, **kwds)
[ERROR] /usr/share/pyenv/versions/3.7.10/lib/python3.7/importlib/_bootstrap.py:219: RuntimeWarning: greenlet.greenlet size changed, may indicate binary incompatibility. Expected 144 from C header, got 152 from PyObject
[ERROR] return f(*args, **kwds)
[ERROR] /usr/share/pyenv/versions/3.7.10/lib/python3.7/importlib/_bootstrap.py:219: RuntimeWarning: greenlet.greenlet size changed, may indicate binary incompatibility. Expected 144 from C header, got 152 from PyObject
[ERROR] return f(*args, **kwds)
[ERROR] /usr/share/pyenv/versions/3.7.10/lib/python3.7/importlib/_bootstrap.py:219: RuntimeWarning: greenlet.greenlet size changed, may indicate binary incompatibility. Expected 144 from C header, got 152 from PyObject
[ERROR] return f(*args, **kwds)
[ERROR] /usr/share/pyenv/versions/3.7.10/lib/python3.7/importlib/_bootstrap.py:219: RuntimeWarning: greenlet.greenlet size changed, may indicate binary incompatibility. Expected 144 from C header, got 152 from PyObject
[ERROR] return f(*args, **kwds)
[ERROR] /usr/share/pyenv/versions/3.7.10/lib/python3.7/importlib/_bootstrap.py:219: RuntimeWarning: greenlet.greenlet size changed, may indicate binary incompatibility. Expected 144 from C header, got 152 from PyObject
[ERROR] return f(*args, **kwds)
[ERROR] Traceback (most recent call last):
[ERROR] File "/usr/bin/start-wsgi.py", line 74, in
[ERROR] main()
[ERROR] File "/usr/share/pyenv/versions/3.7.10/lib/python3.7/site-packages/click/core.py", line 722, in call
[ERROR] return self.main(*args, **kwargs)
[ERROR] File "/usr/share/pyenv/versions/3.7.10/lib/python3.7/site-packages/click/core.py", line 697, in main
[ERROR] rv = self.invoke(ctx)
[ERROR] File "/usr/share/pyenv/versions/3.7.10/lib/python3.7/site-packages/click/core.py", line 895, in invoke
[ERROR] return ctx.invoke(self.callback, **ctx.params)
[ERROR] File "/usr/share/pyenv/versions/3.7.10/lib/python3.7/site-packages/click/core.py", line 535, in invoke
[ERROR] return callback(*args, **kwargs)
[ERROR] File "/usr/bin/start-wsgi.py", line 69, in main
[ERROR] wsgi_func = import_app(wsgi_func)
[ERROR] File "/usr/bin/start-wsgi.py", line 34, in import_app
[ERROR] exec(compile(open(filename, "rb").read(), filename, 'exec'), mod)
[ERROR] File "wsgi.py", line 10, in
[ERROR] from app import app
[ERROR] File "/home/leanengine/app/app.py", line 11, in
[ERROR] from views.todos import todos_view
[ERROR] ModuleNotFoundError: No module named 'views'
[ERROR] /usr/share/pyenv/versions/3.7.10/lib/python3.7/importlib/_bootstrap.py:219: RuntimeWarning: greenlet.greenlet size changed, may indicate binary incompatibility. Expected 144 from C header, got 152 from PyObject
[ERROR] return f(*args, **kwds)
[ERROR] /usr/share/pyenv/versions/3.7.10/lib/python3.7/importlib/_bootstrap.py:219: RuntimeWarning: greenlet.greenlet size changed, may indicate binary incompatibility. Expected 144 from C header, got 152 from PyObject
[ERROR] return f(*args, **kwds)
[ERROR] /usr/share/pyenv/versions/3.7.10/lib/python3.7/importlib/_bootstrap.py:219: RuntimeWarning: greenlet.greenlet size changed, may indicate binary incompatibility. Expected 144 from C header, got 152 from PyObject
[ERROR] return f(*args, **kwds)
[ERROR] /usr/share/pyenv/versions/3.7.10/lib/python3.7/importlib/_bootstrap.py:219: RuntimeWarning: greenlet.greenlet size changed, may indicate binary incompatibility. Expected 144 from C header, got 152 from PyObject
[ERROR] return f(*args, **kwds)
[ERROR] /usr/share/pyenv/versions/3.7.10/lib/python3.7/importlib/_bootstrap.py:219: RuntimeWarning: greenlet.greenlet size changed, may indicate binary incompatibility. Expected 144 from C header, got 152 from PyObject
[ERROR] return f(*args, **kwds)
[ERROR] /usr/share/pyenv/versions/3.7.10/lib/python3.7/importlib/_bootstrap.py:219: RuntimeWarning: greenlet.greenlet size changed, may indicate binary incompatibility. Expected 144 from C header, got 152 from PyObject
[ERROR] return f(*args, **kwds)
[ERROR] /usr/share/pyenv/versions/3.7.10/lib/python3.7/importlib/_bootstrap.py:219: RuntimeWarning: greenlet.greenlet size changed, may indicate binary incompatibility. Expected 144 from C header, got 152 from PyObject
[ERROR] return f(*args, **kwds)
[ERROR] /usr/share/pyenv/versions/3.7.10/lib/python3.7/importlib/_bootstrap.py:219: RuntimeWarning: greenlet.greenlet size changed, may indicate binary incompatibility. Expected 144 from C header, got 152 from PyObject
[ERROR] return f(*args, **kwds)
[ERROR] /usr/share/pyenv/versions/3.7.10/lib/python3.7/importlib/_bootstrap.py:219: RuntimeWarning: greenlet.greenlet size changed, may indicate binary incompatibility. Expected 144 from C header, got 152 from PyObject
[ERROR] return f(*args, **kwds)
[ERROR] Traceback (most recent call last):
[ERROR] File "/usr/bin/start-wsgi.py", line 74, in
[ERROR] main()
[ERROR] File "/usr/share/pyenv/versions/3.7.10/lib/python3.7/site-packages/click/core.py", line 722, in call
[ERROR] return self.main(*args, **kwargs)
[ERROR] File "/usr/share/pyenv/versions/3.7.10/lib/python3.7/site-packages/click/core.py", line 697, in main
[ERROR] rv = self.invoke(ctx)
[ERROR] File "/usr/share/pyenv/versions/3.7.10/lib/python3.7/site-packages/click/core.py", line 895, in invoke
[ERROR] return ctx.invoke(self.callback, **ctx.params)
[ERROR] File "/usr/share/pyenv/versions/3.7.10/lib/python3.7/site-packages/click/core.py", line 535, in invoke
[ERROR] return callback(*args, **kwargs)
[ERROR] File "/usr/bin/start-wsgi.py", line 69, in main
[ERROR] wsgi_func = import_app(wsgi_func)
[ERROR] File "/usr/bin/start-wsgi.py", line 34, in import_app
[ERROR] exec(compile(open(filename, "rb").read(), filename, 'exec'), mod)
[ERROR] File "wsgi.py", line 10, in
[ERROR] from app import app
[ERROR] File "/home/leanengine/app/app.py", line 11, in
[ERROR] from views.todos import todos_view
[ERROR] ModuleNotFoundError: No module named 'views'
[REMOTE] [ERROR] 应用启动失败: 无法访问应用的 Web 端口(Error: connect ECONNREFUSED 10.30.1.63:54442),请确保程序在 30 秒内正确地启动了 HTTP 服务
[REMOTE] [ERROR] 应用启动失败: 无法访问应用的 Web 端口(Error: connect ECONNREFUSED 10.30.1.63:54442),请确保程序在 30 秒内正确地启动了 HTTP 服务
[REMOTE] [ERROR] 部署发生错误:发生了 1 个错误
[INFO] Deleting temporary files
Deployment failed