Logo Questions Linux Laravel Mysql Ubuntu Git Menu
 

google-app-engine 1.9.19 deploy failure

When trying to deploy using the new Python GoogleAppEngine-1.9.19 in the form of the GAE launcher on Windows 7, I'm not asked to authenticate. Instead, I get a page for accepting GAE management, and then I'm running locally. Moreover, clicking the close box on the launcher does nothing and I have to kill it externally. I don't understand the error messages or what to do. I don't have a file named old_run.py. I uninstalled 1.9.19 and reinstalled 1.9.18, and deploy works as always. Is 1.9.19 broken?

2015-04-15 11:27:47 Running command: "['C:\\Python27\\python.exe', '-u', 'C:\\Program Files (x86)\\Google\\google_appengine\\appcfg.py', '--oauth2', 'update', 'M:\\HP_Cdrive\\workspace\\glowscript']"
11:27 AM Application: glowscript; version: 1
11:27 AM Host: appengine.google.com
11:27 AM 
Starting update of app: glowscript, version: 1
11:27 AM Getting current resource limits.
2015-04-15 11:27:50,838 WARNING old_run.py:88 This function, oauth2client.tools.run(), and the use of the gflags library are deprecated and will be removed in a future version of the library. 
Your browser has been opened to visit:

    https://accounts.google.com/o/oauth2/auth?scope=https%3A%2F%2Fwww.googleapis.com%2Fauth%2Fappengine.admin+https%3A%2F%2Fwww.googleapis.com%2Fauth%2Fcloud-platform&redirect_uri=http%3A%2F%2Flocalhost%3A8080%2F&response_type=code&client_id=550516889912.apps.googleusercontent.com&access_type=offline

If your browser is on a different machine then exit and re-run
this application with the command-line parameter 

  --noauth_local_webserver
like image 674
user1114907 Avatar asked Apr 15 '15 18:04

user1114907


3 Answers

It's an issue with Google App Engine SDK, which doesn't allow the user authentication process to be completed, if local server is running.

Step 1. Stop the local server.

Step 2. Click on 'Deploy'

Step 3. You should get a message "The authentication flow has completed."

Step 4. Close the Window.

Step 5. Deploy again using Google App Engine. You should receive a message You can close this window now.

like image 118
Ashwani Agarwal Avatar answered Nov 12 '22 00:11

Ashwani Agarwal


you just have to shut down the server I use the google app engine luncher run and stop then deploy

like image 23
juliocebrito Avatar answered Nov 12 '22 01:11

juliocebrito


Sorry about that - the tooling is in the process of changing. The docs should be updated shortly.

Try gcloud preview app deploy path-to/your.yaml --project myProjectID

like image 45
Les Vogel - Google DevRel Avatar answered Nov 12 '22 00:11

Les Vogel - Google DevRel