Public bug reported:

Binary package hint: python-lxml

This seems to be a manifestation of Debian #497324 (at
<http://bugs.debian.org/cgi-bin/bugreport.cgi?bug=497324>)

The following import should work, but it does not:

$ python
Python 2.5.2 (r252:60911, Oct  5 2008, 19:29:17) 
[GCC 4.3.2] on linux2
Type "help", "copyright", "credits" or "license" for more information.
>>> from lxml import etree
Traceback (most recent call last):
  File "<stdin>", line 1, in <module>
  File "lxml.etree.pyx", line 40, in lxml.etree (src/lxml/lxml.etree.c:119415)
AttributeError: 'module' object has no attribute 'BytesIO'

You can get it to import if you import lxml first, but it causes a
segfault when you try to use it:

>>> import lxml
>>> import lxml.etree
>>> lxml.etree.Element("sample_node")
Segmentation fault

Using python-lxml 2.1.1-1 on intrepid.

** Affects: lxml (Ubuntu)
     Importance: Undecided
         Status: New

-- 
python-lxml fails if python-stats is installed
https://bugs.launchpad.net/bugs/316230
You received this bug notification because you are a member of Ubuntu
Bugs, which is subscribed to Ubuntu.

-- 
ubuntu-bugs mailing list
ubuntu-bugs@lists.ubuntu.com
https://lists.ubuntu.com/mailman/listinfo/ubuntu-bugs

Reply via email to