<div dir="ltr">Hi Ara,<br><br>That's nice to hear :)<br><br>Thanks<br>Nagappan<br><br><div class="gmail_quote">On Fri, Aug 1, 2008 at 4:48 AM, Ara Pulido <span dir="ltr"><<a href="mailto:ara@ubuntu.com">ara@ubuntu.com</a>></span> wrote:<br>
<blockquote class="gmail_quote" style="border-left: 1px solid rgb(204, 204, 204); margin: 0pt 0pt 0pt 0.8ex; padding-left: 1ex;">Hey Nagappan,<br>
<br>
It is working perfectly now, thanks!<br>
<br>
I have created PPA packages for Ubuntu Intrepid (available at<br>
<a href="https://launchpad.net/%7Eapulido/+archive" target="_blank">https://launchpad.net/~apulido/+archive</a>)<br>
<br>
Cheers,<br>
<font color="#888888">Ara.<br>
</font><div><div></div><div class="Wj3C7c"><br>
On Thu, 2008-07-31 at 09:48 -0700, Nagappan A wrote:<br>
> Hi Ara,<br>
><br>
> I have fixed this issue, will check in the code by end of day. If you<br>
> still face this issue, please send us the test script to verify and<br>
> fix at our end.<br>
><br>
> I tried something like this<br>
><br>
> settextvalue ('*-gedit', 'txt0', 'C:\薔薇\ソ\表') and this worked for<br>
> me.<br>
><br>
> Thanks<br>
> Nagappan<br>
><br>
> On Thu, Jul 31, 2008 at 2:38 AM, Ara Pulido <<a href="mailto:ara@ubuntu.com">ara@ubuntu.com</a>> wrote:<br>
> Hello all,<br>
><br>
> I am trying to write a script that will open a Gedit session,<br>
> will write<br>
> some japanese chracters, will save and it will be compared to<br>
> an already<br>
> saved file.<br>
><br>
> The same test using ascii characters works neatly, but in this<br>
> case I<br>
> always get this error:<br>
><br>
> Traceback (most recent call last): File<br>
> "/usr/bin/ldtprunner", line<br>
> 424, in executescript execfile (scriptname, scriptglobal) File<br>
> "gedit_chains.py", line 24, in <module> test.write_text(chain)<br>
> File<br>
> "/usr/lib/python2.5/site-packages/ubuntutesting/ubuntu.py",<br>
> line 138, in<br>
> write_text Application.write_text(self, text,<br>
> ubuntu_constants.GE_TXT_FIELD) File<br>
> "/usr/lib/python2.5/site-packages/ubuntutesting/ubuntu.py",<br>
> line 118, in<br>
> write_text app_txt_field.settextvalue(text) File<br>
> "/var/lib/python-support/python2.5/ooldtp.py", line 453, in<br>
> settextvalue<br>
> return ldtp.settextvalue (self.__window, self.getName (''),<br>
> args [0])<br>
> File "/var/lib/python-support/python2.5/ldtp.py", line 805, in<br>
> settextvalue _message = generatexml (command.SETTEXTVALUE,<br>
> _requestId,<br>
> windowName, componentName, text) File<br>
> "/var/lib/python-support/python2.5/ldtp.py", line 84, in<br>
> generatexml<br>
> _argDebug += ", " + str (args [index]) UnicodeEncodeError:<br>
> 'ascii' codec<br>
> can't encode characters in position 27-30: ordinal not in<br>
> range(128)<br>
><br>
> I have tried encoding that, but finally ldtp library always<br>
> tries to<br>
> encode that to ascii.<br>
><br>
> Have you managed to get such a test running successfully?<br>
><br>
> Thanks,<br>
> Ara.<br>
><br>
> _______________________________________________<br>
> LDTP-dev mailing list<br>
> <a href="mailto:LDTP-dev@lists.freedesktop.org">LDTP-dev@lists.freedesktop.org</a><br>
> <a href="http://lists.freedesktop.org/mailman/listinfo/ldtp-dev" target="_blank">http://lists.freedesktop.org/mailman/listinfo/ldtp-dev</a><br>
><br>
><br>
><br>
> --<br>
> Linux Desktop (GUI Application) Testing Project -<br>
> <a href="http://ldtp.freedesktop.org" target="_blank">http://ldtp.freedesktop.org</a><br>
> <a href="http://nagappanal.blogspot.com" target="_blank">http://nagappanal.blogspot.com</a><br>
><br>
<br>
</div></div></blockquote></div><br><br clear="all"><br>-- <br>Linux Desktop (GUI Application) Testing Project - <a href="http://ldtp.freedesktop.org">http://ldtp.freedesktop.org</a><br><a href="http://nagappanal.blogspot.com">http://nagappanal.blogspot.com</a><br>
</div>