【发布时间】:2015-04-15 18:04:49
【问题描述】:
当尝试在 Windows 7 上以 GAE 启动器的形式使用新的 Python GoogleAppEngine-1.9.19 进行部署时,系统不会要求我进行身份验证。相反,我得到一个接受 GAE 管理的页面,然后我在本地运行。此外,单击启动器上的关闭框没有任何作用,我必须在外部将其杀死。 我不明白错误消息或该怎么做。我没有名为 old_run.py 的文件。我卸载了 1.9.19 并重新安装了 1.9.18,部署工作一如既往。 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
【问题讨论】:
-
我也无法在 Elcipse IDE 中更新 1.9.19
-
我们已经在新的 Windows 启动器中切换了 oauth2 身份验证。浏览器提示oauth权限时请点击“接受”,应用应该部署正确。
-
正如我所说,在单击“接受”后,我被转储到我的 localhost 8080 页面上。未发生部署。我不得不撤退到 1.9.18 才能部署。
-
点击“接受”后,您应该会看到一条消息,说明身份验证已完成。如果您随后返回启动器的控制台,您应该会看到部署仍在继续。
-
是的,这当然是人们所期望的,但我再说一遍,事实并非如此。我看到 Les Vogel(见下文)怀疑 1.19.19 有问题。我不得不撤退到 1.9.18。