[Wtr-general] Ruby/Watir on Vista : watir-1.5.1.1192 and windows-pr-0.6.2 : SetConsoleCommandHistoryMode : RuntimeError

2007-06-28 Thread Michael Kernaghan
Problem occurs with watir-1.5.1.1192 but DOES NOT occur with
watir-1.5.1.1166

 

Good result thanks!

 

> I get these errors:

> 

>
c:/ruby/lib/ruby/gems/1.8/gems/windows-pr-0.6.2/lib/windows/console.rb:7
6:in 

> `initialize': GetProcAddress: SetConsoleCommandHistoryMode or 

> SetConsoleCommandHistoryModeA (RuntimeError

 

 

Your error is with windows-pr 0.6.2 and the documentation is from 0.6.6.

In any case the problem is with the gem. I have both versions installed 
on my vista laptop. Can you track down the problem to a specific version

of this gem?
 
Bret

 

___
Wtr-general mailing list
Wtr-general@rubyforge.org
http://rubyforge.org/mailman/listinfo/wtr-general

Re: [Wtr-general] Ruby/Watir on Vista : watir-1.5.1.1192 and windows-pr-0.6.2 : SetConsoleCommandHistoryMode : RuntimeError

2007-06-25 Thread Bret Pettichord
Michael Kernaghan wrote:
>
> I have no trouble on Vista with Ruby and Watir 1.4.1. However, in my 
> efforts to do UI with modal Dialog I need to use recent Watir Gem. I 
> installed Ruby and then the latest Gem according to the instructions.
>
> I get these errors:
>
> c:/ruby/lib/ruby/gems/1.8/gems/windows-pr-0.6.2/lib/windows/console.rb:76:in 
> `initialize': GetProcAddress: SetConsoleCommandHistoryMode or 
> SetConsoleCommandHistoryModeA (RuntimeError)
>
> from 
> c:/ruby/lib/ruby/gems/1.8/gems/windows-pr-0.6.2/lib/windows/console.rb:76:in 
> `new'
>
> from 
> c:/ruby/lib/ruby/gems/1.8/gems/windows-pr-0.6.2/lib/windows/console.rb:76
>
> from c:/ruby/lib/ruby/site_ruby/1.8/rubygems/custom_require.rb:27:in 
> `gem_original_require'
>
> from c:/ruby/lib/ruby/site_ruby/1.8/rubygems/custom_require.rb:27:in 
> `require'
>
> from 
> c:/ruby/lib/ruby/gems/1.8/gems/win32-process-0.5.1/lib/win32/process.rb:6
>
> from c:/ruby/lib/ruby/site_ruby/1.8/rubygems/custom_require.rb:27:in 
> `gem_original_require'
>
> from c:/ruby/lib/ruby/site_ruby/1.8/rubygems/custom_require.rb:27:in 
> `require'
>
> from 
> c:/ruby/lib/ruby/gems/1.8/gems/watir-1.5.1.1192/./watir/ie-process.rb:1
>
> from c:/ruby/lib/ruby/site_ruby/1.8/rubygems/custom_require.rb:27:in 
> `gem_original_require'
>
> from c:/ruby/lib/ruby/site_ruby/1.8/rubygems/custom_require.rb:27:in 
> `require'
>
> from c:/ruby/lib/ruby/gems/1.8/gems/watir-1.5.1.1192/./watir.rb:47
>
> from c:/ruby/lib/ruby/site_ruby/1.8/rubygems/custom_require.rb:32:in 
> `gem_original_require'
>
> from c:/ruby/lib/ruby/site_ruby/1.8/rubygems/custom_require.rb:32:in 
> `require'
>
> This is interesting: 
> http://rubyforge.org/frs/shownotes.php?release_id=11482
>
> *Notes: *
>
>
>   Release Name: 0.6.6 
>
> *Notes:*  
> * Added the Windows::MSVCRT::IO module  
> * Removed a method from the Windows::Console module  
>
>
>
>   
>
> *Changes:*  
> * Added the Windows::MSVCRT::IO module.  
> * Removed the SetConsoleCommandHistoryMode method from the Windows::Console  
>   module. This was a preliminary function for Vista only, and it has since  
>   been removed. Thanks go to Drew Colthorp for the spot.  
>
> Can anyone explain this? Thanks.
>
> Is it as simple as not having turned off some annoying Vista security 
> poo? I thought I had got them all …
>
>
Your error is with windows-pr 0.6.2 and the documentation is from 0.6.6. 
In any case the problem is with the gem. I have both versions installed 
on my vista laptop. Can you track down the problem to a specific version 
of this gem?

Bret
___
Wtr-general mailing list
Wtr-general@rubyforge.org
http://rubyforge.org/mailman/listinfo/wtr-general


[Wtr-general] Ruby/Watir on Vista : watir-1.5.1.1192 and windows-pr-0.6.2 : SetConsoleCommandHistoryMode : RuntimeError

2007-06-25 Thread Michael Kernaghan
I have no trouble on Vista with Ruby and Watir 1.4.1. However, in my
efforts to do UI with modal Dialog I need to use recent Watir Gem. I
installed Ruby and then the latest Gem according to the instructions.

 

I get these errors:

 

c:/ruby/lib/ruby/gems/1.8/gems/windows-pr-0.6.2/lib/windows/console.rb:7
6:in `initialize': GetProcAddress: SetConsoleCommandHistoryMode or
SetConsoleCommandHistoryModeA (RuntimeError)

