#N/A bug segmentation

W

WKC CCC

I am using ruby with COM objects. On certain COM function calls the
output of: COMFunction(arg1,arg2)should produce #N/A, or nil presumably
in Ruby, however the following occurs:

[BUG] Segmentation fault
ruby 1.8.5
(2006-08-25) i386-mswin32]

Any ideas? Is this a ruby problem or an issue with the way WIN32OLE
handles certain objects?

Thanks
 
D

Daniel Berger

WKC said:
I am using ruby with COM objects. On certain COM function calls the
output of: COMFunction(arg1,arg2)should produce #N/A, or nil presumably
in Ruby, however the following occurs:

[BUG] Segmentation fault
ruby 1.8.5
(2006-08-25) i386-mswin32]

Any ideas? Is this a ruby problem or an issue with the way WIN32OLE
handles certain objects?

It could be a bug in win32ole. Got a code sample?

Thanks,

Dan
 
U

udo.froehling

WKC said:
I am using ruby with COM objects. On certain COM function calls the
output of: COMFunction(arg1,arg2)should produce #N/A, or nil presumably
in Ruby, however the following occurs:

[BUG] Segmentation fault
ruby 1.8.5
(2006-08-25) i386-mswin32]

Any ideas? Is this a ruby problem or an issue with the way WIN32OLE
handles certain objects?

Thanks
I cannot explain the details, cause i'm a tester and no programmer but
for WATIR which drives the Internet Explorer with win32ole it is
recommended to use Ruby 1.8.2. With 1.8.5 i too got segmentation faults.

Udo
 
W

WKC CCC

I cant produce an exmaple here since it would require me to upload the
dll's. It appears that Win32ole cannot handle arrays of this sort which
return (#N/A).
Any ideas?
 
B

Bret Pettichord

WKC said:
I cant produce an exmaple here since it would require me to upload the
dll's. It appears that Win32ole cannot handle arrays of this sort which
return (#N/A).
Any ideas?

Watir includes a patched win32ole.so library that is compiled to work
with 1.8.2 only. This is the cause of your error.

The next release of 1.5 will not use this library unless 1.8.2 is
installed. (This patch is required for the modal dialog support, so
modal dialogs can only work with watir with 1.8.2 -- unless you port
the patch to 1.8.5.)

Bret
 
W

WKC CCC

The next release of 1.5 will not use this library unless 1.8.2 is
installed. (This patch is required for the modal dialog support, so
modal dialogs can only work with watir with 1.8.2 -- unless you port
the patch to 1.8.5.)

How does one port the patch to 1.8.5?
 

Ask a Question

Want to reply to this thread or ask your own question?

You'll need to choose a username for the site, which only take a couple of moments. After that, you can post your question and our members will help you out.

Ask a Question

Members online

No members online now.

Forum statistics

Threads
473,801
Messages
2,569,658
Members
45,421
Latest member
DoreenCorn

Latest Threads

Top