<div dir="ltr">Hello Ruiran,<br>&nbsp; I&#39;m not facing any such issue. Are you trying from terminal mode, instead of X windows mode ?<br><br>Thanks<br>Nagappan<br><br><div class="gmail_quote">2008/8/5 Ruiran Wang <span dir="ltr">&lt;<a href="mailto:Ruiran.Wang@plenware.com">Ruiran.Wang@plenware.com</a>&gt;</span><br>
<blockquote class="gmail_quote" style="border-left: 1px solid rgb(204, 204, 204); margin: 0pt 0pt 0pt 0.8ex; padding-left: 1ex;">Hi,<br>
 &nbsp;I try again after installing python-ldtp with the command &quot;apt-get install python-ldtp&quot;, and this time I get the following information:<br>
<br>
Xlib: connection to &quot;:0.0&quot; refused by server<br>
Xlib: No protocol specified<br>
<br>
/var/lib/python-support/python2.5/gtk-2.0/gtk/__init__.py:72: GtkWarning: could not open display<br>
 &nbsp;warnings.warn(str(e), _gtk.Warning)<br>
<div class="Ih2E3d">Traceback (most recent call last):<br>
 &nbsp;File &quot;/usr/bin/ldtpeditor&quot;, line 78, in &lt;module&gt;<br>
 &nbsp; &nbsp;raise ImportError, &nbsp;&#39;libldtpcodegen not found&#39;<br>
ImportError: libldtpcodegen not found<br>
<br>
<br>
</div>In addition, when I use ldtp in python ,I have a problem after &nbsp;inputting &nbsp;&quot;from idtp import*&quot;. such as:<br>
<br>
&gt;&gt;&gt; from ldtp import *<br>
<div class="Ih2E3d">Traceback (most recent call last):<br>
</div><div class="Ih2E3d"> &nbsp; &nbsp; &nbsp; &nbsp;File &quot;&lt;stdin&gt;&quot;, line 1, in &lt;module&gt;<br>
ImportError: No module named ldtp<br>
<br>
</div>What should I do to solve these problems?<br>
<br>
Thank you very much!!<br>
<div><div></div><div class="Wj3C7c"><br>
<br>
-----Original Message-----<br>
From: Kartik Mistry [mailto:<a href="mailto:kartik.mistry@gmail.com">kartik.mistry@gmail.com</a>]<br>
Sent: 2008Äê8ÔÂ6ÈÕ 11:53<br>
To: Ruiran Wang<br>
Cc: <a href="mailto:ldtp-dev@lists.freedesktop.org">ldtp-dev@lists.freedesktop.org</a><br>
Subject: Re: How could I solve this problem?<br>
<br>
2008/8/6 Ruiran Wang &lt;<a href="mailto:Ruiran.Wang@plenware.com">Ruiran.Wang@plenware.com</a>&gt;:<br>
&gt; &nbsp; &nbsp; &nbsp;I used the command &quot;apt-get install ldtp&quot; to install ldtp in Debian,<br>
&gt; and &nbsp;the ldtp version is 1.2.0-1.<br>
<br>
Hi,<br>
<br>
Also install python-ldtp package along with ldtp package.<br>
<br>
&gt; &nbsp; &nbsp; &nbsp;Another problem is that when I use ldtpeditor with inputting<br>
&gt; &quot;ldtpeditor&quot; , I get following information:<br>
&gt;<br>
&gt; Traceback (most recent call last):<br>
&gt;<br>
&gt; &nbsp; File &quot;/usr/bin/ldtpeditor&quot;, line 78, in &lt;module&gt;<br>
&gt;<br>
&gt; &nbsp; &nbsp; raise ImportError, &nbsp;&#39;libldtpcodegen not found&#39;<br>
&gt;<br>
&gt; ImportError: libldtpcodegen not found<br>
<br>
Try this again after installing python-ldtp and let me know.<br>
<br>
&gt; &nbsp; &nbsp; &nbsp;BTW, could ldtp be installed in the NOKIA device N810???<br>
<br>
Try it :)<br>
<br>
--<br>
&nbsp;Cheers,<br>
&nbsp;Kartik Mistry | 0xD1028C8D | IRC: kart_<br>
&nbsp;Blogs: {ftbfs,kartikm}.<a href="http://wordpress.com" target="_blank">wordpress.com</a><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>
</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>