[LDTP-Dev] Python issues.

Nagappan Alagappan nagappan at gmail.com
Thu Oct 29 07:40:32 PDT 2009


Hello Sean,

I think, this issue is not related to LDTP. LDTPv1 uses XML libraries from
the system.

If you import this "from xml.parsers.expat import ExpatError" in python, you
will note the issue is on xml.parsers.

Thanks
Nagappan

On Thu, Oct 29, 2009 at 7:11 AM, Sean Miller <seanbmiller at gmail.com> wrote:

> I'm having some issues with python:
>
> [semiller at semiller ldtp]$ python
> Python 2.6.3 (r263:75183, Oct 14 2009, 12:18:52)
> [GCC 4.1.2 20080704 (Red Hat 4.1.2-44)] on linux2
> Type "help", "copyright", "credits" or "license" for more information.
> >>> from ldtp import *
> Traceback (most recent call last):
>   File "<stdin>", line 1, in <module>
>   File "/usr/lib/python2.4/site-packages/ldtp.py", line 53, in <module>
>     from xml.parsers.expat import ExpatError
>   File "/usr/lib/python2.4/site-packages/_xmlplus/parsers/expat.py", line
> 4, in <module>
>     from pyexpat import *
> ImportError: /usr/lib/python2.4/site-packages/_xmlplus/parsers/pyexpat.so:
> undefined symbol: PyUnicodeUCS4_Decode
> >>>
>
> [semiller at semiller ldtp]$ ldtpeditor
> Traceback (most recent call last):
>   File "/usr/local/bin/ldtpeditor", line 40, in <module>
>     from xml.parsers.expat import ExpatError
>   File "/usr/lib/python2.4/site-packages/_xmlplus/parsers/expat.py", line
> 4, in <module>
>     from pyexpat import *
> ImportError: /usr/lib/python2.4/site-packages/_xmlplus/parsers/pyexpat.so:
> undefined symbol: PyUnicodeUCS4_Decode
>
>
> Any suggestions?
> Thanks,
> Sean
>
>
>
>
> _______________________________________________
> LDTP-dev mailing list
> LDTP-dev at lists.freedesktop.org
> http://lists.freedesktop.org/mailman/listinfo/ldtp-dev
>
>


-- 
Linux Desktop (GUI Application) Testing Project -
http://ldtp.freedesktop.org
http://nagappanal.blogspot.com
-------------- next part --------------
An HTML attachment was scrubbed...
URL: http://lists.freedesktop.org/archives/ldtp-dev/attachments/20091029/25abd418/attachment.htm 


More information about the LDTP-dev mailing list