Google Groups Home
Help | Sign in
installation failes
There are currently too many topics in this group that display first. To make this topic appear first, remove this option from another topic.
There was an error processing your request. Please try again.
flag
  9 messages - Collapse all
The group you are posting to is a Usenet group. Messages posted to this group will make your email address visible to anyone on the Internet.
Your reply message has not been sent.
Your post was successful
marcoa  
View profile
 More options May 5, 4:59 pm
From: marcoa <m...@rwdi.com>
Date: Mon, 5 May 2008 13:59:02 -0700 (PDT)
Local: Mon, May 5 2008 4:59 pm
Subject: installation failes
I am a newbie to this tool. I have installed ruby (ruby182-15.exe) and
then ran the watir install (gem install watir). I then went to run a
simple example which I downloaded and it crashes. The reason I used
182-15 is that I read it was the only version which supports web modal
dialog pages see http://wtr.rubyforge.org/install.html

 ..."However, if you wish to use Watir’s support for the IE
showModalDialog then you must use Ruby 1.8.2-15 (or 1.8.2-14) and not
a more recent version. This dialog is the one that is posted with the
showModalDialog() JavaScript command and is supported with Watir’s
ie.modal_dialog command.."

Below is the crash dump. Now if someone else can suggest a better
alternative I am happy to try it.

Thanks

Marco

>ruby google_search.rb

d:/program files/ruby/lib/ruby/gems/1.8/gems/windows-api-0.2.3/lib/
windows/api.rb:331:in `initialize': GetProcAddress() failed for
'GetLayeredWindowAttributes', 'GetLayeredWindowAttributesA' and
'GetLayeredWindowAttributesW': The specified procedure could not be
found. (Windows::API::Error)
        from d:/program files/ruby/lib/ruby/gems/1.8/gems/windows-pr-0.8.3/
lib/windows/window.rb:40:in `new'
        from d:/program files/ruby/lib/ruby/gems/1.8/gems/windows-pr-0.8.3/
lib/windows/window.rb:40
        from d:/program files/ruby/lib/ruby/site_ruby/1.8/rubygems/
custom_require.rb:18:in `require__'
        from d:/program files/ruby/lib/ruby/site_ruby/1.8/rubygems/
custom_require.rb:18:in `require'
        from d:/program files/ruby/lib/ruby/gems/1.8/gems/win32-process-0.5.8/
lib/win32/process.rb:8
        from d:/program files/ruby/lib/ruby/site_ruby/1.8/rubygems/
custom_require.rb:18:in `require__'
        from d:/program files/ruby/lib/ruby/site_ruby/1.8/rubygems/
custom_require.rb:18:in `require'
        from d:/program files/ruby/lib/ruby/gems/1.8/gems/watir-1.5.4/./watir/
ie-process.rb:1
        from d:/program files/ruby/lib/ruby/site_ruby/1.8/rubygems/
custom_require.rb:18:in `require__'
        from d:/program files/ruby/lib/ruby/site_ruby/1.8/rubygems/
custom_require.rb:18:in `require'
        from d:/program files/ruby/lib/ruby/gems/1.8/gems/watir-1.5.4/./
watir.rb:47
        from d:/program files/ruby/lib/ruby/site_ruby/1.8/rubygems/
custom_require.rb:18:in `require__'
        from d:/program files/ruby/lib/ruby/site_ruby/1.8/rubygems/
custom_require.rb:18:in `require'
        from d:/program files/ruby/lib/ruby/site_ruby/1.8/rubygems.rb:175:in
`activate'
        from d:/program files/ruby/lib/ruby/site_ruby/1.8/rubygems/
custom_require.rb:23:in `require'
        from google_search.rb:15


    Reply to author    Forward  
You must Sign in before you can post messages.
To post a message you must first join this group.
Please update your nickname on the subscription settings page before posting.
You do not have the permission required to post.
Bill Agee  
View profile
 More options May 5, 5:21 pm
From: "Bill Agee" <billa...@gmail.com>
Date: Mon, 5 May 2008 14:21:47 -0700
Local: Mon, May 5 2008 5:21 pm
Subject: Re: [wtr-general] installation failes

What version of Windows are you using?

Thanks
Bill

On 5/5/08, marcoa <m...@rwdi.com> wrote:


    Reply to author    Forward  
You must Sign in before you can post messages.
To post a message you must first join this group.
Please update your nickname on the subscription settings page before posting.
You do not have the permission required to post.
Carl Shaulis  
View profile
 More options May 5, 11:07 pm
From: "Carl Shaulis" <carl.shau...@gmail.com>
Date: Mon, 5 May 2008 22:07:09 -0500
Local: Mon, May 5 2008 11:07 pm
Subject: Re: [wtr-general] installation failes

