我要上傳的應用程序,以谷歌應用程序引擎:錯誤解析YAML文件:映射值在此允許
我得到這個
Error parsing yaml file:
mapping values are not allowed here
in "/home/antonio/Desktop/ATI/climate-change/app.yaml", line 2, column 8
當運行
./appcfg.py update /home/antonio/Desktop/ATI/climate-change
與此app.yaml文件:
application:climate-change
version: 1
runtime: python27
api_version: 1
threadsafe: true
handlers:
- url: /.*
script: helloworld.app
第2行,第8列對應版本行。這裏有什麼問題?順便說一句,我在這裏使用Ubuntu 12.04。
謝謝!這解決了我的問題:) – Ads20000
@ Ads20000你可以upvote答案然後:) – lucian
是的,這也是我的問題。這就是爲什麼蟒蛇是愚蠢的。空白不應該很重要。 –