Package: python-html5lib
Version: 0.90-2

$ python -c 'import sys, html5lib as h; h.parse(sys.stdin)' < /dev/null
Traceback (most recent call last):
  File "<string>", line 1, in <module>
  File "/usr/lib/pymodules/python2.7/html5lib/html5parser.py", line 38, in parse
    return p.parse(doc, encoding=encoding)
  File "/usr/lib/pymodules/python2.7/html5lib/html5parser.py", line 211, in 
parse
    parseMeta=parseMeta, useChardet=useChardet)
  File "/usr/lib/pymodules/python2.7/html5lib/html5parser.py", line 106, in 
_parse
    useChardet=useChardet, **kwargs)
  File "/usr/lib/pymodules/python2.7/html5lib/tokenizer.py", line 44, in 
__init__
    self.stream = HTMLInputStream(stream, encoding, parseMeta, useChardet)
  File "/usr/lib/pymodules/python2.7/html5lib/inputstream.py", line 159, in 
__init__
    self.charEncoding = self.detectEncoding(parseMeta, chardet)
  File "/usr/lib/pymodules/python2.7/html5lib/inputstream.py", line 207, in 
detectEncoding
    encoding = self.detectBOM()
  File "/usr/lib/pymodules/python2.7/html5lib/inputstream.py", line 285, in 
detectBOM
    self.rawStream.seek(encoding and seek or 0)
  File "/usr/lib/pymodules/python2.7/html5lib/inputstream.py", line 50, in seek
    assert pos < self._bufferedBytes()
AssertionError


-- System Information:
Debian Release: wheezy/sid
  APT prefers unstable
  APT policy: (990, 'unstable'), (500, 'experimental')
Architecture: i386 (x86_64)

Kernel: Linux 3.3.0-trunk-amd64 (SMP w/2 CPU cores)
Locale: LANG=C, LC_CTYPE=pl_PL.UTF-8 (charmap=UTF-8)
Shell: /bin/sh linked to /bin/dash

Versions of packages python-html5lib depends on:
ii  python          2.7.2-10
ii  python-support  1.0.14

Versions of packages python-html5lib suggests:
ii  python-beautifulsoup  <none>
ii  python-chardet        2.0.1-2
ii  python-genshi         <none>
ii  python-lxml           2.3.2-1

--
Jakub Wilk



--
To UNSUBSCRIBE, email to debian-bugs-dist-requ...@lists.debian.org
with a subject of "unsubscribe". Trouble? Contact listmas...@lists.debian.org

Reply via email to