Just heard of this great browser simulator, and couldn't wait to try
it out. My ruby version is 1.8.7, firefox version is 3.5.7, has
FireBug 1.5.0 installed. Installation of 'firewatir' gem went well,
and now I'm starting the irb to follow some tutorial:

Here's the whole process of having the problem (very short):

p...@ubuntu:~/development/ruby/projects$ irb
>> require 'watir'
=> true
>> Watir::Browser.default="firefox"
=> "firefox"
>> l = 
>> "http://images.google.com/images?hl=en&source=hp&q=shrek&gbv=2&aq=f&oq=&aqi=g6g-s1g3";
=> "http://images.google.com/images?
hl=en&source=hp&q=shrek&gbv=2&aq=f&oq=&aqi=g6g-s1g3"
>> b = Watir::Browser.start(l)

# Now the problem begins. It stays in this state for 5 minutes, and
shows no sign of getting to anywhere. I had to CTRL-C to stop the
process. And here's the error dump:

^CIRB::Abort: abort then interrupt!!
        from /usr/lib/ruby/1.8/irb.rb:81:in `irb_abort'
        from /usr/lib/ruby/1.8/irb.rb:247:in `signal_handle'
        from /usr/lib/ruby/1.8/irb.rb:66:in `start'
        from /usr/lib/ruby/gems/1.8/gems/activesupport-2.3.5/lib/
active_support/core_ext/string/output_safety.rb:25:in `call'
        from /usr/lib/ruby/gems/1.8/gems/activesupport-2.3.5/lib/
active_support/core_ext/string/output_safety.rb:25:in `+'
        from /usr/lib/ruby/gems/1.8/gems/firewatir-1.6.5/lib/firewatir/
jssh_socket.rb:52:in `read_socket'
        from /usr/lib/ruby/gems/1.8/gems/firewatir-1.6.5/lib/firewatir/
jssh_socket.rb:47:in `each'
        from /usr/lib/ruby/gems/1.8/gems/firewatir-1.6.5/lib/firewatir/
jssh_socket.rb:47:in `read_socket'
        from /usr/lib/ruby/gems/1.8/gems/firewatir-1.6.5/lib/firewatir/
jssh_socket.rb:6:in `js_eval'
        from /usr/lib/ruby/gems/1.8/gems/firewatir-1.6.5/lib/firewatir/
firefox.rb:175:in `get_window_number'
        from /usr/lib/ruby/gems/1.8/gems/firewatir-1.6.5/lib/firewatir/
firefox.rb:132:in `initialize'
        from /usr/lib/ruby/gems/1.8/gems/firewatir-1.6.5/lib/firewatir/
firefox.rb:163:in `new'
        from /usr/lib/ruby/gems/1.8/gems/firewatir-1.6.5/lib/firewatir/
firefox.rb:163:in `start'
        from /usr/lib/ruby/gems/1.8/gems/commonwatir-1.6.5/lib/watir/
browser.rb:71:in `start'
        from (irb):4

>> quit



I initially thought maybe the program cannot be started from irb
shell, so I put all the 3 lines of code into a separate ruby script,
and tried to run it independently. Same problem happens again.

Any ideas?

-- 
You received this message because you are subscribed to the Google Groups 
"Watir General" group.
To post to this group, send email to watir-general@googlegroups.com
Before posting, please read the following guidelines: 
http://wiki.openqa.org/display/WTR/Support
To unsubscribe from this group, send email to 
watir-general-unsubscr...@googlegroups.com
For more options, visit this group at 
http://groups.google.com/group/watir-general

Reply via email to