Skip to content

HTTPS clone URL

Subversion checkout URL

You can clone with HTTPS or Subversion.

Download ZIP

Loading…

Issue with Konacha #232

Closed
johanneswuerbach opened this Issue · 1 comment

2 participants

@johanneswuerbach

I use webmock together with the konacha gem. From time to time I see the following error, but I can't really reproduce it.

method `to_ary' called on unexpected T_NODE object (0x0000000395fb70 flags=0x2ba71c klass=0x0)
/home/ubuntu/payment/vendor/bundle/ruby/1.9.1/gems/webmock-1.9.0/lib/webmock/http_lib_adapters/net_http.rb:250:in `block in request_signature_from_request'
/home/ubuntu/payment/vendor/bundle/ruby/1.9.1/gems/webmock-1.9.0/lib/webmock/http_lib_adapters/net_http.rb:250:in `each'
/home/ubuntu/payment/vendor/bundle/ruby/1.9.1/gems/webmock-1.9.0/lib/webmock/http_lib_adapters/net_http.rb:250:in `inject'
/home/ubuntu/payment/vendor/bundle/ruby/1.9.1/gems/webmock-1.9.0/lib/webmock/http_lib_adapters/net_http.rb:250:in `request_signature_from_request'
/home/ubuntu/payment/vendor/bundle/ruby/1.9.1/gems/webmock-1.9.0/lib/webmock/http_lib_adapters/net_http.rb:75:in `request'
/home/ubuntu/payment/vendor/bundle/ruby/1.9.1/gems/capybara-1.1.4/lib/capybara/server.rb:47:in `block in responsive?'
/home/ubuntu/payment/vendor/bundle/ruby/1.9.1/gems/webmock-1.9.0/lib/webmock/http_lib_adapters/net_http.rb:116:in `start_without_connect'
/home/ubuntu/payment/vendor/bundle/ruby/1.9.1/gems/webmock-1.9.0/lib/webmock/http_lib_adapters/net_http.rb:131:in `start'
/home/ubuntu/payment/vendor/bundle/ruby/1.9.1/gems/capybara-1.1.4/lib/capybara/server.rb:47:in `responsive?'
/home/ubuntu/payment/vendor/bundle/ruby/1.9.1/gems/capybara-1.1.4/lib/capybara/server.rb:69:in `block in boot'
/home/ubuntu/payment/vendor/bundle/ruby/1.9.1/gems/capybara-1.1.4/lib/capybara/util/timeout.rb:13:in `timeout'
/home/ubuntu/payment/vendor/bundle/ruby/1.9.1/gems/capybara-1.1.4/lib/capybara/server.rb:68:in `boot'
/home/ubuntu/payment/vendor/bundle/ruby/1.9.1/bundler/gems/poltergeist-233068f6c8a0/lib/capybara/poltergeist/driver.rb:18:in `initialize'
/home/ubuntu/payment/vendor/bundle/ruby/1.9.1/bundler/gems/poltergeist-233068f6c8a0/lib/capybara/poltergeist.rb:22:in `new'
/home/ubuntu/payment/vendor/bundle/ruby/1.9.1/bundler/gems/poltergeist-233068f6c8a0/lib/capybara/poltergeist.rb:22:in `block in <top (required)>'
/home/ubuntu/payment/vendor/bundle/ruby/1.9.1/gems/capybara-1.1.4/lib/capybara/session.rb:61:in `call'
/home/ubuntu/payment/vendor/bundle/ruby/1.9.1/gems/capybara-1.1.4/lib/capybara/session.rb:61:in `driver'
/home/ubuntu/payment/vendor/bundle/ruby/1.9.1/gems/capybara-1.1.4/lib/capybara/session.rb:157:in `visit'
/home/ubuntu/payment/vendor/bundle/ruby/1.9.1/gems/konacha-2.1.0/lib/konacha/runner.rb:16:in `run'
/home/ubuntu/payment/vendor/bundle/ruby/1.9.1/gems/konacha-2.1.0/lib/konacha/runner.rb:6:in `start'
/home/ubuntu/payment/vendor/bundle/ruby/1.9.1/gems/konacha-2.1.0/lib/konacha.rb:21:in `run'
/home/ubuntu/payment/vendor/bundle/ruby/1.9.1/gems/konacha-2.1.0/lib/tasks/konacha.rake:9:in `block (2 levels) in <top (required)>'

Do you have an idea of a special case when this can happen?

@bblimke
Owner

No idea, but let me know if you manage to reproduce it and provide a failing example.

@bblimke bblimke closed this
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Something went wrong with that request. Please try again.