Google App Engine Launcher未运行应用程序

时间:2014-04-21 22:49:15

标签: python google-app-engine python-2.7

我开始在Python中使用Google App Engine Launcher。我还在我的电脑上安装了Python 2.7,并确认翻译工作正常。

当我在应用程序上单击运行时,名称旁边会出现带有感叹号的黄色三角形。我试过在localhost:8080上访问该应用程序,但正如预期的那样没有任何显示。

这是我的错误代码:

  File "C:\Program Files (x86)\Google\google_appengine\google\appengine\api\appinfo.py", line 1873, in LoadSingleAppInfo
    listener.Parse(app_info)
  File "C:\Program Files (x86)\Google\google_appengine\google\appengine\api\yaml_listener.py", line 226, in Parse
    self._HandleEvents(self._GenerateEventParameters(stream, loader_class))
  File "C:\Program Files (x86)\Google\google_appengine\google\appengine\api\yaml_listener.py", line 177, in _HandleEvents
    raise yaml_errors.EventError(e, event_object)
google.appengine.api.yaml_errors.EventError: Unable to assign value 'Hello-Udacity' to attribute 'application':
Value 'Hello-Udacity' for application does not match expression '^(?:(?:[a-z\d\-]{1,100}\~)?(?:(?!\-)[a-z\d\-\.]{1,100}:)?(?!-)[a-z\d\-]{0,99}[a-z\d])$'
  in "C:\Users\username\Hello-Udacity\app.yaml", line 1, column 14
2014-04-22 00:07:52 (Process exited with code 1)

关于导致这种情况的任何想法?为什么应用程序没有运行?

1 个答案:

答案 0 :(得分:1)

您的错误代码表示您的应用ID不符合允许的格式。看起来你不允许使用大写字母。