python-lxml does not work with python-stats

Bug #287895 reported by doclist
8
This bug affects 1 person
Affects Status Importance Assigned to Milestone
lxml (Debian)
Unknown
Unknown
lxml (Ubuntu)
New
Undecided
Unassigned

Bug Description

Binary package hint: python-lxml

Trying to use python-lxml results in the following

Traceback (most recent call last):
  File "hypem.py", line 5, in <module>
    import lxml.etree as ET
  File "lxml.etree.pyx", line 40, in lxml.etree (src/lxml/lxml.etree.c:119415)
AttributeError: 'module' object has no attribute 'BytesIO'

Apparently the problem is with the python-stats package as documented upstream
http://bugs.debian.org/cgi-bin/bugreport.cgi?bug=497324

Revision history for this message
Pedro Ângelo (pangelo) wrote :

Just want to add a bump for this bug. Although it was easy to fix by removing python-stats, since none of my apps need it, this bug can break a lot of existing apps in very subtle ways.

I found out about it because all inkscape extensions that depend on it's internal inkex helper module, which in turn depends on lxml.etree, stopped working when I updated to Intrepid.

To post a comment you must log in.
This report contains Public information  
Everyone can see this information.

Other bug subscribers

Remote bug watches

Bug watches keep track of this bug in other bug trackers.