Forums | Admin

Discussion Forums: help

Start New Thread Start New Thread

 

By: Mark Seymour
RE: WIN32OLERuntimeError: unknown property/method [ reply ]  
2009-12-31 17:02
Hi,

Bug filed.

Mark

By: Daniel Berger
RE: WIN32OLERuntimeError: unknown property/method [ reply ]  
2009-12-31 16:56
Hi,

Looks like they changed some of the WMI properties in Windows 7. Please do me a favor and file a bug report.

I guess I need to get a Windows 7 VM installed.

Regards,

Dan

By: Mark Seymour
WIN32OLERuntimeError: unknown property/method [ reply ]  
2009-12-31 16:42
I get this error when I try to use the 'uname' method of Sys-uname under Windows 7 x64 Professional RTM:

irb(main):010:0* p Uname.uname
WIN32OLERuntimeError: unknown property or method `QuantumLength'
HRESULT error code:0x80020006
Unknown name.
from C:/Ruby/lib/ruby/gems/1.8/gems/sys-uname-0.8.3-x86-mswin32-60/lib/sys/uname.rb:426:in `method_missing'
from C:/Ruby/lib/ruby/gems/1.8/gems/sys-uname-0.8.3-x86-mswin32-60/lib/sys/uname.rb:426:in `uname'
from C:/Ruby/lib/ruby/gems/1.8/gems/sys-uname-0.8.3-x86-mswin32-60/lib/sys/uname.rb:387:in `each'
from C:/Ruby/lib/ruby/gems/1.8/gems/sys-uname-0.8.3-x86-mswin32-60/lib/sys/uname.rb:387:in `uname'
from (irb):10