3

我的应用程序拒绝部署,只是写

检查部署是否成功。

将在 60 秒后再次检查。

一遍又一遍,然后超时。

这是我的 .bat 文件:

python "C:\Program Files (x86)\Google\google_appengine\appcfg.py" --email=my email --passin update "app directory"

否则我的互联网连接工作正常。有任何想法吗?

完整错误:

2013-02-02 21:01:22,963 WARNING appcfg.py:2053 Version still not ready to serve,
 aborting.
2013-02-02 21:01:22,966 ERROR appcfg.py:2267 An unexpected error occurred. Abort
ing.
Traceback (most recent call last):
  File "C:\Program Files (x86)\Google\google_appengine\google\appengine\tools\ap
pcfg.py", line 2253, in DoUpload
    app_summary = self.Commit()
  File "C:\Program Files (x86)\Google\google_appengine\google\appengine\tools\ap
pcfg.py", line 2054, in Commit
    raise Exception('Version not ready.')
Exception: Version not ready.
09:01 PM Rolling back the update.
Traceback (most recent call last):
  File "C:\Program Files (x86)\Google\google_appengine\appcfg.py", line 171, in
<module>
    run_file(__file__, globals())
  File "C:\Program Files (x86)\Google\google_appengine\appcfg.py", line 167, in
run_file
    execfile(script_path, globals_)
  File "C:\Program Files (x86)\Google\google_appengine\google\appengine\tools\ap
pcfg.py", line 4377, in <module>
    main(sys.argv)
  File "C:\Program Files (x86)\Google\google_appengine\google\appengine\tools\ap
pcfg.py", line 4368, in main
    result = AppCfgApp(argv).Run()
  File "C:\Program Files (x86)\Google\google_appengine\google\appengine\tools\ap
pcfg.py", line 2605, in Run
    self.action(self)
  File "C:\Program Files (x86)\Google\google_appengine\google\appengine\tools\ap
pcfg.py", line 4103, in __call__
    return method()
  File "C:\Program Files (x86)\Google\google_appengine\google\appengine\tools\ap
pcfg.py", line 3115, in Update
    self.UpdateVersion(rpcserver, self.basepath, appyaml)
  File "C:\Program Files (x86)\Google\google_appengine\google\appengine\tools\ap
pcfg.py", line 3097, in UpdateVersion
    return appversion.DoUpload(paths, openfunc)
  File "C:\Program Files (x86)\Google\google_appengine\google\appengine\tools\ap
pcfg.py", line 2253, in DoUpload
    app_summary = self.Commit()
  File "C:\Program Files (x86)\Google\google_appengine\google\appengine\tools\ap
pcfg.py", line 2054, in Commit
    raise Exception('Version not ready.')
Exception: Version not ready.
4

1 回答 1

5

我不认为你做错了什么。有时 Google App Engine 不会以您想要的方式响应,因为他们可能会遇到一些问题。

尝试更改版本并重新部署(或--version=version-name在命令行中使用)。如果这不能解决它,你将不得不等待一段时间,然后再试一次

于 2013-02-02T19:24:37.113 回答