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'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 "help", "copyright", "credits" or "license" for more information.<br>
>>> from xml.parsers.expat import ExpatError<br>>>> from ldtp import *<br>Traceback (most recent call last):<br> File "<stdin>", line 1, in <module><br>ImportError: No module named ldtp<br>
>>><br><br><br><div class="gmail_quote">On Thu, Oct 29, 2009 at 10:40 AM, Nagappan Alagappan <span dir="ltr"><<a href="mailto:nagappan@gmail.com">nagappan@gmail.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;">
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 "from xml.parsers.expat import ExpatError" 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 class="h5">On Thu, Oct 29, 2009 at 7:11 AM, Sean Miller <span dir="ltr"><<a href="mailto:seanbmiller@gmail.com" target="_blank">seanbmiller@gmail.com</a>></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 class="h5">
I'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 "help", "copyright", "credits" or "license" for more information.<br>
>>> from ldtp import *<br>Traceback (most recent call last):<br> File "<stdin>", line 1, in <module><br> File "/usr/lib/python2.4/site-packages/ldtp.py", line 53, in <module><br>
from xml.parsers.expat import ExpatError<br> File "/usr/lib/python2.4/site-packages/_xmlplus/parsers/expat.py", line 4, in <module><br> from pyexpat import *<br>ImportError: /usr/lib/python2.4/site-packages/_xmlplus/parsers/pyexpat.so: undefined symbol: PyUnicodeUCS4_Decode<br>
>>> <br><br>[semiller@semiller ldtp]$ ldtpeditor<br>Traceback (most recent call last):<br> File "/usr/local/bin/ldtpeditor", line 40, in <module><br> from xml.parsers.expat import ExpatError<br>
File "/usr/lib/python2.4/site-packages/_xmlplus/parsers/expat.py", line 4, in <module><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 class="im">_______________________________________________<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 class="h5"><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>