[Pacemaker] Interesting Behavior of py-gui on RHEL4.6 vs. RHEL 5.1
Yan Gao
ygao at novell.com
Wed May 14 15:38:28 UTC 2008
> On May 14, 2008, at 12:33 AM, Pinto, Phil (GTS) wrote:
> >
>
> > Traceback (most recent call last):
> > File "/usr/bin/hb_gui", line 567, in on_cursor_changed
> > window.select_view(type, name, status)
>
>
> maybe this function is new or changed in glade 2.6 (compared to 2.4)
> perhaps try and find the equivalent 2.4 function?
>
> >
> > File "/usr/bin/hb_gui", line 1857, in select_view
> > self.cur_view = RscView(name)
> > File "/usr/bin/hb_gui", line 1282, in __init__
> > cmnobj.dynamic_fill_op)
> > File "/usr/bin/hb_gui", line 494, in __init__
> > option_list, call_back, visible, is_enum)
> > File "/usr/bin/hb_gui", line 119, in add_column
> > cell.set_property('has-entry', False)
> > TypeError: the object does not support the given parameter
> >
It's a compatibility issue for pygtk < 2.6.
I haven't a RHEL4 environment for test.
Though the following changeset should help.
http://hg.clusterlabs.org/pacemaker/pygui/rev/978a6a1434f0
I think GTK2 < 2.6 will be threw over by hb_gui sooner or later.
It's really old.
> > The libglade packages installed on the RHEL4.6 system are as
> > follows:
> >
> > libglade2-2.4.0-5
> > libglade2-2.4.0-5
> > pygtk2-libglade-2.4.0-2.el4
> >
> > The libglade packages installed on the RHEL5.1 system are as
> > follows:
> > libglade2-2.6.0-2
> > libglade2-2.6.0-2
> > pygtk2-libglade-2.10.1-8.el5
> >
> > Thanks in advance for the help --
> >
> >
> > Thanks…
> >
> > Phil Pinto
> >
>
--
Yan Gao
China R&D Software Engineer
ygao at novell.com
Novell, Inc.
SUSE® Linux Enterprise 10
Your Linux is ready
http://www.novell.com/linux
More information about the Pacemaker
mailing list