from
c:/ruby/lib/ruby/gems/1.8/gems/windows-pr-0.6.2/lib/windows/console.rb:7
6:in `new'

from
c:/ruby/lib/ruby/gems/1.8/gems/windows-pr-0.6.2/lib/windows/console.rb:7
6

from
c:/ruby/lib/ruby/site_ruby/1.8/rubygems/custom_require.rb:27:in
`gem_original_require'

from
c:/ruby/lib/ruby/site_ruby/1.8/rubygems/custom_require.rb:27:in
`require'

from
c:/ruby/lib/ruby/gems/1.8/gems/win32-process-0.5.1/lib/win32/process.rb:
6

from
c:/ruby/lib/ruby/site_ruby/1.8/rubygems/custom_require.rb:27:in
`gem_original_require'

from
c:/ruby/lib/ruby/site_ruby/1.8/rubygems/custom_require.rb:27:in
`require'

from
c:/ruby/lib/ruby/gems/1.8/gems/watir-1.5.1.1192/./watir/ie-process.rb:1

from
c:/ruby/lib/ruby/site_ruby/1.8/rubygems/custom_require.rb:27:in
`gem_original_require'

from
c:/ruby/lib/ruby/site_ruby/1.8/rubygems/custom_require.rb:27:in
`require'

from
c:/ruby/lib/ruby/gems/1.8/gems/watir-1.5.1.1192/./watir.rb:47

from
c:/ruby/lib/ruby/site_ruby/1.8/rubygems/custom_require.rb:32:in
`gem_original_require'

from
c:/ruby/lib/ruby/site_ruby/1.8/rubygems/custom_require.rb:32:in
`require'

 

 

This is interesting:
http://rubyforge.org/frs/shownotes.php?release_id=11482

 

Notes:



Release Name: 0.6.6  

Notes:
* Added the Windows::MSVCRT::IO module
* Removed a method from the Windows::Console module
 

  



  
 
Changes:
* Added the Windows::MSVCRT::IO module.
* Removed the SetConsoleCommandHistoryMode method from the
Windows::Console
  module. This was a preliminary function for Vista only, and it has
since
  been removed. Thanks go to Drew Colthorp for the spot.

 

 

Can anyone explain this? Thanks.

Is it as simple as not having turned off some annoying Vista security
poo? I thought I had got them all ...

 

 

 

___
Wtr-general mailing list
Wtr-general@rubyforge.org
http://rubyforge.org/mailman/listinfo/wtr-general