Last week I set up a new environment using these instructions.

http://wiki.openqa.org/display/WTR/Setting+up+Eclipse+for+Ruby

The only change needed for this document is the line for eclipse is missing
the executable portion for start eclipse.

After installation I ran the all_tests.rb.  Over 1500 assertions passed,
there were 7 fails, and I think 2 errors.  I believe the fails and errors
are documented as open issues or concerns.  The unit tests in my opinion are
the best indicator that your environment is set up correctly.

I have found in the past that I had issues installing under the programs
files directory.

Perhaps uninstall and follow the instructions above, installing to an apps
folder.

Good luck!

Carl

On 5/5/08, marcoa <m...@rwdi.com> wrote:


    Reply to author    Forward  
You must Sign in before you can post messages.
To post a message you must first join this group.
Please update your nickname on the subscription settings page before posting.
You do not have the permission required to post.
marcoa  
View profile
 More options May 6, 7:09 am
From: marcoa <m...@rwdi.com>
Date: Tue, 6 May 2008 04:09:53 -0700 (PDT)
Local: Tues, May 6 2008 7:09 am
Subject: Re: installation failes
I have tried both windows 2000 pro and windows xp pro and came up with
the same error
thanks Marco

On May 5, 5:21 pm, "Bill Agee" <billa...@gmail.com> wrote:


    Reply to author    Forward  
You must Sign in before you can post messages.
To post a message you must first join this group.
Please update your nickname on the subscription settings page before posting.
You do not have the permission required to post.
marcoa  
View profile
 More options May 6, 7:15 am
From: marcoa <m...@rwdi.com>
Date: Tue, 6 May 2008 04:15:14 -0700 (PDT)
Local: Tues, May 6 2008 7:15 am
Subject: Re: installation failes
I notice the instructions are for watir 1.4 but when I perform a gem
install of watir (gem install watir) it installs 1.5.x. Could my
problem be related to the watir version?

Thanks
Marco

On May 5, 11:07 pm, "Carl Shaulis" <carl.shau...@gmail.com> wrote:


    Reply to author    Forward  
You must Sign in before you can post messages.
To post a message you must first join this group.
Please update your nickname on the subscription settings page before posting.
You do not have the permission required to post.
Carl Shaulis  
View profile
 More options May 6, 2:40 pm
From: "Carl Shaulis" <carl.shau...@gmail.com>
Date: Tue, 6 May 2008 13:40:20 -0500
Local: Tues, May 6 2008 2:40 pm
Subject: Re: [wtr-general] Re: installation failes

I have WATIR installed in two different environments.  Here are the
specifics:

Windows XP Professional - version 2002 - SP 2
Ruby 1.8.2 2004-12-25 [i386-mswin32]
WATIR 1.3.1 (This interesting since I thought I had installed 1.4 stable
release)

Windows 2000 5.0.0.2195 SP4
Ruby 185-24
WATIR-1[1].5.1.1230.gem

Perhaps a comparison to your environments will shed some light.

Cheers,

Carl

On 5/6/08, marcoa <m...@rwdi.com> wrote:


    Reply to author    Forward  
You must Sign in before you can post messages.
To post a message you must first join this group.
Please update your nickname on the subscription settings page before posting.
You do not have the permission required to post.
Nathan Lane  
View profile
 More options May 6, 3:15 pm
From: "Nathan Lane" <nathamberl...@gmail.com>
Date: Tue, 6 May 2008 13:15:53 -0600
Local: Tues, May 6 2008 3:15 pm
Subject: Re: [wtr-general] Re: installation failes

Marcoa - why aren't you using Ruby 1.8.5?

Nathan

--
Nathan Lane
Home, http://www.nathandelane.com
Blog, http://nathandelane.blogspot.com

    Reply to author    Forward  
You must Sign in before you can post messages.
To post a message you must first join this group.
Please update your nickname on the subscription settings page before posting.
You do not have the permission required to post.
Nathan Lane  
View profile
 More options May 6, 3:17 pm
From: "Nathan Lane" <nathamberl...@gmail.com>
Date: Tue, 6 May 2008 13:17:36 -0600
Local: Tues, May 6 2008 3:17 pm
Subject: Re: [wtr-general] Re: installation failes

To append why I am asking - you get dialog handling support in Watir 1.5 and
Ruby 1.8.5 that is very good.

--
Nathan Lane
Home, http://www.nathandelane.com
Blog, http://nathandelane.blogspot.com

    Reply to author    Forward  
You must Sign in before you can post messages.
To post a message you must first join this group.
Please update your nickname on the subscription settings page before posting.
You do not have the permission required to post.
marcoa &nb