0

我有一个 PHP 白名单帐户,并创建了一个名为 afreekaworld 的简单 helloworld 应用程序,其中...

app.yaml 文件看起来像这样

application: afreekaworld

版本:1 运行时:php api_version:1

处理程序:- url:/stylesheets 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) 我尝试上传的其他一些应用程序,在管理员中显示错误日志 - 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 创建了应用程序

4

1 回答 1

1

问题是,虽然您的帐户已被列入白名单,但此特定应用程序并未列入。我现在已经为你设置了这个应用程序,所以再试一次。其他应用确实需要单独列入白名单——您可以在此处注册它们:https ://gaeforphp.appspot.com/ 。

于 2013-06-18T06:29:12.483 回答