Friday, 1 June 2012

couldn't parse YAML at line (Psych::SyntaxError)

I have used YML file for configuring globally few things for the application.

I have alligned the yml file with correct structure and correct indentation. Stil it trows the following error

  couldn't parse YAML at line (Psych::SyntaxError)

There is a tool YAML Lint http://www.yamllint.com/ helped me to check the yml allignment that I have coded was correct or wrong

Just copy and past your code in that site and click go It will Display the error line if you have any error's.

Thank You,
Uma Mahesh.

No comments:

Post a Comment