Re: [wtr-general] watir on Windows XP Pro Sp3 doesn't work
How come i couldn't reproduce it then? Is there anything in additional which makes that error appear? Jarmo Pertman - IT does really matter - http://itreallymatters.net On Thursday, January 3, 2013 11:32:44 PM UTC+2, Daniel Berger wrote: I didn't know this until recently. It seems _get_errno is available on Windows XP, but isn't actually an exported function on that runtime. Phooey. I'll probably have to replace it with FFI.errno (aka GetLastError) for XP but it will be potentially inaccurate error information. Regards, Dan On Tuesday, October 23, 2012 10:28:33 AM UTC-6, Jarmo Pertman wrote: I'm wondering if the author of win32-process gem is aware of this issue already? If some of you could take some time and create an issue under https://github.com/djberg96/win32-process/issues - that would be awesome :) I'm not on win xp and can't reproduce it. Jarmo Pertman - IT does really matter - http://itreallymatters.net On Tuesday, October 23, 2012 8:43:15 AM UTC+3, pranay bhagde wrote: Down grading the win32-processes to 0.6.5 really works thanks a lot. On Saturday, 8 September 2012 03:19:04 UTC+5:30, Željko Filipin wrote: On Fri, Sep 7, 2012 at 5:15 PM, Emanuele Mandaglio e.gi...@gmail.com wrote: ffi (1.1.5) C:/Ruby193/lib/ruby/gems/1.9.1/gems/watir-classic-3.1.0/lib/watir-classic/browser.rb:89:in `eval': Function '_get_errno' not found in [msvcrt.dll] (FFI::NotFoundError) This looks like a problem with ffi gem. We had problems with that gem before. Try upgrading or downgrading the gem. Let us know if you do not know how to do that. Željko -- filipin.eu -- Before posting, please read http://watir.com/support. In short: search before you ask, be nice. watir-general@googlegroups.com http://groups.google.com/group/watir-general watir-general+unsubscr...@googlegroups.com
Re: [wtr-general] watir on Windows XP Pro Sp3 doesn't work
I didn't know this until recently. It seems _get_errno is available on Windows XP, but isn't actually an exported function on that runtime. Phooey. I'll probably have to replace it with FFI.errno (aka GetLastError) for XP but it will be potentially inaccurate error information. Regards, Dan On Tuesday, October 23, 2012 10:28:33 AM UTC-6, Jarmo Pertman wrote: I'm wondering if the author of win32-process gem is aware of this issue already? If some of you could take some time and create an issue under https://github.com/djberg96/win32-process/issues - that would be awesome :) I'm not on win xp and can't reproduce it. Jarmo Pertman - IT does really matter - http://itreallymatters.net On Tuesday, October 23, 2012 8:43:15 AM UTC+3, pranay bhagde wrote: Down grading the win32-processes to 0.6.5 really works thanks a lot. On Saturday, 8 September 2012 03:19:04 UTC+5:30, Željko Filipin wrote: On Fri, Sep 7, 2012 at 5:15 PM, Emanuele Mandaglio e.gi...@gmail.com wrote: ffi (1.1.5) C:/Ruby193/lib/ruby/gems/1.9.1/gems/watir-classic-3.1.0/lib/watir-classic/browser.rb:89:in `eval': Function '_get_errno' not found in [msvcrt.dll] (FFI::NotFoundError) This looks like a problem with ffi gem. We had problems with that gem before. Try upgrading or downgrading the gem. Let us know if you do not know how to do that. Željko -- filipin.eu -- Before posting, please read http://watir.com/support. In short: search before you ask, be nice. watir-general@googlegroups.com http://groups.google.com/group/watir-general watir-general+unsubscr...@googlegroups.com
Re: [wtr-general] watir on Windows XP Pro Sp3 doesn't work
Downgrading win-process works On Saturday, 8 September 2012 03:19:04 UTC+5:30, Željko Filipin wrote: On Fri, Sep 7, 2012 at 5:15 PM, Emanuele Mandaglio e.gi...@gmail.comjavascript: wrote: ffi (1.1.5) C:/Ruby193/lib/ruby/gems/1.9.1/gems/watir-classic-3.1.0/lib/watir-classic/browser.rb:89:in `eval': Function '_get_errno' not found in [msvcrt.dll] (FFI::NotFoundError) This looks like a problem with ffi gem. We had problems with that gem before. Try upgrading or downgrading the gem. Let us know if you do not know how to do that. Željko -- filipin.eu -- Before posting, please read http://watir.com/support. In short: search before you ask, be nice. watir-general@googlegroups.com http://groups.google.com/group/watir-general watir-general+unsubscr...@googlegroups.com
Re: [wtr-general] watir on Windows XP Pro Sp3 doesn't work
Down grading the win32-processes to 0.6.5 really works thanks a lot. On Saturday, 8 September 2012 03:19:04 UTC+5:30, Željko Filipin wrote: On Fri, Sep 7, 2012 at 5:15 PM, Emanuele Mandaglio e.gi...@gmail.comjavascript: wrote: ffi (1.1.5) C:/Ruby193/lib/ruby/gems/1.9.1/gems/watir-classic-3.1.0/lib/watir-classic/browser.rb:89:in `eval': Function '_get_errno' not found in [msvcrt.dll] (FFI::NotFoundError) This looks like a problem with ffi gem. We had problems with that gem before. Try upgrading or downgrading the gem. Let us know if you do not know how to do that. Željko -- filipin.eu -- Before posting, please read http://watir.com/support. In short: search before you ask, be nice. watir-general@googlegroups.com http://groups.google.com/group/watir-general watir-general+unsubscr...@googlegroups.com
Re: [wtr-general] watir on Windows XP Pro Sp3 doesn't work
I'm wondering if the author of win32-process gem is aware of this issue already? If some of you could take some time and create an issue under https://github.com/djberg96/win32-process/issues - that would be awesome :) I'm not on win xp and can't reproduce it. Jarmo Pertman - IT does really matter - http://itreallymatters.net On Tuesday, October 23, 2012 8:43:15 AM UTC+3, pranay bhagde wrote: Down grading the win32-processes to 0.6.5 really works thanks a lot. On Saturday, 8 September 2012 03:19:04 UTC+5:30, Željko Filipin wrote: On Fri, Sep 7, 2012 at 5:15 PM, Emanuele Mandaglio e.gi...@gmail.com wrote: ffi (1.1.5) C:/Ruby193/lib/ruby/gems/1.9.1/gems/watir-classic-3.1.0/lib/watir-classic/browser.rb:89:in `eval': Function '_get_errno' not found in [msvcrt.dll] (FFI::NotFoundError) This looks like a problem with ffi gem. We had problems with that gem before. Try upgrading or downgrading the gem. Let us know if you do not know how to do that. Željko -- filipin.eu -- Before posting, please read http://watir.com/support. In short: search before you ask, be nice. watir-general@googlegroups.com http://groups.google.com/group/watir-general watir-general+unsubscr...@googlegroups.com
Re: [wtr-general] watir on Windows XP Pro Sp3 doesn't work
It works!! Thank you all for the support Regards, Emanuele Il giorno martedì 18 settembre 2012 10:57:02 UTC+2, Željko Filipin ha scritto: On Tue, Sep 18, 2012 at 1:46 AM, hillary weima...@gmail.com javascript: wrote: so in the end win32-process was the only gem that had to be downgraded. Thanks for letting us know. Željko -- Before posting, please read http://watir.com/support. In short: search before you ask, be nice. watir-general@googlegroups.com http://groups.google.com/group/watir-general watir-general+unsubscr...@googlegroups.com
Re: [wtr-general] watir on Windows XP Pro Sp3 doesn't work
On Tue, Sep 18, 2012 at 1:46 AM, hillary weimar1...@gmail.com wrote: so in the end win32-process was the only gem that had to be downgraded. Thanks for letting us know. Željko -- Before posting, please read http://watir.com/support. In short: search before you ask, be nice. watir-general@googlegroups.com http://groups.google.com/group/watir-general watir-general+unsubscr...@googlegroups.com
Re: [wtr-general] watir on Windows XP Pro Sp3 doesn't work
gem uninstall win32-process -v 0.7.0 gem install win32-process -v 0.6.6 -- it works, really thanks~~~ 在 2012年9月14日星期五UTC+8上午3时01分24秒,smile-on写道: I have got exactly same error after upgrade watir (watir-classic) from 3.0.0 to latest and grates 3.1.0 :) After downgrade this problem has gone. downgrade steps: gem uninstall watir-classic -v 3.1.0 gem install watir-classic -v 3.0.0 gem uninstall win32-process -v 0.7.0 gem install win32-process -v 0.6.6 On Friday, 7 September 2012 17:49:04 UTC-4, Željko Filipin wrote: On Fri, Sep 7, 2012 at 5:15 PM, Emanuele Mandaglio e.gi...@gmail.com wrote: ffi (1.1.5) C:/Ruby193/lib/ruby/gems/1.9.1/gems/*watir-classic-3.1.0/*lib/watir-classic/browser.rb:89:in `eval': Function '_get_errno' not found in [msvcrt.dll] (FFI::NotFoundError) This looks like a problem with ffi gem. We had problems with that gem before. Try upgrading or downgrading the gem. Let us know if you do not know how to do that. Željko -- filipin.eu -- Before posting, please read http://watir.com/support. In short: search before you ask, be nice. watir-general@googlegroups.com http://groups.google.com/group/watir-general watir-general+unsubscr...@googlegroups.com
Re: [wtr-general] watir on Windows XP Pro Sp3 doesn't work
I also got this issue. It worked with the following gem configuration on my windows7 and xp.sp3 machines: watir-classic 3.1.0 ffi 1.1.5 win32-process 0.6.6 so in the end win32-process was the only gem that had to be downgraded. On Friday, September 7, 2012 2:49:04 PM UTC-7, Željko Filipin wrote: On Fri, Sep 7, 2012 at 5:15 PM, Emanuele Mandaglio e.gi...@gmail.comjavascript: wrote: ffi (1.1.5) C:/Ruby193/lib/ruby/gems/1.9.1/gems/watir-classic-3.1.0/lib/watir-classic/browser.rb:89:in `eval': Function '_get_errno' not found in [msvcrt.dll] (FFI::NotFoundError) This looks like a problem with ffi gem. We had problems with that gem before. Try upgrading or downgrading the gem. Let us know if you do not know how to do that. Željko -- filipin.eu -- Before posting, please read http://watir.com/support. In short: search before you ask, be nice. watir-general@googlegroups.com http://groups.google.com/group/watir-general watir-general+unsubscr...@googlegroups.com
Re: [wtr-general] watir on Windows XP Pro Sp3 doesn't work
I can see that you've uninstalled win32-process too, but didn't touch ffi gem. If you're using win32-process -v 0.6.6 with watir-classic -v 3.1.0 what happens? What version of ffi are you using? Jarmo On Thursday, September 13, 2012 10:01:24 PM UTC+3, smile-on wrote: I have got exactly same error after upgrade watir (watir-classic) from 3.0.0 to latest and grates 3.1.0 :) After downgrade this problem has gone. downgrade steps: gem uninstall watir-classic -v 3.1.0 gem install watir-classic -v 3.0.0 gem uninstall win32-process -v 0.7.0 gem install win32-process -v 0.6.6 On Friday, 7 September 2012 17:49:04 UTC-4, Željko Filipin wrote: On Fri, Sep 7, 2012 at 5:15 PM, Emanuele Mandaglio e.gi...@gmail.com wrote: ffi (1.1.5) C:/Ruby193/lib/ruby/gems/1.9.1/gems/*watir-classic-3.1.0/*lib/watir-classic/browser.rb:89:in `eval': Function '_get_errno' not found in [msvcrt.dll] (FFI::NotFoundError) This looks like a problem with ffi gem. We had problems with that gem before. Try upgrading or downgrading the gem. Let us know if you do not know how to do that. Željko -- filipin.eu -- Before posting, please read http://watir.com/support. In short: search before you ask, be nice. watir-general@googlegroups.com http://groups.google.com/group/watir-general watir-general+unsubscr...@googlegroups.com
Re: [wtr-general] watir on Windows XP Pro Sp3 doesn't work
Also, what is the error message when you use the following code: browser = Watir::IE.new Jarmo On Saturday, September 15, 2012 9:48:38 PM UTC+3, Jarmo Pertman wrote: I can see that you've uninstalled win32-process too, but didn't touch ffi gem. If you're using win32-process -v 0.6.6 with watir-classic -v 3.1.0 what happens? What version of ffi are you using? Jarmo On Thursday, September 13, 2012 10:01:24 PM UTC+3, smile-on wrote: I have got exactly same error after upgrade watir (watir-classic) from 3.0.0 to latest and grates 3.1.0 :) After downgrade this problem has gone. downgrade steps: gem uninstall watir-classic -v 3.1.0 gem install watir-classic -v 3.0.0 gem uninstall win32-process -v 0.7.0 gem install win32-process -v 0.6.6 On Friday, 7 September 2012 17:49:04 UTC-4, Željko Filipin wrote: On Fri, Sep 7, 2012 at 5:15 PM, Emanuele Mandaglio e.gi...@gmail.com wrote: ffi (1.1.5) C:/Ruby193/lib/ruby/gems/1.9.1/gems/*watir-classic-3.1.0/*lib/watir-classic/browser.rb:89:in `eval': Function '_get_errno' not found in [msvcrt.dll] (FFI::NotFoundError) This looks like a problem with ffi gem. We had problems with that gem before. Try upgrading or downgrading the gem. Let us know if you do not know how to do that. Željko -- filipin.eu -- Before posting, please read http://watir.com/support. In short: search before you ask, be nice. watir-general@googlegroups.com http://groups.google.com/group/watir-general watir-general+unsubscr...@googlegroups.com
Re: [wtr-general] watir on Windows XP Pro Sp3 doesn't work
I get the same error message on Windows XP SP3. Anyone has fond a fix or workaround for this? Thanks. ppilotte -- Before posting, please read http://watir.com/support. In short: search before you ask, be nice. watir-general@googlegroups.com http://groups.google.com/group/watir-general watir-general+unsubscr...@googlegroups.com
Re: [wtr-general] watir on Windows XP Pro Sp3 doesn't work
I have got exactly same error after upgrade watir (watir-classic) from 3.0.0 to latest and grates 3.1.0 :) After downgrade this problem has gone. downgrade steps: gem uninstall watir-classic -v 3.1.0 gem install watir-classic -v 3.0.0 gem uninstall win32-process -v 0.7.0 gem install win32-process -v 0.6.6 On Friday, 7 September 2012 17:49:04 UTC-4, Željko Filipin wrote: On Fri, Sep 7, 2012 at 5:15 PM, Emanuele Mandaglio e.gi...@gmail.comjavascript: wrote: ffi (1.1.5) C:/Ruby193/lib/ruby/gems/1.9.1/gems/*watir-classic-3.1.0/*lib/watir-classic/browser.rb:89:in `eval': Function '_get_errno' not found in [msvcrt.dll] (FFI::NotFoundError) This looks like a problem with ffi gem. We had problems with that gem before. Try upgrading or downgrading the gem. Let us know if you do not know how to do that. Željko -- filipin.eu -- Before posting, please read http://watir.com/support. In short: search before you ask, be nice. watir-general@googlegroups.com http://groups.google.com/group/watir-general watir-general+unsubscr...@googlegroups.com
Re: [wtr-general] watir on Windows XP Pro Sp3 doesn't work
Thank you for the support. I've tried to downgrade the ffi gem but it still doesn't work. Here's the result: 1.1.5 : not work 1.1.4 : not work 1.1.3 : not work 1.1.2 : not work 1.1.1 : not work 1.1.0 : not work 1.0.11 : not work The previous versions gives me a compilation error... The error was always the same... Thanks, Emanuele Il giorno venerdì 7 settembre 2012 23:49:04 UTC+2, Željko Filipin ha scritto: On Fri, Sep 7, 2012 at 5:15 PM, Emanuele Mandaglio e.gi...@gmail.comjavascript: wrote: ffi (1.1.5) C:/Ruby193/lib/ruby/gems/1.9.1/gems/watir-classic-3.1.0/lib/watir-classic/browser.rb:89:in `eval': Function '_get_errno' not found in [msvcrt.dll] (FFI::NotFoundError) This looks like a problem with ffi gem. We had problems with that gem before. Try upgrading or downgrading the gem. Let us know if you do not know how to do that. Željko -- filipin.eu -- Before posting, please read http://watir.com/support. In short: search before you ask, be nice. watir-general@googlegroups.com http://groups.google.com/group/watir-general watir-general+unsubscr...@googlegroups.com
Re: [wtr-general] watir on Windows XP Pro Sp3 doesn't work
Hello, This code below works for me on xp sp3, dunno rly why :) begin ie = Watir::IE.new rescue Exception e begin ie = Watir::Browser.new rescue Exception e puts #{e} end end Regards, Le vendredi 7 septembre 2012 23:49:04 UTC+2, Željko Filipin a écrit : On Fri, Sep 7, 2012 at 5:15 PM, Emanuele Mandaglio e.gi...@gmail.comjavascript: wrote: ffi (1.1.5) C:/Ruby193/lib/ruby/gems/1.9.1/gems/watir-classic-3.1.0/lib/watir-classic/browser.rb:89:in `eval': Function '_get_errno' not found in [msvcrt.dll] (FFI::NotFoundError) This looks like a problem with ffi gem. We had problems with that gem before. Try upgrading or downgrading the gem. Let us know if you do not know how to do that. Željko -- filipin.eu -- Before posting, please read http://watir.com/support. In short: search before you ask, be nice. watir-general@googlegroups.com http://groups.google.com/group/watir-general watir-general+unsubscr...@googlegroups.com
Re: [wtr-general] watir on Windows XP Pro Sp3 doesn't work
On Fri, Sep 7, 2012 at 5:15 PM, Emanuele Mandaglio e.gia...@gmail.com wrote: ffi (1.1.5) C:/Ruby193/lib/ruby/gems/1.9.1/gems/watir-classic-3.1.0/lib/watir-classic/browser.rb:89:in `eval': Function '_get_errno' not found in [msvcrt.dll] (FFI::NotFoundError) This looks like a problem with ffi gem. We had problems with that gem before. Try upgrading or downgrading the gem. Let us know if you do not know how to do that. Željko -- filipin.eu -- Before posting, please read http://watir.com/support. In short: search before you ask, be nice. watir-general@googlegroups.com http://groups.google.com/group/watir-general watir-general+unsubscr...@googlegroups.com