ruby-gnome2/gtk error on mac

J

john k

I'm running Ruby 1.8.4 (installed via darwinports) on OS 10.4 with gtk
2.8.12 (installed via darwinports) and ruby-gnome2 0.14.1 (configured
using extconf.rb and installed in the /opt/local location of ruby).
When I run a simple button test program I get the following message:

gtktest.rb: line 1
GLib-GObject-WARNING **:Two different plugins tried to register
'BasicEngineFc'.
gtktest.rb: line 1
GLib-GObject-CRITICAL **:g_object_new: assertion `G_TYPE_IS_OBJECT
(object_type)' failed
Failed to load Pango module for id: 'BasicScriptEngineFc'gtktest.rb:
line 1

The test program still seems to run despite this message. I'm new to
Ruby, so if someone could help me out, I would really appreciate it.
Getting a Ruby GUI to work on a Mac is incredibly frustrating.

Thanks,
John
 
M

Masao Mutoh

Hi,

I'm running Ruby 1.8.4 (installed via darwinports) on OS 10.4 with gtk
2.8.12 (installed via darwinports) and ruby-gnome2 0.14.1 (configured
using extconf.rb and installed in the /opt/local location of ruby).
When I run a simple button test program I get the following message:

gtktest.rb: line 1
GLib-GObject-WARNING **:Two different plugins tried to register
'BasicEngineFc'.
gtktest.rb: line 1
GLib-GObject-CRITICAL **:g_object_new: assertion `G_TYPE_IS_OBJECT
(object_type)' failed
Failed to load Pango module for id: 'BasicScriptEngineFc'gtktest.rb:
line 1

The test program still seems to run despite this message. I'm new to
Ruby, so if someone could help me out, I would really appreciate it.
Getting a Ruby GUI to work on a Mac is incredibly frustrating.

It's very difficult not to check your gtktest.rb....

But I think these messages are occured by Pango(not by Ruby-GNOME2).
I suspect gtk-demo occurs same error.

If so, could you re-install pango and then re-compile ruby-gnome2?
 
J

john k

It's very difficult not to check your gtktest.rb....

This is the "Hello World" program on the website tutorial.
But I think these messages are occured by Pango(not by Ruby-GNOME2).
I suspect gtk-demo occurs same error.

If so, could you re-install pango and then re-compile ruby-gnome2?

I reinstalled pango and gtk2, then recompiled ruby-gnome2 and still got
the same exact error.

Thanks,
John
 
M

Masao Mutoh

Hi,

This is the "Hello World" program on the website tutorial.


I reinstalled pango and gtk2, then recompiled ruby-gnome2 and still got
the same exact error.

How about gtk-demo ?
# It's provided by gtk2.
 
J

john k

How about gtk-demo ?
# It's provided by gtk2.

Same error message multiple times when I start it. Every demo seems to
work, but I frequently get the error message again.
- John
 

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,982
Messages
2,570,186
Members
46,740
Latest member
JudsonFrie

Latest Threads

Top