parsing YAML, "found character '\t' that cannot start any token"

1,864 views
Skip to first unread message

henry.oswald

unread,
Apr 11, 2011, 6:39:38 AM4/11/11
to play-framework
I am banging my head trying to boot strap some data on startup to my
application using YAML.

It tells me all the time: Cannot parse the /conf/bootstrap-data.yml
file: found character '\t' that cannot start any token

I have got it working, but then on other lines it gets caught out.

I am using 1.2RC2 and Fixtures.load() rather than Fixtures.loadYaml
because the latter doesn't seem to work for me.

Advice would be welcome.

Hisham

unread,
Apr 11, 2011, 6:40:34 AM4/11/11
to play-fr...@googlegroups.com
It cannot accept TAB character..

Sent from my BlackBerry®

-----Original Message-----
From: "henry.oswald" <henry....@gmail.com>
Sender: play-fr...@googlegroups.com
Date: Mon, 11 Apr 2011 03:39:38
To: play-framework<play-fr...@googlegroups.com>
Reply-To: play-fr...@googlegroups.com
Subject: [play-framework] parsing YAML, "found character '\t' that cannot
start any token"

I am banging my head trying to boot strap some data on startup to my
application using YAML.

It tells me all the time: Cannot parse the /conf/bootstrap-data.yml
file: found character '\t' that cannot start any token

I have got it working, but then on other lines it gets caught out.

I am using 1.2RC2 and Fixtures.load() rather than Fixtures.loadYaml
because the latter doesn't seem to work for me.

Advice would be welcome.

--
You received this message because you are subscribed to the Google Groups "play-framework" group.
To post to this group, send email to play-fr...@googlegroups.com.
To unsubscribe from this group, send email to play-framewor...@googlegroups.com.
For more options, visit this group at http://groups.google.com/group/play-framework?hl=en.

henry.oswald

unread,
Apr 11, 2011, 6:44:03 AM4/11/11
to play-framework
I pressed submit and it became so obvious to me as well. Sometimes my
brain just doesn't work.

Thank you.
Reply all
Reply to author
Forward
0 new messages