mapping values are not allowed here

   初次使用GAE, 在部署python应用出现了很多错误, 特此记录

1. mapping values are not allowed here

     出现这个错误的是因为yaml格式不正确,谷歌定义的yaml格式太严格了,每个冒号后面都必须带有空格

app.yaml

handlers:

-空格url: /.*

空格空格script: hello.py    // 下面必须有两个空格,对齐的也太夸张了

2. the project is not exist(app_id=u)

   app.yaml的application名称一定要与在 https://appengine.google.com/ 建立的应用程序名称一致

3. 部署应用   appcfg.py update d:/hello 

猜你喜欢

转载自tcspecial.iteye.com/blog/1815443