OMG stupid error with yml files
I'm putting this here so I don't forget it.
If you ever find yourself trying to generate or preview an octopress site and get this cryptic error
/usr/share/ruby/psych.rb:203:in `parse': (/www/mywebsite/_config.yml): did not find expected key while parsing a block mapping at line 5 column 1 (Psych::SyntaxError)
Check to make sure all your brackets are closed. I had a ][
hanging around from fat-fingering, and this syntax error somehow took me forever to fix.
Written by Lee
Related protips
1 Response
Thanks mate, that was exactly the problem I had. Too many closing parens.
over 1 year ago
·
Have a fresh tip? Share with Coderwall community!
Post
Post a tip
Best
#Octopress
Authors
Sponsored by #native_company# — Learn More
#native_title#
#native_desc#