[Pacemaker] [GUI]Compatibility issues of Python.
renayama19661014 at ybb.ne.jp
renayama19661014 at ybb.ne.jp
Sat Oct 9 23:17:26 UTC 2010
Hi Yan,
> It should work with python < 2.5 now:
> http://hg.clusterlabs.org/pacemaker/pygui/rev/16a7d8a5d3eb
Thank you for a revision.
I confirm the Japanese display of a new po-file in revised GUI.
If confirmation is over, I contact you.
Best Regards,
Hideo Yamauchi.
--- Yan Gao <ygao at novell.com> wrote:
> Hi Hideo,
>
> On 10/01/10 10:07, renayama19661014 at ybb.ne.jp wrote:
> > Hi Yan,
> >
> > I operated latest GUI for Japanization of GUI.
> > However, on RHEL5.5, GUI causes an error by the operation of the resource.
> >
> > There seems to be a cause in the difference of the version of Python.
> >
> > (snip)
> > def on_rsc_action(self, action) :
> > (cur_type, cur_name) = self.manage_tree.get_selected_node()
> > if action.get_name() == "startrsc" :
> > target_role = "Started"
> > elif action.get_name() == "stoprsc" :
> > target_role = "Stopped"
> > else :
> > target_role = "#default"
> >
> > if validate_type == "dtd" :
> > metaattr_name = "target_role"
> > else :
> > metaattr_name = "target-role"
> >
> > real_rsc_id = cur_name.partition(":")[0]
> >
> > (snip)
> >
> >
> > The function of partition seems not to be supported with 2.4 of Python.
> >
> > On RHEL5.5, the version of Python is 2.4.
> > For compatibility, will you change this processing?
> It should work with python < 2.5 now:
> http://hg.clusterlabs.org/pacemaker/pygui/rev/16a7d8a5d3eb
>
> Regards,
> Yan
> --
> Yan Gao <ygao at novell.com>
> Software Engineer
> China Server Team, OPS Engineering, Novell, Inc.
>
> _______________________________________________
> Pacemaker mailing list: Pacemaker at oss.clusterlabs.org
> http://oss.clusterlabs.org/mailman/listinfo/pacemaker
>
> Project Home: http://www.clusterlabs.org
> Getting started: http://www.clusterlabs.org/doc/Cluster_from_Scratch.pdf
> Bugs: http://developerbugs.linux-foundation.org/enter_bug.cgi?product=Pacemaker
>
More information about the Pacemaker
mailing list