【发布时间】:2013-06-14 05:15:21
【问题描述】:
我有一个 PHP 白名单帐户,并创建了一个名为 afreekaworld 的简单 helloworld 应用程序,其中包含...
app.yaml 文件看起来像这样
application: afreekaworld
版本:1 运行时:php api_version: 1
处理程序: - 网址:/样式表 static_dir:样式表
- 网址:/.* 脚本:afreekaworld.php
afreekaworld.php
(1) 我所有的上传都因错误而失败 - 大量检查,然后...
05:53 AM Checking if deployment succeeded.
2013-06-18 05:53:23,771 WARNING appcfg.py:1801 Version still not ready to serve, aborting.
013-06-18 05:53:23,771 ERROR appcfg.py:2049 An unexpected error occurred. Aborting.
Traceback (most recent call last):
File "/Applications/GoogleAppEngineLauncher.app/Contents/Resources/GoogleAppEngine- default.bundle/Contents/Resources/google_appengine/google/appengine/tools/appcfg.py", line 2030, in DoUpload
app_summary = self.Commit()
File "/Applications/GoogleAppEngineLauncher.app/Contents/Resources/GoogleAppEngine- default.bundle/Contents/Resources/google_appengine/google/appengine/tools/appcfg.py", line 1802, in Commit
raise Exception('Version not ready.')
Exception: Version not ready.
05:53 AM Rolling back the update.
Traceback (most recent call last):
File "/usr/local/bin/appcfg.py", line 171, in <module>
run_file(__file__, globals())
File "/usr/local/bin/appcfg.py", line 167, in run_file
execfile(script_path, globals_)
File "/Applications/GoogleAppEngineLauncher.app/Contents/Resources/GoogleAppEngine- default.bundle/Contents/Resources/google_appengine/google/appengine/tools/appcfg.py", line 4247, in <module>
main(sys.argv)
File "/Applications/GoogleAppEngineLauncher.app/Contents/Resources/GoogleAppEngine- default.bundle/Contents/Resources/google_appengine/google/appengine/tools/appcfg.py", line 4238, in main
result = AppCfgApp(argv).Run()
File "/Applications/GoogleAppEngineLauncher.app/Contents/Resources/GoogleAppEngine-default.bundle/Contents/Resources/google_appengine/google/appengine/tools/appcfg.py", line 2396, in Run
self.action(self)
File "/Applications/GoogleAppEngineLauncher.app/Contents/Resources/GoogleAppEngine-default.bundle/Contents/Resources/google_appengine/google/appengine/tools/appcfg.py", line 3973, in __call__
return method()
File "/Applications/GoogleAppEngineLauncher.app/Contents/Resources/GoogleAppEngine-default.bundle/Contents/Resources/google_appengine/google/appengine/tools/appcfg.py", line 2974, in Update
self.UpdateVersion(rpcserver, self.basepath, appyaml, yaml_file_basename)
File "/Applications/GoogleAppEngineLauncher.app/Contents/Resources/GoogleAppEngine-default.bundle/Contents/Resources/google_appengine/google/appengine/tools/appcfg.py", line 2923, in UpdateVersion
return appversion.DoUpload(paths, openfunc)
File "/Applications/GoogleAppEngineLauncher.app/Contents/Resources/GoogleAppEngine-default.bundle/Contents/Resources/google_appengine/google/appengine/tools/appcfg.py", line 2030, in DoUpload
app_summary = self.Commit()
File "/Applications/GoogleAppEngineLauncher.app/Contents/Resources/GoogleAppEngine-default.bundle/Contents/Resources/google_appengine/google/appengine/tools/appcfg.py", line 1802, in Commit
raise Exception('Version not ready.')
Exception: Version not ready.
(2) 我尝试上传的其他一些应用程序,在 Admin 中显示错误日志 - https://appengine.google.com/logs 的实例 URL 在日志中,但尚未创建。
是否有可能我的白名单条款在某种程度上已经损坏了,请谷歌应用引擎的人看看 :-),因为我目前无法做任何有用的事情 :-)
例如 - 这是我们今天尝试部署的另一个应用程序的日志...
2013-06-17 21:24:13.270 / 500 698ms 0kb Mozilla/5.0 (Macintosh; Intel Mac OS X 10.6; rv:21.0) Gecko/20100101 Firefox/21.0
46.65.177.73 - - [17/Jun/2013:21:24:13 -0700] "GET / HTTP/1.1" 500 406 - "Mozilla/5.0 (Macintosh; Intel Mac OS X 10.6; rv:21.0) Gecko/20100101 Firefox/21.0" "afreekamobwp.appspot.com" ms=699 cpu_ms=454 cpm_usd=0.000045 loading_request=1 app_engine_release=1.8.1 instance=00c61b117c76a3a17827f8a385fb45c3a650
I 2013-06-17 21:24:13.270
This request caused a new process to be started for your application, and thus caused your application code to be loaded for the first time. This request may thus take longer and use more CPU than a typical request for your application.
======================= 每次我们尝试从浏览器访问它时,它都会生成另一条错误警告消息,但实际上管理控制台没有列出单个实例,也没有任何部署成功完成,它们都失败了 - 那么这个实例在哪里参考来自?以及如何解决?
任何帮助将不胜感激:-)
Ps:刚刚在日志中发现了更多内容。它声称已部署应用程序,但我喜欢我之前提到的任何地方都没有列出任何实例。
2013-06-17 22:54:59 apps-extensibility@google.com Deleted builtin bundle version: ah-builtin-datastoreservice.368168489818936938
2013-06-17 22:48:52 apps-extensibility@google.com Deleted builtin bundle version: ah-builtin-datastoreservice.368168489818936938
2013-06-17 22:48:24 apps-extensibility@google.com Created builtin bundle version: ah-builtin-datastoreservice.368168489818936938
2013-06-17 22:45:36 myemail@gmail.com 部署了新版本 version=1.2013-06-18T05:45:35Z
2013-06-17 21:39:12 myemail@gmail.com 部署了新版本 version=1.2013-06-18T04:39:11Z
2013-06-17 21:35:24 myemail@gmail.com Google API 控制台项目已创建
2013-06-17 21:35:20 myemail@gmail.com 创建了应用程序
【问题讨论】:
标签: php google-app-engine