Google App Engine 启动器无法运行应用程序
我开始在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 个回答
1
你的错误代码说明你的应用程序ID格式不对。看起来你不能使用大写字母。