Hello Sean,<br><br>If you have installed LDTP using binary, it will be installed in system default python path. Since the PYTHONPATH you have used will remove existing reference to it (I guess), you need to either install in the new PYTHONPATH or you can do something like this:<br>

<br>export PYTHONPATH=/usr/local/lib/python2.6/site-packages/:$PYTHONPATH<br><br>and try ?<br><br>Thanks<br>Nagappan<br><br><div class="gmail_quote">On Thu, Oct 29, 2009 at 8:27 AM, Sean Miller <span dir="ltr">&lt;<a href="mailto:seanbmiller@gmail.com">seanbmiller@gmail.com</a>&gt;</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;">Thank you for the reply! I changed my PYTHONPATH to the most recent on my system: <br>export PYTHONPATH=/usr/local/lib/python2.6/site-packages/<br>

<br>The error from before is gone, and now it can&#39;t find the ldtp module.<br>
<br>[semiller@semiller ldtp]$ python2.6<br>Python 2.6.3 (r263:75183, Oct 14 2009, 12:18:52)<br>[GCC 4.1.2 20080704 (Red Hat 4.1.2-44)] on linux2<br>Type &quot;help&quot;, &quot;copyright&quot;, &quot;credits&quot; or &quot;license&quot; for more information.<br>


&gt;&gt;&gt; from xml.parsers.expat import ExpatError<br>&gt;&gt;&gt; from ldtp import *<br>Traceback (most recent call last):<br>  File &quot;&lt;stdin&gt;&quot;, line 1, in &lt;module&gt;<br>ImportError: No module named ldtp<br>


&gt;&gt;&gt;<br><br><br><div class="gmail_quote">On Thu, Oct 29, 2009 at 10:40 AM, Nagappan Alagappan <span dir="ltr">&lt;<a href="mailto:nagappan@gmail.com" target="_blank">nagappan@gmail.com</a>&gt;</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;">


Hello Sean,<br><br>I think, this issue is not related to LDTP. LDTPv1 uses XML libraries from the system.<br><br>If you import this &quot;from xml.parsers.expat import ExpatError&quot; in python, you will note the issue is on xml.parsers.<br>




<br>Thanks<br><font color="#888888">Nagappan<br><br></font><div class="gmail_quote"><div><div></div><div>On Thu, Oct 29, 2009 at 7:11 AM, Sean Miller <span dir="ltr">&lt;<a href="mailto:seanbmiller@gmail.com" target="_blank">seanbmiller@gmail.com</a>&gt;</span> wrote:<br>


</div></div><blockquote class="gmail_quote" style="border-left: 1px solid rgb(204, 204, 204); margin: 0pt 0pt 0pt 0.8ex; padding-left: 1ex;"><div><div></div><div>

I&#39;m having some issues with python:<br><br>[semiller@semiller ldtp]$ python<br>Python 2.6.3 (r263:75183, Oct 14 2009, 12:18:52)<br>[GCC 4.1.2 20080704 (Red Hat 4.1.2-44)] on linux2<br>Type &quot;help&quot;, &quot;copyright&quot;, &quot;credits&quot; or &quot;license&quot; for more information.<br>





&gt;&gt;&gt; from ldtp import *<br>Traceback (most recent call last):<br>  File &quot;&lt;stdin&gt;&quot;, line 1, in &lt;module&gt;<br>  File &quot;/usr/lib/python2.4/site-packages/ldtp.py&quot;, line 53, in &lt;module&gt;<br>





    from xml.parsers.expat import ExpatError<br>  File &quot;/usr/lib/python2.4/site-packages/_xmlplus/parsers/expat.py&quot;, line 4, in &lt;module&gt;<br>    from pyexpat import *<br>ImportError: /usr/lib/python2.4/site-packages/_xmlplus/parsers/pyexpat.so: undefined symbol: PyUnicodeUCS4_Decode<br>





&gt;&gt;&gt;    <br><br>[semiller@semiller ldtp]$ ldtpeditor<br>Traceback (most recent call last):<br>  File &quot;/usr/local/bin/ldtpeditor&quot;, line 40, in &lt;module&gt;<br>    from xml.parsers.expat import ExpatError<br>





  File &quot;/usr/lib/python2.4/site-packages/_xmlplus/parsers/expat.py&quot;, line 4, in &lt;module&gt;<br>    from pyexpat import *<br>ImportError: /usr/lib/python2.4/site-packages/_xmlplus/parsers/pyexpat.so: undefined symbol: PyUnicodeUCS4_Decode<br>





<br><br>Any suggestions? <br>Thanks,<br><font color="#888888">Sean<br><br><br><br>
</font><br></div></div><div>_______________________________________________<br>
LDTP-dev mailing list<br>
<a href="mailto:LDTP-dev@lists.freedesktop.org" target="_blank">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></div></blockquote></div><div><div></div><div><br><br clear="all"><br>-- <br>Linux Desktop (GUI Application) Testing Project - <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>


</div></div></blockquote></div><br>
</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>