Discussion:
Issue 184 in html5lib: broken html5lib in trunk (default)
h***@public.gmane.org
2011-06-09 09:42:11 UTC
Permalink
Status: New
Owner: ----

New issue 184 by kos...-***@public.gmane.org: broken html5lib in trunk (default)
http://code.google.com/p/html5lib/issues/detail?id=184

On code from tutorial right now you will get error like:

Traceback (most recent call last):
File "./test_tokenizer_speed.py", line 29, in <module>
main()
File "./test_tokenizer_speed.py", line 19, in main
dom_tree = p.parse(f, encoding='utf-8')

File "/home/kost/src/html5lib-broken-default/python/html5lib/html5parser.py",
line 213, in parse
parseMeta=parseMeta, useChardet=useChardet)

File "/home/kost/src/html5lib-broken-default/python/html5lib/html5parser.py",
line 110, in _parse
parser=self, **kwargs)
TypeError: __init__() got an unexpected keyword argument 'parser'

Patch attached

Attachments:
broken-default.diff 662 bytes
--
You received this message because you are subscribed to the Google Groups "html5lib-discuss" group.
To post to this group, send an email to html5lib-discuss-/JYPxA39Uh5TLH3MbocFF+G/***@public.gmane.org
To unsubscribe from this group, send email to html5lib-discuss+unsubscribe-/JYPxA39Uh5TLH3MbocFF+G/***@public.gmane.org
For more options, visit this group at http://groups.google.com/group/html5lib-discuss?hl=en-GB.
h***@public.gmane.org
2012-02-22 00:32:42 UTC
Permalink
Comment #1 on issue 184 by evgeny.f...-***@public.gmane.org: broken html5lib in trunk
(default)
http://code.google.com/p/html5lib/issues/detail?id=184

Hello, has this been fixed in the new release? Once we upgraded html5lib
from 0.90 to 0.95 we have this issue.

For now we have hardcoded the requirement to 0.90. Are we doing something
wrong or this is a bug in the library?

Thanks.
--
You received this message because you are subscribed to the Google Groups "html5lib-discuss" group.
To post to this group, send an email to html5lib-discuss-/JYPxA39Uh5TLH3MbocFF+G/***@public.gmane.org
To unsubscribe from this group, send email to html5lib-discuss+unsubscribe-/JYPxA39Uh5TLH3MbocFF+G/***@public.gmane.org
For more options, visit this group at http://groups.google.com/group/html5lib-discuss?hl=en-GB.
Loading...