Hi, there: I'd like to try running ldtp scripts in different locales, but I'm confused about the usage of bindtext. The document says little about it. Below are the error messages I got on Ubuntu Linux. Can anyone show me the correct way to call it and run a same set of ldtp scripts in different locales?
Thanks! Ning Fu t...@ubuntu904:~$ python Python 2.6.2 (release26-maint, Apr 19 2009, 01:56:41) [GCC 4.3.3] on linux2 Type "help", "copyright", "credits" or "license" for more information. >>> from ldtp import * >>> from ldtputils import * >>> setlocale('zh_CN.utf8') >>> bindtext('gedit', '/usr/share/locale-langpack/') Traceback (most recent call last): File "<stdin>", line 1, in <module> File "/var/lib/python-support/python2.6/ldtp.py", line 3200, in bindtext raise LdtpExecutionError (_responseStatus [1]) ldtplib.ldtplibutils.LdtpExecutionError: u'Invalid command - Welcome contribution ;)' >>> setlocale('zh_CN') >>> bindtext('gedit', '/usr/share/locale-langpack/') Traceback (most recent call last): File "<stdin>", line 1, in <module> File "/var/lib/python-support/python2.6/ldtp.py", line 3200, in bindtext raise LdtpExecutionError (_responseStatus [1]) ldtplib.ldtplibutils.LdtpExecutionError: u'Invalid command - Welcome contribution ;)' >>> _______________________________________________ LDTP-dev mailing list LDTP-dev@lists.freedesktop.org http://lists.freedesktop.org/mailman/listinfo/ldtp-dev