关于“使用 Cloud Run 构建 DevOps 流水线”的评价
68011 条评价
Ganga Vara Prasad K. · 已于 over 4 years前审核
4132 S. · 已于 over 4 years前审核
Lab has issues: Flask==1.1.1 causes "from itsdangerous import json as _json ImportError: cannot import name 'json' from 'itsdangerous'" https://serverfault.com/questions/1094062/from-itsdangerous-import-json-as-json-importerror-cannot-import-name-json-fr upgraded to Flask==1.1.4 then got "ImportError: cannot import name 'soft_unicode' from 'markupsafe' " finally added markupsafe==2.0.1 to requirements.txt which fixed the issue
Alex L. · 已于 over 4 years前审核
Big issue that i must have to troubleshoot because of Flask==1.1.1 depreciate in the docker container execution. I must have to replace the requirement.txt file by: Flask==1.1.4 flask-cors==3.0.0 boto3==1.9.22 markupsafe==2.0.1 With this it was finally successfull
Antoine M. · 已于 over 4 years前审核
Sergio M. · 已于 over 4 years前审核
Natalia M. · 已于 over 4 years前审核
Dipak V. · 已于 over 4 years前审核
Selvakulasingam T. · 已于 over 4 years前审核
Josh C. · 已于 over 4 years前审核
Nayana S S. · 已于 over 4 years前审核
mamtha m. · 已于 over 4 years前审核
José A. · 已于 over 4 years前审核
Container is not deploying
Nagaraju N. · 已于 over 4 years前审核
Henry A. · 已于 over 4 years前审核
Flavio D. · 已于 over 4 years前审核
Docker images stuck in infinite restart loop.
Mike W. · 已于 over 4 years前审核
Hugo Fabiano L. · 已于 over 4 years前审核
HARIESH A. · 已于 over 4 years前审核
Doesnt work
Elías M. · 已于 over 4 years前审核
The container provided in this lab doesn't start. Could you please set the dependencies properly? [2022-02-18 18:21:44 +0000] [10] [INFO] Booting worker with pid: 10 [2022-02-18 18:21:44 +0000] [10] [ERROR] Exception in worker process Traceback (most recent call last): File "/usr/local/lib/python3.7/site-packages/gunicorn/arbiter.py", line 589, in spawn_worker worker.init_process() File "/usr/local/lib/python3.7/site-packages/gunicorn/workers/gthread.py", line 92, in init_process super().init_process() File "/usr/local/lib/python3.7/site-packages/gunicorn/workers/base.py", line 134, in init_process self.load_wsgi() File "/usr/local/lib/python3.7/site-packages/gunicorn/workers/base.py", line 146, in load_wsgi self.wsgi = self.app.wsgi() File "/usr/local/lib/python3.7/site-packages/gunicorn/app/base.py", line 67, in wsgi self.callable = self.load() File "/usr/local/lib/python3.7/site-packages/gunicorn/app/wsgiapp.py", line 58, in load return self.load_wsgiapp() File "/usr/local/lib/python3.7/site-packages/gunicorn/app/wsgiapp.py", line 48, in load_wsgiapp return util.import_app(self.app_uri) File "/usr/local/lib/python3.7/site-packages/gunicorn/util.py", line 359, in import_app mod = importlib.import_module(module) File "/usr/local/lib/python3.7/importlib/__init__.py", line 127, in import_module return _bootstrap._gcd_import(name[level:], package, level) File "<frozen importlib._bootstrap>", line 1006, in _gcd_import File "<frozen importlib._bootstrap>", line 983, in _find_and_load File "<frozen importlib._bootstrap>", line 967, in _find_and_load_unlocked File "<frozen importlib._bootstrap>", line 677, in _load_unlocked File "<frozen importlib._bootstrap_external>", line 728, in exec_module File "<frozen importlib._bootstrap>", line 219, in _call_with_frames_removed File "/app/main.py", line 1, in <module> from flask import Flask, render_template, request File "/usr/local/lib/python3.7/site-packages/flask/__init__.py", line 14, in <module> from jinja2 import escape File "/usr/local/lib/python3.7/site-packages/jinja2/__init__.py", line 12, in <module> from .environment import Environment File "/usr/local/lib/python3.7/site-packages/jinja2/environment.py", line 25, in <module> from .defaults import BLOCK_END_STRING File "/usr/local/lib/python3.7/site-packages/jinja2/defaults.py", line 3, in <module> from .filters import FILTERS as DEFAULT_FILTERS # noqa: F401 File "/usr/local/lib/python3.7/site-packages/jinja2/filters.py", line 13, in <module> from markupsafe import soft_unicode ImportError: cannot import name 'soft_unicode' from 'markupsafe' (/usr/local/lib/python3.7/site-packages/markupsafe/__init__.py) [2022-02-18 18:21:44 +0000] [10] [INFO] Worker exiting (pid: 10) [2022-02-18 18:21:44 +0000] [1] [INFO] Shutting down: Master [2022-02-18 18:21:44 +0000] [1] [INFO] Reason: Worker failed to boot.
Sylvio P. · 已于 over 4 years前审核
There's an error in the container created according to the instructions (see: https://ibb.co/Qv6GMGv), which is due to Flask version. Upgrading to 2.0.1 solved it.
Iman A. · 已于 over 4 years前审核
DOES NOT WORK with Flask==1.1.1. setting Flask==2.0.3 works.
Umberto M. · 已于 over 4 years前审核
DOES NOT WORK
Umberto M. · 已于 over 4 years前审核
Giuliano M. · 已于 over 4 years前审核
great
Raj S. · 已于 over 4 years前审核
我们无法确保发布的评价来自已购买或已使用产品的消费者。评价未经 Google 核实。