You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
{{ message }}
This repository has been archived by the owner on Dec 7, 2017. It is now read-only.
File "/Users/projects/flask-app/run.py", line 2, in <module>
app.run(debug=False)
File "/Users/projects/flask-app/lib/flask/app.py", line 843, in run
run_simple(host, port, self, **options)
File "/Users/projects/flask-app/lib/werkzeug/serving.py", line 694, in run_simple
inner()
File "/Users/projects/flask-app/lib/werkzeug/serving.py", line 656, in inner
fd=fd)
File "/Users/projects/flask-app/lib/werkzeug/serving.py", line 550, in make_server
passthrough_errors, ssl_context, fd=fd)
File "/Users/projects/flask-app/lib/werkzeug/serving.py", line 464, in __init__
HTTPServer.__init__(self, (host, int(port)), handler)
File "/usr/local/Cellar/python/2.7.12_1/Frameworks/Python.framework/Versions/2.7/lib/python2.7/SocketServer.py", line 417, in __init__
self.server_bind()
File "/usr/local/Cellar/python/2.7.12_1/Frameworks/Python.framework/Versions/2.7/lib/python2.7/BaseHTTPServer.py", line 108, in server_bind
SocketServer.TCPServer.server_bind(self)
File "/usr/local/Cellar/python/2.7.12_1/Frameworks/Python.framework/Versions/2.7/lib/python2.7/SocketServer.py", line 431, in server_bind
self.socket.bind(self.server_address)
File "/Users/tim/bin/google-cloud-sdk/platform/google_appengine/google/appengine/dist27/socket.py", line 222, in meth
return getattr(self._sock,name)(*args)
File "/Users/tim/bin/google-cloud-sdk/platform/google_appengine/google/appengine/api/remote_socket/_remote_socket.py", line 676, in bind
raise _SystemExceptionFromAppError(e)
error: [Errno 13] Permission denied
INFO 2016-11-26 10:32:02,654 module.py:788] default: "GET / HTTP/1.1" 500 -
I do not know why? Even the simplest hello world, it will show this error.
But if I do not use gae dev_appserver.py, but only the flask environment in my machine, it worked well.
Hope your help.
Thanks in advance.
The text was updated successfully, but these errors were encountered:
@tim-hub glad you found a workaround, but it looks like this bug might have been caused by trying to use Flask's app.run which isn't compatible with the way that app engine works. Instead, you just have dev_appserver run the app.
Sign up for freeto subscribe to this conversation on GitHub.
Already have an account?
Sign in.
when I follow this http://flask.pocoo.org/docs/0.11/patterns/packages/
to make the app bigger. I got the error:
I do not know why? Even the simplest hello world, it will show this error.
But if I do not use gae
dev_appserver.py
, but only the flask environment in my machine, it worked well.Hope your help.
Thanks in advance.
The text was updated successfully, but these errors were encountered: