[rspec-users] Intermittent Cucumber exception

Ashley Moran ashley.moran at patchspace.co.uk
Wed Dec 3 10:55:04 EST 2008


Hi

Anyone recognise this exception, and know what causes it to happen  
occasionally?

Thanks
Ashley

   Scenario: new story appears on  
feed                                   # features/descriptions/ 
story_notification.feature:12
/opt/local/lib/ruby/gems/1.8/gems/cucumber-0.1.10/bin/../lib/cucumber/ 
broadcaster.rb:15:in `write': Bad file descriptor (Errno::EBADF)
	from /opt/local/lib/ruby/gems/1.8/gems/cucumber-0.1.10/bin/../lib/ 
cucumber/broadcaster.rb:15:in `puts'
	from /opt/local/lib/ruby/gems/1.8/gems/cucumber-0.1.10/bin/../lib/ 
cucumber/broadcaster.rb:15:in `__send__'
	from /opt/local/lib/ruby/gems/1.8/gems/cucumber-0.1.10/bin/../lib/ 
cucumber/broadcaster.rb:15:in `method_missing'
	from /opt/local/lib/ruby/gems/1.8/gems/cucumber-0.1.10/bin/../lib/ 
cucumber/broadcaster.rb:13:in `each'
	from /opt/local/lib/ruby/gems/1.8/gems/cucumber-0.1.10/bin/../lib/ 
cucumber/broadcaster.rb:13:in `method_missing'
	from /opt/local/lib/ruby/gems/1.8/gems/cucumber-0.1.10/bin/../lib/ 
cucumber/formatters/pretty_formatter.rb:107:in `step_failed'
	from /opt/local/lib/ruby/gems/1.8/gems/cucumber-0.1.10/bin/../lib/ 
cucumber/broadcaster.rb:15:in `__send__'
	from /opt/local/lib/ruby/gems/1.8/gems/cucumber-0.1.10/bin/../lib/ 
cucumber/broadcaster.rb:15:in `method_missing'
	from /opt/local/lib/ruby/gems/1.8/gems/cucumber-0.1.10/bin/../lib/ 
cucumber/broadcaster.rb:13:in `each'
	from /opt/local/lib/ruby/gems/1.8/gems/cucumber-0.1.10/bin/../lib/ 
cucumber/broadcaster.rb:13:in `method_missing'
	from /opt/local/lib/ruby/gems/1.8/gems/cucumber-0.1.10/bin/../lib/ 
cucumber/executor.rb:122:in `visit_step'
	from /opt/local/lib/ruby/gems/1.8/gems/cucumber-0.1.10/bin/../lib/ 
cucumber/executor.rb:106:in `visit_regular_step'
	from /opt/local/lib/ruby/gems/1.8/gems/cucumber-0.1.10/bin/../lib/ 
cucumber/tree/scenario.rb:15:in `accept'
	from /opt/local/lib/ruby/gems/1.8/gems/cucumber-0.1.10/bin/../lib/ 
cucumber/tree/scenario.rb:11:in `each'
	from /opt/local/lib/ruby/gems/1.8/gems/cucumber-0.1.10/bin/../lib/ 
cucumber/tree/scenario.rb:11:in `accept'
	from /opt/local/lib/ruby/gems/1.8/gems/cucumber-0.1.10/bin/../lib/ 
cucumber/executor.rb:87:in `execute_scenario'
	from /opt/local/lib/ruby/gems/1.8/gems/cucumber-0.1.10/bin/../lib/ 
cucumber/executor.rb:73:in `visit_scenario'
	from /opt/local/lib/ruby/gems/1.8/gems/cucumber-0.1.10/bin/../lib/ 
cucumber/executor.rb:67:in `visit_regular_scenario'
	from /opt/local/lib/ruby/gems/1.8/gems/cucumber-0.1.10/bin/../lib/ 
cucumber/tree/feature.rb:57:in `accept'
	from /opt/local/lib/ruby/gems/1.8/gems/cucumber-0.1.10/bin/../lib/ 
cucumber/tree/feature.rb:53:in `each'
	from /opt/local/lib/ruby/gems/1.8/gems/cucumber-0.1.10/bin/../lib/ 
cucumber/tree/feature.rb:53:in `accept'
	from /opt/local/lib/ruby/gems/1.8/gems/cucumber-0.1.10/bin/../lib/ 
cucumber/executor.rb:50:in `visit_feature'
	from /opt/local/lib/ruby/gems/1.8/gems/cucumber-0.1.10/bin/../lib/ 
cucumber/tree/features.rb:17:in `accept'
	from /opt/local/lib/ruby/gems/1.8/gems/cucumber-0.1.10/bin/../lib/ 
cucumber/tree/features.rb:17:in `each'
	from /opt/local/lib/ruby/gems/1.8/gems/cucumber-0.1.10/bin/../lib/ 
cucumber/tree/features.rb:17:in `accept'
	from /opt/local/lib/ruby/gems/1.8/gems/cucumber-0.1.10/bin/../lib/ 
cucumber/executor.rb:41:in `visit_features'
	from /opt/local/lib/ruby/gems/1.8/gems/cucumber-0.1.10/bin/../lib/ 
cucumber/cli.rb:167:in `execute!'
	from /opt/local/lib/ruby/gems/1.8/gems/cucumber-0.1.10/bin/../lib/ 
cucumber/cli.rb:11:in `execute'
	from /opt/local/lib/ruby/gems/1.8/gems/cucumber-0.1.10/bin/cucumber:6
rake aborted!


-- 
http://www.patchspace.co.uk/
http://aviewfromafar.net/





More information about the rspec-users mailing list