Thanks for all your assistance so far guys! Bret - yes, you're right - it is a different issue because my error is produce consistently every time.
Alex - 32-bit (Linux emily-desktop 2.6.24-19-generic #1 SMP Wed Jun 18 14:43:41 UTC 2008 i686 GNU/Linux) Is there a way to check if the jssh extension has installed successfully (apart from it appear in the Add-ons > Extensions list in Firefox). I keep feeling like something hasn't installed correctly or I've missed a step. Would anyone know if it's possible for router settings to affect the jssh extension? (I'm just thinking of any differences between my work & home setup). Thanks again, Em On Apr 24, 6:44 am, Bret Pettichord <b...@pettichord.com> wrote: > George, > > The main difference is that yours is an intermittent problem, whereas > Emily's is reproducible every time. > > BTW, here is a ticket for the problem you reported to me last > week:http://jira.openqa.org/browse/WTR-309 > > Bret > > > > George wrote: > > Sorry, Bret...I thought it might have been the same since the error > > message looked the same... > > > On Apr 23, 9:35 am, Bret Pettichord <b...@pettichord.com> wrote: > > >> I think Emily's problem is different from the one we've discussed. > > >> Bret > > >> George wrote: > > >>> Hi Emily, > > >>> I've talked to Bret personally about this same issue...it appears that > >>> it is some kind of timing issue when Firefox opens its first browser. > >>> I would get this message once, but all subsequent attempts to open FF > >>> via Watir does not display the error from that point on. > > >>> -George > > >>> On Apr 22, 7:17 pm, emz452 <emz...@gmail.com> wrote: > > >>>> Hi there, > > >>>> I have recently started working from home and have just finished > >>>> setting up my rails development environment. I'm running into a > >>>> problem with Watir when running some of my tests. > > >>>> This was all running smoothly on my PC at work, so it must be some > >>>> setting or configuration problem on my home pc. > > >>>> I've seen this posted a couple of times in the forum, however I have > >>>> tried all the recommended solutions and still can't seem to resolve > >>>> it. > > >>>> The full error is: > >>>> Unable to connect to machine : 127.0.0.1 on port 9997. Make sure that > >>>> JSSh is properly installed and Firefox is running with '-jssh' option > >>>> (Watir::Exception::UnableToStartJSShException) > >>>> /home/emily/Documents/metis/vendor/plugins/watir-on-rails/lib/ > >>>> watir_on_rails.rb:35:in `open_browser' > >>>> ./features/support/watir.rb:331:in `initialize' > >>>> ./features/support/watir.rb:11:in `new' > >>>> ./features/support/watir.rb:11:in `initialize' > > >>>> A firefox browser does open up, but nothing further happens. > > >>>> My setup: > >>>> I'm using Ubuntu 8.04 (Hardy) (dual boot with a windows pc) > >>>> I have the gem firewatir 1.6.2 installed. > >>>> I'm using Firefox 3 and have the JSSh 0.9 extension installed and > >>>> enabled. (I made sure to select the Linux, Firefox 3 version from > >>>> here:http://wiki.openqa.org/display/WTR/FireWatir+Installation#FireWatirIn... > > >>>> My firefox settings are - > >>>> - New pages should be opened in a new window > >>>> - Popups are not blocked > > >>>> I have tried uninstalling/re-installing the JSSh extension, disabling > >>>> and re-enabling it and restarted firefox each time. > > >>>> If I launch firefox with -jssh and try to telnet: > >>>> em...@emily-desktop:~$ firefox -jssh > >>>> em...@emily-desktop:~$ telnet localhost 9997 > >>>> Trying 127.0.0.1... > >>>> telnet: Unable to connect to remote host: Connection refused > >>>> em...@emily-desktop:~$ > > >>>> When I run the unit tests it fails: > >>>> em...@emily-desktop:/usr/lib/ruby/gems/1.8/gems/firewatir-1.6.2/ > >>>> unittests$ sudo ruby mozilla_all_tests.rb > >>>> [sudo] password for emily: > >>>> /usr/lib/ruby/gems/1.8/gems/firewatir-1.6.2/unittests/setup.rb:13:in > >>>> `require': no such file to load -- watir (LoadError) > >>>> from > >>>> /usr/lib/ruby/gems/1.8/gems/firewatir-1.6.2/unittests/setup.rb: > >>>> 13 > >>>> from mozilla_all_tests.rb:3:in `require' > >>>> from mozilla_all_tests.rb:3 > >>>> However I read that this happens with 1.6.2, so I'm not sure if this > >>>> means anything. (I think I need to copy development files across?) > > >>>> If anyone has any suggestions of possible settings/config changes I > >>>> could check, it would be greatly appreciated! I'm new to watir - so > >>>> there may be something very obvious I've missed! > > >>>> Many thanks, > >>>> Emily > > >> -- > >> Bret Pettichord > >> CTO, WatirCraft LLC,www.watircraft.com > >> Lead Developer, Watir,www.watir.com > >> Blog,www.io.com/~wazmo/blog > >> Twitter,www.twitter.com/bpettichord > > >> Ask me about Watir trainingwww.watircraft.com/training > > -- > Bret Pettichord > CTO, WatirCraft LLC,www.watircraft.com > Lead Developer, Watir,www.watir.com > Blog,www.io.com/~wazmo/blog > Twitter,www.twitter.com/bpettichord > > Ask me about Watir trainingwww.watircraft.com/training --~--~---------~--~----~------------~-------~--~----~ 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 -~----------~----~----~----~------~----~------~--~---