[Pacemaker] [GUI]Compatibility issues of Python.

renayama19661014 at ybb.ne.jp renayama19661014 at ybb.ne.jp
Mon Oct 11 23:01:06 EDT 2010


Hi Yan,

I confirmed Japanese indication of GUI. (Pacemaker-Python-GUI-16a7d8a5d3eb)

There was not the problem for Japanese display and translation. 

However, the name of the msgbox function seems to be wrong. 
I attached a patch of haclient.py.in.

I attach the ja.po file which I confirmed.

It is the same thing that the ja.po file attached it to the next email.

 * http://www.gossamer-threads.com/lists/linuxha/pacemaker/67046

Best Regards,
Hideo Yamauchi.


--- renayama19661014 at ybb.ne.jp wrote:

> 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
> > 
> 
> 
> _______________________________________________
> 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
> 
-------------- next part --------------
A non-text attachment was scrubbed...
Name: patch_haclient.1012
Type: application/octet-stream
Size: 1277 bytes
Desc: 4120932030-patch_haclient.1012
URL: <https://lists.clusterlabs.org/pipermail/pacemaker/attachments/20101012/92a55b21/attachment-0006.obj>
-------------- next part --------------
A non-text attachment was scrubbed...
Name: ja.po.1006
Type: application/octet-stream
Size: 59883 bytes
Desc: 3672236196-ja.po.1006
URL: <https://lists.clusterlabs.org/pipermail/pacemaker/attachments/20101012/92a55b21/attachment-0007.obj>


More information about the Pacemaker mailing list