Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Test failure with Psych YAML engine #120

Closed
bkabrda opened this issue Dec 19, 2011 · 2 comments
Closed

Test failure with Psych YAML engine #120

bkabrda opened this issue Dec 19, 2011 · 2 comments

Comments

@bkabrda
Copy link

bkabrda commented Dec 19, 2011

Hi, I've got a test failure with Ruby 1.9.3, which uses Psych YAML engine by default:

/usr/share/ruby/psych.rb:154:in parse': (<unknown>): couldn't parse YAML at line 182 column 9 (Psych::SyntaxError) from /usr/share/ruby/psych.rb:154:inparse_stream'
from /usr/share/ruby/psych.rb:125:in parse' from /usr/share/ruby/psych.rb:112:inload'
from /usr/share/gems/gems/RedCloth-4.2.3/lib/redcloth/formatters/latex.rb:6:in <module:LATEX>' from /usr/share/gems/gems/RedCloth-4.2.3/lib/redcloth/formatters/latex.rb:3:in<top (required)>'
from /usr/share/rubygems/rubygems/custom_require.rb:36:in require' from /usr/share/rubygems/rubygems/custom_require.rb:36:inrequire'
from /usr/share/ruby/vendor_ruby/redcloth.rb:21:in <top (required)>' from /usr/share/rubygems/rubygems/custom_require.rb:36:inrequire'
from /usr/share/rubygems/rubygems/custom_require.rb:36:in require' from /home/bkabrda/rpmbuild/BUILDROOT/rubygem-tilt-1.3.2-1.fc16.x86_64/usr/share/gems/gems/tilt-1.3.2/test/tilt_redclothtemplate_test.rb:5:in<top (required)>'
from /usr/share/rubygems/rubygems/custom_require.rb:36:in require' from /usr/share/rubygems/rubygems/custom_require.rb:36:inrequire'
from /usr/share/ruby/test/unit.rb:221:in block in non_options' from /usr/share/ruby/test/unit.rb:215:ineach'
from /usr/share/ruby/test/unit.rb:215:in non_options' from /usr/share/ruby/test/unit.rb:52:inprocess_args'
from /usr/share/ruby/test/unit.rb:625:in process_args' from /usr/bin/testrb:5:in

'

I'm not sure if it is a problem with tilt or RedCloth.
Could you have a look at it?

Thanks,
Bohuslav.

@judofyr
Copy link
Collaborator

judofyr commented Dec 19, 2011

Seems to be a syntax error in this file: https://github.com/jgarber/redcloth/blob/master/lib/redcloth/formatters/latex_entities.yml. Could you have a look at /usr/share/gems/gems/RedCloth-4.2.3/lib/redcloth/formatters/latex_entities.yml (line 182, column 9) and see if there's something weird there?

@judofyr judofyr closed this as completed Dec 19, 2011
@bkabrda
Copy link
Author

bkabrda commented Dec 19, 2011

Ah, it seems that in my latex_entities.yml, some stuff is not in quotes. I'll have to update and I suppose it will be ok then.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants