jonleighton/poltergeist — Issue #6: ThreadError
Author: kbaum
Created: 2012-01-06 05:51:36+00:00
State: open

I got the following error when i tried out poltergeist.

@javascript
Scenario: Update a space # features/add_update_spaces.feature:59
Given I am a broker # features/step_definitions/common_steps.rb:3
And I have a space # features/step_definitions/common_steps.rb:36
{"name"=>"visit", "args"=>["http://127.0.0.1:53891/backdoor/347"]}
And I am logged in # features/step_definitions/authentication_steps.rb:19
killed thread (ThreadError)
/Users/karl/.rvm/gems/ruby-1.9.2-p290@viewthespace/gems/poltergeist-0.2.0/lib/capybara/poltergeist/server_manager.rb:75:in `run'
/Users/karl/.rvm/gems/ruby-1.9.2-p290@viewthespace/gems/poltergeist-0.2.0/lib/capybara/poltergeist/server_manager.rb:75:in `thread_execute'
/Users/karl/.rvm/gems/ruby-1.9.2-p290@viewthespace/gems/poltergeist-0.2.0/lib/capybara/poltergeist/server_manager.rb:51:in `block in send'
/Users/karl/.rvm/rubies/ruby-1.9.2-p290/lib/ruby/1.9.1/timeout.rb:58:in `timeout'
/Users/karl/.rvm/gems/ruby-1.9.2-p290@viewthespace/gems/poltergeist-0.2.0/lib/capybara/poltergeist/server_manager.rb:46:in `send'
/Users/karl/.rvm/gems/ruby-1.9.2-p290@viewthespace/gems/poltergeist-0.2.0/lib/capybara/poltergeist/server.rb:19:in `send'
/Users/karl/.rvm/gems/ruby-1.9.2-p290@viewthespace/gems/poltergeist-0.2.0/lib/capybara/poltergeist/browser.rb:124:in `command'
/Users/karl/.rvm/gems/ruby-1.9.2-p290@viewthespace/gems/poltergeist-0.2.0/lib/capybara/poltergeist/browser.rb:19:in `visit'
/Users/karl/.rvm/gems/ruby-1.9.2-p290@viewthespace/gems/poltergeist-0.2.0/lib/capybara/poltergeist/driver.rb:31:in `visit'
/Users/karl/.rvm/gems/ruby-1.9.2-p290@viewthespace/gems/capybara-1.1.2/lib/capybara/session.rb:157:in `visit'
/Users/karl/.rvm/gems/ruby-1.9.2-p290@viewthespace/gems/capybara-1.1.2/lib/capybara/dsl.rb:161:in `visit'
/Users/karl/workspace/viewthespace/features/step_definitions/authentication_steps.rb:20:in `block in '
/Users/karl/.rvm/gems/ruby-1.9.2-p290@viewthespace/gems/cucumber-1.1.3/lib/cucumber/core_ext/instance_exec.rb:48:in `instance_exec'
/Users/karl/.rvm/gems/ruby-1.9.2-p290@viewthespace/gems/cucumber-1.1.3/lib/cucumber/core_ext/instance_exec.rb:48:in `block in cucumber_instance_exec'
/Users/karl/.rvm/gems/ruby-1.9.2-p290@viewthespace/gems/cucumber-1.1.3/lib/cucumber/core_ext/instance_exec.rb:69:in `cucumber_run_with_backtrace_filtering'
/Users/karl/.rvm/gems/ruby-1.9.2-p290@viewthespace/gems/cucumber-1.1.3/lib/cucumber/core_ext/instance_exec.rb:36:in `cucumber_instance_exec'
/Users/karl/.rvm/gems/ruby-1.9.2-p290@viewthespace/gems/cucumber-1.1.3/lib/cucumber/rb_support/rb_step_definition.rb:62:in `invoke'
/Users/karl/.rvm/gems/ruby-1.9.2-p290@viewthespace/gems/cucumber-1.1.3/lib/cucumber/step_match.rb:25:in `invoke'
/Users/karl/.rvm/gems/ruby-1.9.2-p290@viewthespace/gems/cucumber-1.1.3/lib/cucumber/ast/step_invocation.rb:59:in `invoke'
/Users/karl/.rvm/gems/ruby-1.9.2-p290@viewthespace/gems/cucumber-1.1.3/lib/cucumber/ast/step_invocation.rb:38:in `accept'
/Users/karl/.rvm/gems/ruby-1.9.2-p290@viewthespace/gems/cucumber-1.1.3/lib/cucumber/ast/tree_walker.rb:99:in `block in visit_step'
/Users/karl/.rvm/gems/ruby-1.9.2-p290@viewthespace/gems/cucumber-1.1.3/lib/cucumber/ast/tree_walker.rb:163:in `broadcast'

I am using:

osx 10.6.8
ruby 1.9.2p290
capybara 1.1.2
rails 3.1.3
phantomjs 1.4.1

thx