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

Error when attempting basic test from readme (maybe REXML version differences?) #3

Open
cjavdev opened this issue May 6, 2014 · 0 comments

Comments

@cjavdev
Copy link

cjavdev commented May 6, 2014

I got this error when running:

require 'market_beat'
MarketBeat.opening_price :AAPL
REXML::ParseException: #<REXML::ParseException: Missing end tag for 'meta' (got "HEAD")
Line: 2
Position: 117
Last 80 unconsumed characters:
>
/Users/w1zeman1p/.rvm/rubies/ruby-1.9.3-p392/lib/ruby/1.9.1/rexml/parsers/baseparser.rb:335:in `pull_event'
/Users/w1zeman1p/.rvm/rubies/ruby-1.9.3-p392/lib/ruby/1.9.1/rexml/parsers/baseparser.rb:183:in `pull'
/Users/w1zeman1p/.rvm/rubies/ruby-1.9.3-p392/lib/ruby/1.9.1/rexml/parsers/treeparser.rb:22:in `parse'
/Users/w1zeman1p/.rvm/rubies/ruby-1.9.3-p392/lib/ruby/1.9.1/rexml/document.rb:243:in `build'
/Users/w1zeman1p/.rvm/rubies/ruby-1.9.3-p392/lib/ruby/1.9.1/rexml/document.rb:43:in `initialize'
/Users/w1zeman1p/.rvm/gems/ruby-1.9.3-p392/gems/market_beat-0.2.0/lib/market_beat/google.rb:38:in `new'
/Users/w1zeman1p/.rvm/gems/ruby-1.9.3-p392/gems/market_beat-0.2.0/lib/market_beat/google.rb:38:in `from_xml'
/Users/w1zeman1p/.rvm/gems/ruby-1.9.3-p392/gems/market_beat-0.2.0/lib/market_beat/google.rb:21:in `block (2 levels) in singletonclass'
/Users/w1zeman1p/.rvm/gems/ruby-1.9.3-p392/gems/market_beat-0.2.0/lib/market_beat.rb:26:in `method_missing'
(pry):3:in `__pry__'
/Users/w1zeman1p/.rvm/gems/ruby-1.9.3-p392/gems/pry-0.9.12.6/lib/pry/pry_instance.rb:328:in `eval'
/Users/w1zeman1p/.rvm/gems/ruby-1.9.3-p392/gems/pry-0.9.12.6/lib/pry/pry_instance.rb:328:in `evaluate_ruby'
/Users/w1zeman1p/.rvm/gems/ruby-1.9.3-p392/gems/pry-0.9.12.6/lib/pry/pry_instance.rb:278:in `re'
/Users/w1zeman1p/.rvm/gems/ruby-1.9.3-p392/gems/pry-0.9.12.6/lib/pry/pry_instance.rb:254:in `rep'
/Users/w1zeman1p/.rvm/gems/ruby-1.9.3-p392/gems/pry-0.9.12.6/lib/pry/pry_instance.rb:234:in `block (3 levels) in repl'
/Users/w1zeman1p/.rvm/gems/ruby-1.9.3-p392/gems/pry-0.9.12.6/lib/pry/pry_instance.rb:232:in `loop'
/Users/w1zeman1p/.rvm/gems/ruby-1.9.3-p392/gems/pry-0.9.12.6/lib/pry/pry_instance.rb:232:in `block (2 levels) in repl'
/Users/w1zeman1p/.rvm/gems/ruby-1.9.3-p392/gems/pry-0.9.12.6/lib/pry/pry_instance.rb:231:in `catch'
/Users/w1zeman1p/.rvm/gems/ruby-1.9.3-p392/gems/pry-0.9.12.6/lib/pry/pry_instance.rb:231:in `block in repl'
/Users/w1zeman1p/.rvm/gems/ruby-1.9.3-p392/gems/pry-0.9.12.6/lib/pry/pry_instance.rb:230:in `catch'
/Users/w1zeman1p/.rvm/gems/ruby-1.9.3-p392/gems/pry-0.9.12.6/lib/pry/pry_instance.rb:230:in `repl'
/Users/w1zeman1p/.rvm/gems/ruby-1.9.3-p392/gems/pry-0.9.12.6/lib/pry/pry_class.rb:169:in `start'
/Users/w1zeman1p/.rvm/gems/ruby-1.9.3-p392/gems/pry-debugger-0.2.2/lib/pry-debugger/pry_ext.rb:19:in `start_with_pry_debugger'
/Users/w1zeman1p/.rvm/gems/ruby-1.9.3-p392/gems/pry-0.9.12.6/lib/pry/cli.rb:201:in `block in <top (required)>'
/Users/w1zeman1p/.rvm/gems/ruby-1.9.3-p392/gems/pry-0.9.12.6/lib/pry/cli.rb:70:in `call'
/Users/w1zeman1p/.rvm/gems/ruby-1.9.3-p392/gems/pry-0.9.12.6/lib/pry/cli.rb:70:in `block in parse_options'
/Users/w1zeman1p/.rvm/gems/ruby-1.9.3-p392/gems/pry-0.9.12.6/lib/pry/cli.rb:70:in `each'
/Users/w1zeman1p/.rvm/gems/ruby-1.9.3-p392/gems/pry-0.9.12.6/lib/pry/cli.rb:70:in `parse_options'
/Users/w1zeman1p/.rvm/gems/ruby-1.9.3-p392/gems/pry-0.9.12.6/bin/pry:16:in `<top (required)>'
/Users/w1zeman1p/.rvm/gems/ruby-1.9.3-p392/bin/pry:19:in `load'
/Users/w1zeman1p/.rvm/gems/ruby-1.9.3-p392/bin/pry:19:in `<main>'
/Users/w1zeman1p/.rvm/gems/ruby-1.9.3-p392/bin/ruby_noexec_wrapper:14:in `eval'
/Users/w1zeman1p/.rvm/gems/ruby-1.9.3-p392/bin/ruby_noexec_wrapper:14:in `<main>'
...
Missing end tag for 'meta' (got "HEAD")
Line: 2
Position: 117
Last 80 unconsumed characters:

Line: 95
Position: 117
Last 80 unconsumed characters:
from /Users/w1zeman1p/.rvm/rubies/ruby-1.9.3-p392/lib/ruby/1.9.1/rexml/parsers/treeparser.rb:95:in `rescue in parse'
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

1 participant