Ruby-gnome2 + datamapper problem

Howdy,

I just upgraded my gentoo ~x86 system to use ruby-gnome2-0.19.0 and my
apps that use datamapper are broken. Digging into it, it looks like if
a datamapper model is accessed (either via auto_upgrade! or just normal
accessing), then the gtk window does not draw any children assigned to
it.

Here’s a small demo that triggers the problem:

Change USE_MODEL to be false to show the demo without the problem.

What I’m hoping is to find some advise on how to investigate this
problem further. Also would be nice if anyone else with
ruby-gnome2-0.19.0 and datamapper installed can run this test code to
let me know if it’s an environment issue versus either one of the
packages.

I’m also asking about this issue on the datamapper list.

Thank you,
Roy

Hi,

In [email protected]
“[ruby-gnome2-devel-en] ruby-gnome2 + datamapper problem” on Tue, 28
Jul 2009 01:24:37 +0200,
Roy W. [email protected] wrote:

gist:156815 · GitHub

Change USE_MODEL to be false to show the demo without the problem.

What I’m hoping is to find some advise on how to investigate this
problem further. Also would be nice if anyone else with
ruby-gnome2-0.19.0 and datamapper installed can run this test code to
let me know if it’s an environment issue versus either one of the
packages.

I’m also asking about this issue on the datamapper list.

It will relate to Thread.

You can find ‘Person.auto_upgrade!’ creates a new
thread. (FYI: Thread.list)

Could someone look into the problem? I don’t have time to
look into the problem. :<
glib/src/rbglib_maincontext.c will help you.

Thanks,

kou

Hi,

Sorry for my late work.

In [email protected]
“Re: [ruby-gnome2-devel-en] ruby-gnome2 + datamapper problem” on Sun,
02 Aug 2009 12:25:17 +0900 (JST),
Kouhei S. [email protected] wrote:

a datamapper model is accessed (either via auto_upgrade! or just normal
problem further. Also would be nice if anyone else with

Could someone look into the problem? I don’t have time to
look into the problem. :<
glib/src/rbglib_maincontext.c will help you.

I’ve fixed it in trunk.

Thanks,

kou