lxml pypy make_links_absolute error
Affects | Status | Importance | Assigned to | Milestone | |
---|---|---|---|---|---|
lxml |
Confirmed
|
Low
|
scoder |
Bug Description
Code:
parser = lxml.html.
lxml_html = lxml.html.
lxml_
Trace:
...
lxml_
File "/home/
self.
File "/home/
for el, attrib, link, pos in self.iterlinks():
File "/home/
for el in self.iter(
File "lxml.etree.pyx", line 2752, in lxml.etree.
File "lxml.etree.pyx", line 1537, in lxml.etree.
AttributeError: '_Document' object has no attribute '_init'
Versions:
pypy: PyPy 2.2.1 with GCC 4.6.3
ii libxml2 2.7.8.dfsg-
ii libxml2-dev 2.7.8.dfsg-
ii libxml2-utils 2.7.8.dfsg-
ii libxslt1-dev 1.1.26-8ubuntu1.3 XSLT 1.0 processing library - development kit
ii libxslt1.1 1.1.26-8ubuntu1.3 XSLT 1.0 processing library - runtime library
$ pypy ./get_versions.py (your code)
Python : (major=2, minor=7, micro=3, releaselevel=
lxml.etree : (3, 3, 4, 0)
libxml used : (2, 7, 8)
libxml compiled : (2, 7, 8)
libxslt used : (1, 1, 26)
libxslt compiled : (1, 1, 26)
description: | updated |
description: | updated |
description: | updated |
summary: |
- lxml pypy lxml_html.make_links_absolute error + lxml pypy make_links_absolute error |
That's a very unexpected error. What's the page you are parsing?