You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
.../ruby-1.9.3-p448/lib/ruby/1.9.1/psych.rb:203:in parse': (<unknown>): mapping values are not allowed in this context at line 27 column 22 (Psych::SyntaxError) from /home/gdesmet/.rvm/rubies/ruby-1.9.3-p448/lib/ruby/1.9.1/psych.rb:203:inparse_stream'
from /home/gdesmet/.rvm/rubies/ruby-1.9.3-p448/lib/ruby/1.9.1/psych.rb:151:in parse' from /home/gdesmet/.rvm/rubies/ruby-1.9.3-p448/lib/ruby/1.9.1/psych.rb:127:inload'
from /home/gdesmet/.rvm/gems/ruby-1.9.3-p448/gems/awestruct-0.5.5/lib/awestruct/engine.rb:156:in load_yaml' from /home/gdesmet/.rvm/gems/ruby-1.9.3-p448/gems/awestruct-0.5.5/lib/awestruct/engine.rb:125:inblock in load_yamls'
from /home/gdesmet/.rvm/gems/ruby-1.9.3-p448/gems/awestruct-0.5.5/lib/awestruct/engine.rb:124:in each' from /home/gdesmet/.rvm/gems/ruby-1.9.3-p448/gems/awestruct-0.5.5/lib/awestruct/engine.rb:124:inload_yamls'
from /home/gdesmet/.rvm/gems/ruby-1.9.3-p448/gems/awestruct-0.5.5/lib/awestruct/engine.rb:65:in run' from /home/gdesmet/.rvm/gems/ruby-1.9.3-p448/gems/awestruct-0.5.5/lib/awestruct/cli/generate.rb:21:inrun'
from /home/gdesmet/.rvm/gems/ruby-1.9.3-p448/gems/awestruct-0.5.5/lib/awestruct/cli/invoker.rb:125:in invoke_generate' from /home/gdesmet/.rvm/gems/ruby-1.9.3-p448/gems/awestruct-0.5.5/lib/awestruct/cli/invoker.rb:49:ininvoke!'
from /home/gdesmet/.rvm/gems/ruby-1.9.3-p448/gems/awestruct-0.5.5/bin/awestruct:9:in <top (required)>' from /home/gdesmet/.rvm/gems/ruby-1.9.3-p448/bin/awestruct:23:inload'
from /home/gdesmet/.rvm/gems/ruby-1.9.3-p448/bin/awestruct:23:in <main>' from /home/gdesmet/.rvm/gems/ruby-1.9.3-p448/bin/ruby_noexec_wrapper:14:ineval'
from /home/gdesmet/.rvm/gems/ruby-1.9.3-p448/bin/ruby_noexec_wrapper:14:in `
'
It's not clear which file is causing it, so I needed to trial-and-error to find the cause. The cause wasn't in my complex new haml-ruby code, but in the very simplistic new yml file where I added this line:
title: OptaPlanner: Optimizing vehicle routes, shift rosters and other NP-hard problems
(If you're looking for a way to reproduce, the second ":" is not valid yml syntax.)
The text was updated successfully, but these errors were encountered:
The standard errors that happen if there are problems during page
generation are now used for yaml loading errors. It will now tell you
the file that was being processed, and the error message along with
backtrace.
Also did some reformatting in the base_tilt_handler.
I got this error after changing a few files:
.../ruby-1.9.3-p448/lib/ruby/1.9.1/psych.rb:203:in
'parse': (<unknown>): mapping values are not allowed in this context at line 27 column 22 (Psych::SyntaxError) from /home/gdesmet/.rvm/rubies/ruby-1.9.3-p448/lib/ruby/1.9.1/psych.rb:203:in
parse_stream'from /home/gdesmet/.rvm/rubies/ruby-1.9.3-p448/lib/ruby/1.9.1/psych.rb:151:in
parse' from /home/gdesmet/.rvm/rubies/ruby-1.9.3-p448/lib/ruby/1.9.1/psych.rb:127:in
load'from /home/gdesmet/.rvm/gems/ruby-1.9.3-p448/gems/awestruct-0.5.5/lib/awestruct/engine.rb:156:in
load_yaml' from /home/gdesmet/.rvm/gems/ruby-1.9.3-p448/gems/awestruct-0.5.5/lib/awestruct/engine.rb:125:in
block in load_yamls'from /home/gdesmet/.rvm/gems/ruby-1.9.3-p448/gems/awestruct-0.5.5/lib/awestruct/engine.rb:124:in
each' from /home/gdesmet/.rvm/gems/ruby-1.9.3-p448/gems/awestruct-0.5.5/lib/awestruct/engine.rb:124:in
load_yamls'from /home/gdesmet/.rvm/gems/ruby-1.9.3-p448/gems/awestruct-0.5.5/lib/awestruct/engine.rb:65:in
run' from /home/gdesmet/.rvm/gems/ruby-1.9.3-p448/gems/awestruct-0.5.5/lib/awestruct/cli/generate.rb:21:in
run'from /home/gdesmet/.rvm/gems/ruby-1.9.3-p448/gems/awestruct-0.5.5/lib/awestruct/cli/invoker.rb:125:in
invoke_generate' from /home/gdesmet/.rvm/gems/ruby-1.9.3-p448/gems/awestruct-0.5.5/lib/awestruct/cli/invoker.rb:49:in
invoke!'from /home/gdesmet/.rvm/gems/ruby-1.9.3-p448/gems/awestruct-0.5.5/bin/awestruct:9:in
<top (required)>' from /home/gdesmet/.rvm/gems/ruby-1.9.3-p448/bin/awestruct:23:in
load'from /home/gdesmet/.rvm/gems/ruby-1.9.3-p448/bin/awestruct:23:in
<main>' from /home/gdesmet/.rvm/gems/ruby-1.9.3-p448/bin/ruby_noexec_wrapper:14:in
eval'from /home/gdesmet/.rvm/gems/ruby-1.9.3-p448/bin/ruby_noexec_wrapper:14:in `
It's not clear which file is causing it, so I needed to trial-and-error to find the cause. The cause wasn't in my complex new haml-ruby code, but in the very simplistic new yml file where I added this line:
title: OptaPlanner: Optimizing vehicle routes, shift rosters and other NP-hard problems
(If you're looking for a way to reproduce, the second ":" is not valid yml syntax.)
The text was updated successfully, but these errors were encountered: