简体   繁体   English

google app引擎部署失败-进程退出,代码2

[英]google app engine Deploy failing - Process exited with code 2

I'm new to Google App Engine and having troubling understanding their error messages. 我是Google App Engine的新手,很难理解他们的错误消息。 I'm using Google App Engine Launcher (on Win XP). 我正在使用Google App Engine启动器(在Win XP上)。
When I press Deploy (and then sign-in) I get this error message. 当我按部署(然后登录)时,我收到此错误消息。

\\pythonw.exe', '-u', 'C:\\Program Files\\Google\\google_appengine\\appcfg.py', '--no_cookies', u'--email=by@onetel.com', '--passin', 'update', 'C:\\Documents and Settings\\Barry\\My Documents\\test\\high-winter-668']" Usage: appcfg.py [options] update | [file, ...] \\ pythonw.exe','-u','C:\\ Program Files \\ Google \\ google_appengine \\ appcfg.py','-no_cookies',u'-email=by@onetel.com','-passin ','update','C:\\ Documents and Settings \\ Barry \\ My Documents \\ test \\ high-winter-668']“用法:appcfg.py [options] update | [file,...]

appcfg.py: error: Error parsing C:\\Documents and Settings\\Barry\\My Documents\\test\\high-winter-668\\app.yaml: Unable to assign value ' http://high-winter-668.appspot.com/ ' to attribute 'application': Value ' http://high-winter-668.appspot.com/ ' for application does not match expression '^(?:(?:[az\\d-]{1,100}\\~)?(?:(?!-)[az\\d-.]{1,100}:)?(?!-)[az\\d-]{0,99}[az\\d])$' in "C:\\Documents and Settings\\Barry\\My Documents\\test\\high-winter-668\\app.yaml", line 1, column 14. 2014-08-15 17:09:39 (Process exited with code 2) appcfg.py:错误:解析C:\\ Documents and Settings \\ Barry \\ My Documents \\ test \\ high-winter-668 \\ app.yaml:无法分配值' http://high-winter-668.appspot.com / '赋予'application'属性:值' http://high-winter-668.appspot.com/ '对于应用程序不匹配表达式'^(?:(?:[az \\ d-] {1,100} \\〜 )?(?:(?!-)[az \\ d-。] {1,100}:)?(?!-)[az \\ d-] {0,99} [az \\ d])$' :\\ Documents and Settings \\ Barry \\ My Documents \\ test \\ high-winter-668 \\ app.yaml“,第1行,第14列。2014-08-1517:09:39(进程退出,代码2)

Can someone tell me what this means please? 有人可以告诉我这意味着什么吗?

My app.yaml file contains: 我的app.yaml文件包含:

application: http://high-winter-668.appspot.com/
version: 1
runtime: php
api_version: 1

handlers:
- url: /.*
  script: high-winter-668.php

At https://appengine.google.com/ my "Application" and "Title" both say "high-winter-668" https://appengine.google.com/上,我的“应用程序”和“标题”都说“ high-winter-668”

And in my local application folder C:\\Documents and Settings....\\high-winter-668\\ I have two files: app.yaml and high-winter-668.php 在我的本地应用程序文件夹C:\\ Documents and Settings .... \\ high-winter-668 \\中,我有两个文件:app.yaml和high-winter-668.php

Thanks 谢谢

I use just the app name alone: 我仅使用应用名称:

application: high-winter-668
version: 1
runtime: php
api_version: 1

handlers:
- url: /.*
  script: high-winter-668.php

This: 这个:

^(?:(?:[a-z\d-]{1,100}\~)?(?:(?!-)[a-z\d-.]{1,100}:)?(?!-)[a-z\d-]{0,99}[a-z\d])$

is a Reg-Ex search pattern 是Reg-Ex搜索模式

要添加有关应用程序名称的更多信息:仅允许使用小写字母,数字和'-',并且应用程序名称的长度不能超过100个字符。

声明:本站的技术帖子网页,遵循CC BY-SA 4.0协议,如果您需要转载,请注明本站网址或者原文地址。任何问题请咨询:yoyou2525@163.com.

 
粤ICP备18138465号  © 2020-2024 STACKOOM.COM