Python App Engine不会部署 - 超时

时间:2013-02-02 18:58:52

标签: python google-app-engine

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

  

检查部署是否成功。

     

将在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.

1 个答案:

答案 0 :(得分:5)

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

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