[Pacemaker] Interesting Behavior of py-gui on RHEL4.6 vs. RHEL 5.1

Pinto, Phil (GTS) phil_pinto at ml.com
Wed May 14 21:01:40 UTC 2008


Yan,

Thanks - that did it - everything is working fine with that patch.   


Thanks...
 
Phil Pinto 

-----Original Message-----
From: pacemaker-bounces at clusterlabs.org [mailto:pacemaker-bounces at clusterlabs.org] On Behalf Of Yan Gao
Sent: Wednesday, May 14, 2008 11:38 AM
To: The Pacemaker cluster resource manager
Subject: Re: [Pacemaker] Interesting Behavior of py-gui on RHEL4.6 vs. RHEL 5.1


> 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


_______________________________________________
Pacemaker mailing list
Pacemaker at clusterlabs.org
http://list.clusterlabs.org/mailman/listinfo/pacemaker
--------------------------------------------------------

This message w/attachments (message) may be privileged, confidential or proprietary, and if you are not an intended recipient, please notify the sender, do not use or share it and delete it. Unless specifically indicated, this message is not an offer to sell or a solicitation of any investment products or other financial product or service, an official confirmation of any transaction, or an official statement of Merrill Lynch. Subject to applicable law, Merrill Lynch may monitor, review and retain e-communications (EC) traveling through its networks/systems. The laws of the country of each sender/recipient may impact the handling of EC, and EC may be archived, supervised and produced in countries other than the country in which you are located. This message cannot be guaranteed to be secure or error-free. This message is subject to terms available at the following link: http://www.ml.com/e-communications_terms/. By messaging with Merrill Lynch you consent to the foregoing.
--------------------------------------------------------




More information about the Pacemaker mailing list