2014-04-15 20:38:16 |
Viacheslav Biriukov |
bug |
|
|
added bug |
2014-04-15 20:42:10 |
Viacheslav Biriukov |
description |
Code:
parser = lxml.html.HTMLParser(encoding=page_encoding)
lxml_html = lxml.html.fromstring(page_body, parser=parser)
lxml_html.make_links_absolute(link)
Trace:
lxml_html.make_links_absolute(link)
File "/home/sov1et/dinowatcher_pypy/site-packages/lxml/html/__init__.py", line 340, in make_links_absolute
self.rewrite_links(link_repl)
File "/home/sov1et/dinowatcher_pypy/site-packages/lxml/html/__init__.py", line 468, in rewrite_links
for el, attrib, link, pos in self.iterlinks():
File "/home/sov1et/dinowatcher_pypy/site-packages/lxml/html/__init__.py", line 381, in iterlinks
for el in self.iter(etree.Element):
File "lxml.etree.pyx", line 2752, in lxml.etree.ElementDepthFirstIterator.__next__ (src/lxml/lxml.etree.c:65185)
File "lxml.etree.pyx", line 1537, in lxml.etree._elementFactory (src/lxml/lxml.etree.c:50951)
AttributeError: '_Document' object has no attribute '_init'
Versions:
pypy: PyPy 2.2.1 with GCC 4.6.3
ii libxml2 2.7.8.dfsg-5.1ubuntu4.6 GNOME XML library
ii libxml2-dev 2.7.8.dfsg-5.1ubuntu4.6 Development files for the GNOME XML library
ii libxml2-utils 2.7.8.dfsg-5.1ubuntu4.6 XML utilities
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='final', serial=42)
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) |
Code:
parser = lxml.html.HTMLParser(encoding=page_encoding)
lxml_html = lxml.html.fromstring(page_body, parser=parser)
lxml_html.make_links_absolute(link)
Trace:
lxml_html.make_links_absolute(link)
File "/home//site-packages/lxml/html/__init__.py", line 340, in make_links_absolute
self.rewrite_links(link_repl)
File "/home/site-packages/lxml/html/__init__.py", line 468, in rewrite_links
for el, attrib, link, pos in self.iterlinks():
File "/home/site-packages/lxml/html/__init__.py", line 381, in iterlinks
for el in self.iter(etree.Element):
File "lxml.etree.pyx", line 2752, in lxml.etree.ElementDepthFirstIterator.__next__ (src/lxml/lxml.etree.c:65185)
File "lxml.etree.pyx", line 1537, in lxml.etree._elementFactory (src/lxml/lxml.etree.c:50951)
AttributeError: '_Document' object has no attribute '_init'
Versions:
pypy: PyPy 2.2.1 with GCC 4.6.3
ii libxml2 2.7.8.dfsg-5.1ubuntu4.6 GNOME XML library
ii libxml2-dev 2.7.8.dfsg-5.1ubuntu4.6 Development files for the GNOME XML library
ii libxml2-utils 2.7.8.dfsg-5.1ubuntu4.6 XML utilities
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='final', serial=42)
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) |
|
2014-04-15 20:42:29 |
Viacheslav Biriukov |
description |
Code:
parser = lxml.html.HTMLParser(encoding=page_encoding)
lxml_html = lxml.html.fromstring(page_body, parser=parser)
lxml_html.make_links_absolute(link)
Trace:
lxml_html.make_links_absolute(link)
File "/home//site-packages/lxml/html/__init__.py", line 340, in make_links_absolute
self.rewrite_links(link_repl)
File "/home/site-packages/lxml/html/__init__.py", line 468, in rewrite_links
for el, attrib, link, pos in self.iterlinks():
File "/home/site-packages/lxml/html/__init__.py", line 381, in iterlinks
for el in self.iter(etree.Element):
File "lxml.etree.pyx", line 2752, in lxml.etree.ElementDepthFirstIterator.__next__ (src/lxml/lxml.etree.c:65185)
File "lxml.etree.pyx", line 1537, in lxml.etree._elementFactory (src/lxml/lxml.etree.c:50951)
AttributeError: '_Document' object has no attribute '_init'
Versions:
pypy: PyPy 2.2.1 with GCC 4.6.3
ii libxml2 2.7.8.dfsg-5.1ubuntu4.6 GNOME XML library
ii libxml2-dev 2.7.8.dfsg-5.1ubuntu4.6 Development files for the GNOME XML library
ii libxml2-utils 2.7.8.dfsg-5.1ubuntu4.6 XML utilities
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='final', serial=42)
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) |
Code:
parser = lxml.html.HTMLParser(encoding=page_encoding)
lxml_html = lxml.html.fromstring(page_body, parser=parser)
lxml_html.make_links_absolute(link)
Trace:
...
lxml_html.make_links_absolute(link)
File "/home/site-packages/lxml/html/__init__.py", line 340, in make_links_absolute
self.rewrite_links(link_repl)
File "/home/site-packages/lxml/html/__init__.py", line 468, in rewrite_links
for el, attrib, link, pos in self.iterlinks():
File "/home/site-packages/lxml/html/__init__.py", line 381, in iterlinks
for el in self.iter(etree.Element):
File "lxml.etree.pyx", line 2752, in lxml.etree.ElementDepthFirstIterator.__next__ (src/lxml/lxml.etree.c:65185)
File "lxml.etree.pyx", line 1537, in lxml.etree._elementFactory (src/lxml/lxml.etree.c:50951)
AttributeError: '_Document' object has no attribute '_init'
Versions:
pypy: PyPy 2.2.1 with GCC 4.6.3
ii libxml2 2.7.8.dfsg-5.1ubuntu4.6 GNOME XML library
ii libxml2-dev 2.7.8.dfsg-5.1ubuntu4.6 Development files for the GNOME XML library
ii libxml2-utils 2.7.8.dfsg-5.1ubuntu4.6 XML utilities
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='final', serial=42)
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) |
|
2014-04-15 20:42:58 |
Viacheslav Biriukov |
description |
Code:
parser = lxml.html.HTMLParser(encoding=page_encoding)
lxml_html = lxml.html.fromstring(page_body, parser=parser)
lxml_html.make_links_absolute(link)
Trace:
...
lxml_html.make_links_absolute(link)
File "/home/site-packages/lxml/html/__init__.py", line 340, in make_links_absolute
self.rewrite_links(link_repl)
File "/home/site-packages/lxml/html/__init__.py", line 468, in rewrite_links
for el, attrib, link, pos in self.iterlinks():
File "/home/site-packages/lxml/html/__init__.py", line 381, in iterlinks
for el in self.iter(etree.Element):
File "lxml.etree.pyx", line 2752, in lxml.etree.ElementDepthFirstIterator.__next__ (src/lxml/lxml.etree.c:65185)
File "lxml.etree.pyx", line 1537, in lxml.etree._elementFactory (src/lxml/lxml.etree.c:50951)
AttributeError: '_Document' object has no attribute '_init'
Versions:
pypy: PyPy 2.2.1 with GCC 4.6.3
ii libxml2 2.7.8.dfsg-5.1ubuntu4.6 GNOME XML library
ii libxml2-dev 2.7.8.dfsg-5.1ubuntu4.6 Development files for the GNOME XML library
ii libxml2-utils 2.7.8.dfsg-5.1ubuntu4.6 XML utilities
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='final', serial=42)
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) |
Code:
parser = lxml.html.HTMLParser(encoding=page_encoding)
lxml_html = lxml.html.fromstring(page_body, parser=parser)
lxml_html.make_links_absolute(link)
Trace:
...
lxml_html.make_links_absolute(link)
File "/home/site-packages/lxml/html/__init__.py", line 340, in make_links_absolute
self.rewrite_links(link_repl)
File "/home/site-packages/lxml/html/__init__.py", line 468, in rewrite_links
for el, attrib, link, pos in self.iterlinks():
File "/home/site-packages/lxml/html/__init__.py", line 381, in iterlinks
for el in self.iter(etree.Element):
File "lxml.etree.pyx", line 2752, in lxml.etree.ElementDepthFirstIterator.__next__ (src/lxml/lxml.etree.c:65185)
File "lxml.etree.pyx", line 1537, in lxml.etree._elementFactory (src/lxml/lxml.etree.c:50951)
AttributeError: '_Document' object has no attribute '_init'
Versions:
pypy: PyPy 2.2.1 with GCC 4.6.3
ii libxml2 2.7.8.dfsg-5.1ubuntu4.6 GNOME XML library
ii libxml2-dev 2.7.8.dfsg-5.1ubuntu4.6 Development files for the GNOME XML library
ii libxml2-utils 2.7.8.dfsg-5.1ubuntu4.6 XML utilities
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='final', serial=42)
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) |
|
2014-04-15 20:43:16 |
Viacheslav Biriukov |
summary |
lxml pypy lxml_html.make_links_absolute error |
lxml pypy make_links_absolute error |
|
2014-04-16 05:33:48 |
scoder |
lxml: status |
New |
Triaged |
|
2014-04-25 07:25:21 |
scoder |
lxml: importance |
Undecided |
Low |
|
2014-04-25 07:25:21 |
scoder |
lxml: status |
Triaged |
Confirmed |
|
2014-04-25 07:25:21 |
scoder |
lxml: assignee |
|
scoder (scoder) |
|