[wtr-general] Re: Get the error when try to run the watir code in Mac

2009-09-28 Thread yuping zhong

Thank for Rafael Fonseca's reply.

But when I run code,get the following error:

/usr/local/lib/ruby/gems/1.8/gems/firewatir-1.6.2/lib/firewatir/
firefox.rb:271:in `set_defaults': 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)
from /usr/local/lib/ruby/gems/1.8/gems/firewatir-1.6.2/lib/firewatir/
firefox.rb:161:in `initialize'
from /usr/local/lib/ruby/gems/1.8/gems/commonwatir-1.6.2/lib/watir/
browser.rb:65:in `new'
from /usr/local/lib/ruby/gems/1.8/gems/commonwatir-1.6.2/lib/watir/
browser.rb:65:in `new'
from test_firefox_mac.rb:4

BWT,I use the 64 bit 10.6 Snow Leopard,does the JSSH support 64 bit
system???




On Sep 26, 6:22 am, Rafael Fonseca rafael.m...@gmail.com wrote:
 Try running this on Terminal:
 mv /Applications/Firefox.app/Contents/MacOS/libsqlite3.dylib
 /Applications/Firefox.app/Contents/MacOS/libsqlite3.dylib.orig
 *
 *
 *cp /usr/lib/libsqlite3.dylib
 /Applications/Firefox.app/Contents/MacOS/libsqlite3.dylib*
 *
 *
 ***Worked for me.
 *--
 Rafael Fonsecawww.nunca.com.br

 2009/9/25 yuping zhong littlezhong...@gmail.com



  libsqlite3.dylib
--~--~-~--~~~---~--~~
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
-~--~~~~--~~--~--~---



[wtr-general] Re: Get the error when try to run the watir code in Mac

2009-09-28 Thread Željko Filipin
On Mon, Sep 28, 2009 at 12:46 PM, yuping zhong littlezhong...@gmail.com
wrote:
 BWT,I use the 64 bit 10.6 Snow Leopard,does the JSSH support 64 bit
 system???

I think all xpi files on
http://wiki.openqa.org/display/WTR/FireWatir+Installation are for 32 bit
systems. You will probably have to compile 64 version yourself (and please
upload it to the page after you compile it, so other people can use it).

To compile:

http://www.daveliebreich.com/blog/?page_id=6
https://developer.mozilla.org/en/Build_Documentation

Željko
--
http://watirpodcast.com/

--~--~-~--~~~---~--~~
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
-~--~~~~--~~--~--~---



[wtr-general] Re: Get the error when try to run the watir code in Mac

2009-09-25 Thread Rafael Fonseca
Try running this on Terminal:
mv /Applications/Firefox.app/Contents/MacOS/libsqlite3.dylib
/Applications/Firefox.app/Contents/MacOS/libsqlite3.dylib.orig
*
*
*cp /usr/lib/libsqlite3.dylib
/Applications/Firefox.app/Contents/MacOS/libsqlite3.dylib*
*
*
***Worked for me.
*--
Rafael Fonseca
www.nunca.com.br


2009/9/25 yuping zhong littlezhong...@gmail.com

 libsqlite3.dylib

--~--~-~--~~~---~--~~
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
-~--~~~~--~~--~--~---