无法使用谷歌应用程序引擎将python应用程序部署到云

无法使用谷歌应用程序引擎将python应用程序部署到云,python,google-app-engine,Python,Google App Engine,我有一个简单的hello world应用程序,可以在本地运行,没有任何问题。单击Windows上Google App Engine中的“浏览”可在以下地址显示该应用程序: http://localhost:8080/ 但是,当我单击deploy时,应用程序显示为on,而不是显示在myappid.appscpot.com上http://localhost:8080/?code=4/alotofrandomletters 部署到google日志显示: 2015-07-12 18:47:52 Run

我有一个简单的hello world应用程序,可以在本地运行,没有任何问题。单击Windows上Google App Engine中的“浏览”可在以下地址显示该应用程序:

http://localhost:8080/
但是,当我单击deploy时,应用程序显示为on,而不是显示在myappid.appscpot.com上http://localhost:8080/?code=4/alotofrandomletters

部署到google日志显示:

2015-07-12 18:47:52 Running command: "['C:\\Python27\\pythonw.exe', '-u', 'C:\\Program Files (x86)\\Google\\google_appengine\\appcfg.py', '--oauth2_credential_file=C:\\Users\\myname/.appcfg_oauth2_tokens', 'update', u'C:\\Users\\myname\\Dropbox\\myapp\\myapp']"
06:47 PM Application: myapp; version: 1
06:47 PM Host: appengine.google.com
06:47 PM 
Starting update of app: myapp, version: 1
06:47 PM Getting current resource limits.
Your browser has been opened to visit:

    https://accounts.google.com/o/oauth2/auth?alotoflettersandnumbers.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
在我单击deploy之后,google向我请求浏览器中的权限,我授予了这些权限。然而,该应用程序在本地运行。为什么它不显示在myappid.appscpot.com上?

这是Google App Engine SDK的问题,如果本地服务器正在运行,它不允许完成用户身份验证过程


谢谢阿什瓦尼·阿加瓦尔

假设您确实正确地遵循了OAuth流程,将自己标识为部署应用程序的授权用户,那么您似乎在错误地销售myappid.appscpot.com。它应该是myappid.appspot.com,没有中间层中的“c”字母,部署不会自动停止本地服务器,如果它正在运行,它将继续在本地主机上运行和服务该应用。你需要特别尝试在appspot.com上打开该网站,顺便说一句,请检查你的url,我发现你在问题中有两次相同的输入错误:是appspot,不是appscpot。另外-粘贴的部署日志是否完整?至少在linux上,它清楚地指示了所有上传步骤,包括上传的统计数据,清楚地指示上传完成,并检查应用是否正在运行。如果我进入浏览器,我会得到以下信息:错误:找不到。在此服务器上找不到请求的URL/。如果我输入相同,请显示你的app.yaml。我的app声明在appspot上工作。也许谷歌只是需要几个小时来设置我的应用程序引擎帐户