Assertion error when cleaning
Affects | Status | Importance | Assigned to | Milestone | |
---|---|---|---|---|---|
lxml |
Fix Released
|
Medium
|
scoder |
Bug Description
Python : (2, 6, 6, 'final', 0)
lxml.etree : (2, 3, -99, 0)
libxml used : (2, 6, 26)
libxml compiled : (2, 6, 26)
libxslt used : (1, 1, 17)
libxslt compiled : (1, 1, 17)
This is an error that's being sent out by our production process. Thus far, I haven't been able to reproduce it:
Traceback (most recent call last):
File "/home/
return method(logger, queueName, decoded)
File "/home/
cleaner.
File "/usr/local/
self(doc)
File "/usr/local/
el.drop_tag()
File "/usr/local/
assert parent is not None
AssertionError
If nothing else, this belongs in the "needs a better error message" category.
Changed in lxml: | |
status: | New → Confirmed |
Changed in lxml: | |
milestone: | none → 2.3.1 |
I seem to be experiencing this bug.
Is this code reproducing the same problem?