Re: wxruby 1.9.4 crashes with ruby 1.9.0

No. I don’t have any “evt_foo :on_foo” construct in my code.

What else might cause the problem?

Thanks!

----- Original Message ----
From: Alex F. [email protected]
To: General discussion of wxRuby [email protected]
Sent: Monday, February 25, 2008 6:14:32 AM
Subject: Re: [wxruby-users] wxruby 1.9.4 crashes with ruby 1.9.0

Zhang
Peng
wrote:

I
downloaded
ruby
1.9.0
and
do
“make”
and
“make
install”
ruby
to

/usr/local

When
I
tried
to
run
my
wxruby
code,
I
got
the
following
message

There
is
a
known
bug
in
ruby
1.9.0
which
affects
event
handlers
of
the
form:
evt_foo
:on_foo

Do
you
have
any
of
these
in
your
code?
If
so
see
if
it
works
if
you
specify
the
event
handler
like
this:

evt_foo
{
|
event
|
on_foo(event)
}

http://rubyforge.org/tracker/?func=detail&aid=16625&group_id=426&atid=1698

alex


wxruby-users
mailing
list
[email protected]
http://rubyforge.org/mailman/listinfo/wxruby-users

  ____________________________________________________________________________________

Never miss a thing. Make Yahoo your home page.
http://www.yahoo.com/r/hs

Zhang P. wrote:

No. I don’t have any “evt_foo :on_foo” construct in my code.

What else might cause the problem?
Hard to say without any code to look at. You did compile your own wxruby
against 1.9.0? Binary libraries compiled against ruby 1.8.6 are not
compatible with 1.9.0.

alex