Forum: Ruby Two problems using foxGUIb

Announcement (2017-05-07): www.ruby-forum.com is now read-only since I unfortunately do not have the time to support and maintain the forum any more. Please see rubyonrails.org/community and ruby-lang.org/en/community for other Rails- und Ruby-related community platforms.
67bb4df2775f6a6b603347dce7119571?d=identicon&s=25 unknown (Guest)
on 2006-05-25 15:32
(Received via mailing list)
Dear all,

I am trying to use foxGUIb for some graphical application.
To do this, I first want to write the cm-to-inches conversion
program that is given in the user's guide.
So I have installed Fox,FXRuby, libGUIb and foxGUIb, both under
Cygwin (last week's version under Windows XP) and under Aurox
 Linux 11.0 (essentially Redhat's Linux version of half a year  ago).

Now, I have two problems:
In Cygwin, I get a segmentation fault:

from /usr/local/lib/ruby/site_ruby/1.8/libGUIb14.rb:1034 [BUG]
segmentation
fault,
ruby 1-8-4 (2005-12-24) [i-386 cygwin]

when calling

> ruby foxGUIb.rb  .

In Linux, this command starts nicely, and I can proceed in the  example
very nicely up to the point when I want to enter the
code

                                cmLabel.text=(inchesField.text.to_f *
2.54
).to_s

into the SELcommand field.
There's a cursor appearing, but I can't enter any text.
What can be the reason for this ?

Best regards,
Axel
48d1aca7191f2d16e184971054c7c143?d=identicon&s=25 Meinrad Recheis (Guest)
on 2006-05-25 16:05
(Received via mailing list)
On 5/25/06, Nuralanur@aol.com <Nuralanur@aol.com> wrote:
> In Cygwin, I get a segmentation fault:
>
> from /usr/local/lib/ruby/site_ruby/1.8/libGUIb14.rb:1034 [BUG] segmentation
> fault,
> ruby 1-8-4 (2005-12-24) [i-386 cygwin]
>
> when calling
>
> > ruby foxGUIb.rb  .

i don't know why there currently are segfaults with fxruby on cygwin.
> What can be the reason for this ?
>

please download and install the latest version of libGUIb. the one you
have installed contains a bug in FX::RadioGroup that makes event
editor unsusable. sorry for the inconvenience.

hth,
-- henon
288733e11db1c6dbbf50871d2c6738c6?d=identicon&s=25 Uncutstone Wu (uncutstone)
on 2006-05-25 17:00
unknown wrote:
> Dear all,
>
> I am trying to use foxGUIb for some graphical application.
> To do this, I first want to write the cm-to-inches conversion
> program that is given in the user's guide.
> So I have installed Fox,FXRuby, libGUIb and foxGUIb, both under
> Cygwin (last week's version under Windows XP) and under Aurox
>  Linux 11.0 (essentially Redhat's Linux version of half a year  ago).
>
> Now, I have two problems:
> In Cygwin, I get a segmentation fault:
>
> from /usr/local/lib/ruby/site_ruby/1.8/libGUIb14.rb:1034 [BUG]
> segmentation
> fault,
> ruby 1-8-4 (2005-12-24) [i-386 cygwin]

I also tried foxGUIb, and got exactly the same segment fault as yours.
It isn't caused by foxGUIb, but by FXRuby1.4.6 on cygwin. Please take a
look at my previous post:
http://groups.google.com/group/ruby-talk-google/br...

Best regards,

uncutstone
This topic is locked and can not be replied to.