[html-formfu] YAML::XS problem

Ascii King tech at swattermatter.com
Mon Dec 7 17:49:02 GMT 2009


So, I updated my perl mods and suddenly I get the following error. From 
reading the mail posts, I think it is because Config::Any is defaulting 
to using YAML::XS.  How do I go about cleaning up these errors (there 
are a few of them) or should I just revert my Config::Any to an earlier 
version?


[debug] Catalyst::Controller::HTML::FormFu::Action::Config searching for 
file 'D
:\webdev\OMTSWeb\root\forms/prior/new_prior.yml'
[error] Caught exception in OMTSWeb::Controller::Prior->new_prior "Error 
parsing
 D:\webdev\OMTSWeb\root\forms/prior/new_prior.yml: YAML::XS::Load Error: 
The pro
blem:

    found character that cannot start any token

was found at document: 1, line: 3, column: 10
while scanning for the next token at line: 3, column: 10
 at C:/Perl/site/lib/HTML/FormFu/ObjectUtil.pm line 502"

The YAML code that causes this is the following. The error is the 
percent sign after auto_id:

---
indicator: submitted
auto_id: %n
attributes:
  class: labelsAbove hintsTooltip



More information about the HTML-FormFu mailing list