question-mark
Stuck on an issue?

Lightrun Answers was designed to reduce the constant googling that comes with debugging 3rd party libraries. It collects links to all the places you might be looking at while hunting down a tough bug.

And, if you’re still stuck at the end, we’re happy to hop on a call to see how we can help out.

Now broken with html5lib

See original GitHub issue

From https://pypi.python.org/pypi/html5lib/0.99999999:

Move a whole load of stuff (inputstream, ihatexml, trie, tokenizer, utils) to be underscore prefixed to clarify their status as private

Except https://github.com/xhtml2pdf/xhtml2pdf/blob/master/xhtml2pdf/parser.py#L17:

from html5lib import treebuilders, inputstream

Current fix:

  • Use `pip install html5lib==1.0b8`
    

Issue Analytics

  • State:closed
  • Created 7 years ago
  • Reactions:98
  • Comments:18 (8 by maintainers)

github_iconTop GitHub Comments

6reactions
VSPPedrocommented, Aug 22, 2016

@benjaoming This post helped me. Sorry, i was just trying to say thank you. Don’t get me wrong.

+1 == + 1 like. That was my thought. haha

Thank you.

3reactions
LegoStormtrooprcommented, Nov 25, 2016

Guess what! We have html5lib==1.b10 support! And Python 3 too - #332

Read more comments on GitHub >

github_iconTop Results From Across the Web

html5lib installed but BeautifulSoup cannot find it
I have installed the html5lib package. I'm sure because when i try to install it, i get a message that it is already...
Read more >
html5lib - PyPI
html5lib is a pure-python library for parsing HTML. ... Breaking changes: ... Drop support of charade, now that chardet is supported once more....
Read more >
Change Log — html5lib 1.2-dev documentation
Breaking changes: ... Deprecate the html5lib sanitizer ( html5lib.serialize(sanitize=True) and ... Now requires the mock package for the testsuite.
Read more >
html5lib and lxml parsers in Python - Tutorialspoint
Buy Now. html5lib is a pure-python library for parsing HTML. ... It can also tackle broken HTML tags and add some necessary tags...
Read more >
html5lib and lxml parsers in Python - GeeksforGeeks
Since it uses HTML5 parsing algorithm, it even fixes lots of broken HTML and adds several tags which are missing in order to...
Read more >

github_iconTop Related Medium Post

No results found

github_iconTroubleshoot Live Code

Lightrun enables developers to add logs, metrics and snapshots to live code - no restarts or redeploys required.
Start Free

github_iconTop Related Reddit Thread

No results found

github_iconTop Related Hackernoon Post

No results found

github_iconTop Related Tweet

No results found

github_iconTop Related Dev.to Post

No results found

github_iconTop Related Hashnode Post

No results found