Why is dev_appserver.py reporting "no such file or directory" after today's gcloud components update

dev_appserver.py command not found
dev_appserver.py python 3
dev_appserver.py assert sys.version_info[0] == 2
gcloud python version
google cloud sdk
gcloud attributeerror: 'module' object has no attribute sha256
add google cloud sdk to path
google cloud sdk 241.0 0 linux x86_64 tar gz

I've been successfully running the local development server daily and have made no changes except that I called "gcloud components update" just before it stopped working. Now I get:

..snip...    <<PATH TO MY SDK>>/google-cloud-sdk/platform/google_appengine/google/appengine/tools/devappserver2/application_configuration.py", line 518, in _parse_configuration
        with open(configuration_path) as f:
    IOError: [Errno 2] No such file or directory: 'app.yaml'

Of course app.yaml hasn't moved.

Any thoughts?


It looks like there's an active issue on Google's issue tracker (opened on Oct 2, 2018) pertaining to this:

After updating to the Python (2.7) extensions for GAE to version 1.9.76, I am no longer able to run my code with dev_appserver.py

As of Oct 3, a fix appears to be in the works, but for now they suggest downgrading Google Cloud SDK to version 218.0.0:

It seems like you are affected by a known issue regarding ‘dev_appserver.py’ breaks in Google Cloud SDK version [219.0.1]. App Engine specialists are currently working to resolve it. However there is no ETA at this moment. As a workaround you can downgrade the Google Cloud SDK version using this command:

gcloud components update --version 218.0.0

The assignee of the issue will post an update on that issue when it has been resolved.

UPDATE (OCT 9, 2018): Cloud SDK version 220.0.0, which fixes the dev_appserver.py issue, is now available. I updated (via gcloud components update) and verified that it works. (Note: there are already a couple of complaints on the Issue Tracker that dev_appserver.py takes too long to load now. I didn't notice a significant difference from version 218, but I didn't compare timings.)

The Cloud SDK and App Engine SDK for Python 2 each include a local development server ( dev_appserver.py ) that you can run locally to simulate your​  It seems like you are affected by a known issue regarding ‘dev_appserver.py’ breaks in Google Cloud SDK version [219.0.1]. App Engine specialists are currently working to resolve it. However there is no ETA at this moment. As a workaround you can downgrade the Google Cloud SDK version using this command:


cd to the directory with app.yaml in it and try again

Run the dev_appserver.py command from the root of your project directory. The server reports an error in the log stream if you try to start an application with a​  The local development server (dev_appserver.py) is part of the App Engine components of the Cloud SDK. This topic provides advanced information about the dev_appserver.py usage. See Using the Local Development Server for more information about local testing.


You may create make file and have something like this:

export SDK=dev_appserver.py
export APP_PATH=${CURDIR}

run:
    $(SDK) $(APP_PATH)/path-to/app.yaml

And just use it with: make run so you don't have to worry about paths.

I have my app ready to run but I cannot start dev_appserver.py, I obtain this Please report the issue using one of the SDK Support resources. dev_appserver.py --enable_sendmail=yes [PATH_TO_YOUR_APP] The local server will use the sendmail command to send email messages with your installation's default configuration. Note: If you don't invoke dev_appserver.py with either SMTP or Sendmail as described, then attempts to send email from your application will do nothing, but the attempt


On Windows, dev_appserver.py %CD% is enough if your .yaml file has the default app.yaml name. Otherwise dev_appserver.py %CD%/your-file-name.yaml

long as the original stdin and stdout of dev_appserver.py are. connected to a Responsible for monitoring and reporting about file modification times. Modules  The local development server (dev_appserver.py) is part of the App Engine components of the Cloud SDK. This topic provides advanced information about the dev_appserver.py usage. See Using the Local Development Server for more information about local testing.


Why is dev_appserver.py reporting “no such file or directory” after today's gcloud components update - google-app-engine. dev_appserver.py --application=PROJECT_ID app.yaml --port=9999 To learn more about the dev_appserver.py command options, see Local Development Server Options . As the local development server starts, it sets up a development environment that pre-installs the dependencies found in your requirements.txt file.


If you installed the original App Engine SDK, the tool is located at: [​PATH_TO_APP_ENGINE_SDK]/dev_appserver.py. If you installed the Google Cloud SDK,  In this tutorial video we initialize a local Google Cloud server. We start off with no files and write the first app.yaml and main.py file that we need.


goapp deploy mymodule.yaml. These commands can replace most uses of dev_appserver.py and appcfg.py , although the Python tools are still  The Cloud SDK and App Engine SDK for PHP 5 each include a local development server (dev_appserver.py) that you can run locally to simulate your application running in production App Engine. The simulated environment enforces some sandbox restrictions, such as restricted system functions and PHP 5 module imports, but not others, like request