- zen_test1
- Posts : 1
Join date : 2010-05-29
Error while running a test in Ruby
Sat May 29, 2010 7:44 pm
Hi,
I'm getting the following error when i run a test in ruby editor. I'm using the Windows XP OS. Can anyone help.
Error :
1) Error:
test_ERAIL(ERAIL):
Errno::EMFILE: Too many open files - socket(2)
c:/ruby/lib/ruby/1.8/net/http.rb:564:in `initialize'
c:/ruby/lib/ruby/1.8/net/http.rb:564:in `open'
c:/ruby/lib/ruby/1.8/net/http.rb:564:in `connect'
c:/ruby/lib/ruby/1.8/timeout.rb:56:in `timeout'
c:/ruby/lib/ruby/1.8/timeout.rb:76:in `timeout'
c:/ruby/lib/ruby/1.8/net/http.rb:564:in `connect'
c:/ruby/lib/ruby/1.8/net/http.rb:557:in `do_start'
c:/ruby/lib/ruby/1.8/net/http.rb:546:in `start'
c:/ruby/lib/ruby/1.8/net/http.rb:1044:in `request'
c:/ruby/lib/ruby/1.8/net/http.rb:854:in `post'
c:/ruby/lib/ruby/gems/1.8/gems/selenium-client-1.2.17/lib/selenium/client/protocol.rb:88:in `http_post'
c:/ruby/lib/ruby/gems/1.8/gems/selenium-client-1.2.17/lib/selenium/client/protocol.rb:12:in `remote_control_command'
c:/ruby/lib/ruby/1.8/timeout.rb:56:in `timeout'
c:/ruby/lib/ruby/1.8/timeout.rb:76:in `timeout'
c:/ruby/lib/ruby/gems/1.8/gems/selenium-client-1.2.17/lib/selenium/client/protocol.rb:11:in `remote_control_command'
c:/ruby/lib/ruby/gems/1.8/gems/selenium-client-1.2.17/lib/selenium/client/protocol.rb:19:in `string_command'
c:/ruby/lib/ruby/gems/1.8/gems/selenium-client-1.2.17/lib/selenium/client/base.rb:85:in `start_new_browser_session'
erail_script2.rb:18:in `setup'
I'm getting the following error when i run a test in ruby editor. I'm using the Windows XP OS. Can anyone help.
Error :
1) Error:
test_ERAIL(ERAIL):
Errno::EMFILE: Too many open files - socket(2)
c:/ruby/lib/ruby/1.8/net/http.rb:564:in `initialize'
c:/ruby/lib/ruby/1.8/net/http.rb:564:in `open'
c:/ruby/lib/ruby/1.8/net/http.rb:564:in `connect'
c:/ruby/lib/ruby/1.8/timeout.rb:56:in `timeout'
c:/ruby/lib/ruby/1.8/timeout.rb:76:in `timeout'
c:/ruby/lib/ruby/1.8/net/http.rb:564:in `connect'
c:/ruby/lib/ruby/1.8/net/http.rb:557:in `do_start'
c:/ruby/lib/ruby/1.8/net/http.rb:546:in `start'
c:/ruby/lib/ruby/1.8/net/http.rb:1044:in `request'
c:/ruby/lib/ruby/1.8/net/http.rb:854:in `post'
c:/ruby/lib/ruby/gems/1.8/gems/selenium-client-1.2.17/lib/selenium/client/protocol.rb:88:in `http_post'
c:/ruby/lib/ruby/gems/1.8/gems/selenium-client-1.2.17/lib/selenium/client/protocol.rb:12:in `remote_control_command'
c:/ruby/lib/ruby/1.8/timeout.rb:56:in `timeout'
c:/ruby/lib/ruby/1.8/timeout.rb:76:in `timeout'
c:/ruby/lib/ruby/gems/1.8/gems/selenium-client-1.2.17/lib/selenium/client/protocol.rb:11:in `remote_control_command'
c:/ruby/lib/ruby/gems/1.8/gems/selenium-client-1.2.17/lib/selenium/client/protocol.rb:19:in `string_command'
c:/ruby/lib/ruby/gems/1.8/gems/selenium-client-1.2.17/lib/selenium/client/base.rb:85:in `start_new_browser_session'
erail_script2.rb:18:in `setup'
Permissions in this forum:
You cannot reply to topics in this forum