tactlabs / error-archive

All issues related to tact and tact labs work
0 stars 0 forks source link

2 #129

Open rajacsp opened 4 years ago

rajacsp commented 4 years ago
Creating curl-examples_web_1 ... done
Attaching to curl-examples_web_1
web_1  |  * Serving Flask app "app" (lazy loading)
web_1  |  * Environment: production
web_1  |    WARNING: Do not use the development server in a production environment.
web_1  |    Use a production WSGI server instead.
web_1  |  * Debug mode: on
web_1  | app.py:13: YAMLLoadWarning: calling yaml.load() without Loader=... is deprecated, as the default Loader is unsafe. Please read https://msg.pyyaml.org/load for full details.
web_1  |   config = yaml.load(open(config_path))
web_1  |  * Running on http://0.0.0.0:5000/ (Press CTRL+C to quit)
web_1  |  * Restarting with stat
web_1  | /app/app/app.py:13: YAMLLoadWarning: calling yaml.load() without Loader=... is deprecated, as the default Loader is unsafe. Please read https://msg.pyyaml.org/load for full details.
web_1  |   config = yaml.load(open(config_path))
web_1  |  * Debugger is active!
web_1  |  * Debugger PIN: 699-677-437
web_1  |  * Detected change in '/app/app/app.py', reloading
web_1  |  * Restarting with stat
web_1  | /app/app/app.py:13: YAMLLoadWarning: calling yaml.load() without Loader=... is deprecated, as the default Loader is unsafe. Please read https://msg.pyyaml.org/load for full details.
web_1  |   config = yaml.load(open(config_path))
web_1  | Traceback (most recent call last):
web_1  |   File "/app/app/app.py", line 130, in <module>
web_1  |     @app.route('/get-with-json-input', methods=['POST'])
web_1  |   File "/usr/local/lib/python3.6/site-packages/flask/app.py", line 1250, in decorator
web_1  |     self.add_url_rule(rule, endpoint, f, **options)
web_1  |   File "/usr/local/lib/python3.6/site-packages/flask/app.py", line 66, in wrapper_func
web_1  |     return f(self, *args, **kwargs)
web_1  |   File "/usr/local/lib/python3.6/site-packages/flask/app.py", line 1221, in add_url_rule
web_1  |     'existing endpoint function: %s' % endpoint)
web_1  | AssertionError: View function mapping is overwriting an existing endpoint function: upload64
curl-examples_web_1 exited with code 1