1
我開始在Python中使用Google App Engine啓動器。我還在我的電腦上安裝了Python 2.7並確認瞭解釋器的工作。Google App Engine啓動器未運行應用程序
當我在應用程序上單擊運行時,名稱旁邊會出現一個帶有感嘆號的黃色三角形。我曾嘗試訪問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)
是什麼原因造成這種任何想法?爲什麼應用程序沒有運行?