Please read this before reporting a bug:
https://wiki.archlinux.org/title/Bug_reporting_guidelines
Do NOT report bugs when a package is just outdated, or it is in the AUR. Use the 'flag out of date' link on the package page, or the Mailing List.
REPEAT: Do NOT report bugs for outdated packages!
https://wiki.archlinux.org/title/Bug_reporting_guidelines
Do NOT report bugs when a package is just outdated, or it is in the AUR. Use the 'flag out of date' link on the package page, or the Mailing List.
REPEAT: Do NOT report bugs for outdated packages!
FS#16566 - [python-lxml] is broken
Attached to Project:
Arch Linux
Opened by Ismael Carnales (void) - Sunday, 11 October 2009, 01:04 GMT
Last edited by Paul Mattal (paul) - Monday, 04 January 2010, 01:58 GMT
Opened by Ismael Carnales (void) - Sunday, 11 October 2009, 01:04 GMT
Last edited by Paul Mattal (paul) - Monday, 04 January 2010, 01:58 GMT
|
DetailsThe package python-lxml (2.2.2) from community repo is currently not working.
The parsers are returning incorrect or non data, you can run this simple tests taken from the lxml project page: http://dpaste.org/9zOr/ and http://dpaste.org/t9uN/. Their expected output is in Target parser and iterparse sections of this page http://codespeak.net/lxml/parsing.html as you can see neither result is the expected. Also, the python-lxml package can't be build using PKGBUILD from ABS, due to a setuptools bug in Python 2.6.3, to make it build first you have to replace setuptools by distribute and that will make it work. If you install the package with easy install the tests pass and everything works ok. I've tried upping the versions of libxml2 and lixslt (they're quite old) but haven't got good results. If you need more information on this bug don't hesitate to ask. |
This task depends upon
Closed by Paul Mattal (paul)
Monday, 04 January 2010, 01:58 GMT
Reason for closing: Fixed
Additional comments about closing: Original submitter finds his original behavior fixed in python 2.6.4-1 and python-lxml 2.2.4-1.
Monday, 04 January 2010, 01:58 GMT
Reason for closing: Fixed
Additional comments about closing: Original submitter finds his original behavior fixed in python 2.6.4-1 and python-lxml 2.2.4-1.
I also successfully built python-lxml from abs/extra and retried the scripts and got the right output.
python 2.6.4-1
python-lxml 2.2.4-1