在Windows7上尝试使用新的Python GoogleAppEngine-1.9.19以GAE启动器的形式进行部署时,系统不会要求我进行身份验证。相反,我得到了一个接受GAE管理的页面,然后我在本地运行。此外,单击启动器上的关闭框不会做任何事情,我必须在外部杀死它。我不明白错误信息,也不知道该怎么做。我没有名为old_run.py的文件。我卸载了1.9.19并重新安装了1.9.18,deploy一如既往地工作。1.9.19是不是坏了?
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发布于 2015-08-20 15:04:20
这是Google App Engine SDK的一个问题,如果本地服务器正在运行,它不允许完成用户身份验证过程。
步骤1.停止本地服务器。
第2步。单击“Deploy”
步骤3.您应该会收到一条消息"The authentication flow has completed."
步骤4.关闭窗口。
步骤5.使用Google App Engine再次部署。您应该收到一条消息You can close this window now.
发布于 2015-04-22 05:43:06
您只需关闭服务器,我使用google应用程序引擎luncher运行并停止,然后部署
发布于 2015-04-16 11:10:27
很抱歉-工具正在更改过程中。文档应该很快就会更新。
试试gcloud preview app deploy path-to/your.yaml --project myProjectID
https://stackoverflow.com/questions/29657557
复制相似问题