[lnkForumImage]
TotalShareware - Download Free Software

Confronta i prezzi di migliaia di prodotti.
Asp Forum
 Home | Login | Register | Search 


 

Forums >

comp.lang.ruby

#N/A bug segmentation

WKC CCC

12/13/2006 5:16:00 PM

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

--
Posted via http://www.ruby-....

6 Answers

Daniel Berger

12/13/2006 5:26:00 PM

0


WKC CCC wrote:
> 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

udo.froehling

12/13/2006 9:05:00 PM

0

WKC CCC schrieb:
> 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

WKC CCC

12/15/2006 12:29:00 PM

0

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?

--
Posted via http://www.ruby-....

bpettichord

12/18/2006 6:47:00 PM

0


WKC CCC wrote:
> 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?
>
> --
> Posted via http://www.ruby-....

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

WKC CCC

12/30/2006 12:04:00 AM

0


> 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?


--
Posted via http://www.ruby-....

The Revd

7/31/2012 4:27:00 PM

0

On Tue, 31 Jul 2012 15:11:57 +0000 (UTC), SmallHenry aka Exocet
Missile <Exocet@Sheffield-is-sunk.org> wrote:

>In article <jv8sdi$gqi$1@pcls6.std.com>,
>binzi kramer <binzi-kramer@downandunder@xxx.yyy.co.aus> wrote:
>
>> The Facts of Child abuse in Israel
>> *******************************************
>>
>> - More than 3,107,000 children annually are victims of abuse.
>>
>> - In every classroom of 30 children on average at least 29 child
>> are a victim of abuse.
>>
>> - Nearly all of the Israeli population (99 percent) was once a victim
>> of domestic violence. Witnessing domestic violence is a form of child
>> abuse.
>>
>> - Especially children under three years are over-represented when it
>> comes to child abuse. Once students reach the ages between 2 to 3
>> years, 98 percent has experienced some form of child abuse.
>
>Scary and sad.

Very, jewboy!