Hi On Fri, 2009-05-29 at 17:31 +0200, Rainer Traut wrote: > Hi, > > am using: > > # rpm -qf /usr/bin/hb_gui > pacemaker-mgmt-client-1.99.1-2.1 > > from opensuse build service. > > Any change I make with hb_gui results in wierd errors: > > Traceback (most recent call last): > File "/usr/bin/hb_gui", line 2281, in on_apply > self.update_crm_config(metadata, new_crm_config) > File "/usr/bin/hb_gui", line 2345, in update_crm_config > (parent_xml_node, add_obj_type, new_mid_elem) = \ > File "/usr/bin/hb_gui", line 6983, in real_add_obj_type > if not sub_attr_is_any_name and (len(sub_attr_list) == 0 \ > UnboundLocalError: local variable 'sub_attr_is_any_name' referenced > before assignment
Is the validation type of your CIB still DTD ? pacemaker-mgmt is theoretically able to work with DTD as well, but it hasn't been verified. Please try the following patch: http://hg.clusterlabs.org/pacemaker/pygui/rev/9bdd1200160c Waiting for more feedback...:-) -- Regards, Yan Gao China R&D Software Engineer y...@novell.com Novell, Inc. Making IT Work As One?6?4 _______________________________________________ Pacemaker mailing list Pacemaker@oss.clusterlabs.org http://oss.clusterlabs.org/mailman/listinfo/pacemaker