Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Incorrect call of HTMLUnicodeInputStream in _inputstream.py #281

Closed
marazt opened this issue Jul 18, 2016 · 1 comment
Closed

Incorrect call of HTMLUnicodeInputStream in _inputstream.py #281

marazt opened this issue Jul 18, 2016 · 1 comment

Comments

@marazt
Copy link

marazt commented Jul 18, 2016

Hi, while using Weasyprint 0.29 (that uses html5lib 0.999999999) for printing templates, I have found following issue:

env/local/lib/python2.7/site-packages/html5lib/_inputstream.py", line 149, in HTMLInputStream return HTMLUnicodeInputStream(source, **kwargs) TypeError: __init__() got an unexpected keyword argument 'encoding'

It seems that it is caused by changes in issue #120 (line 149). HTMLUnicodeInputStream constructor is called with multiple arguments, but the constructor itself has only one parameter.

Edit: version 0.9999999 (7x9) is working correctly.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants