We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
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
ResourceWarning: unclosed file
I am using xhtml2pdf 0.2.5 with python3.7 and I get the following warnings:
/usr/local/lib/python3.7/site-packages/xhtml2pdf/w3c/css.py:891: ResourceWarning: unclosed file <io.TextIOWrapper name='<here_path_to_file>' mode='r' encoding='UTF-8'> return cssParser.parseExternal(import) /usr/local/lib/python3.7/site-packages/xhtml2pdf/parser.py:643: ResourceWarning: unclosed file <_io.BufferedReader name='<here_path_to_file>'> pisaLoop(nnode, context, path, **kw)
/usr/local/lib/python3.7/site-packages/xhtml2pdf/w3c/css.py:891: ResourceWarning: unclosed file <io.TextIOWrapper name='<here_path_to_file>' mode='r' encoding='UTF-8'> return cssParser.parseExternal(import)
/usr/local/lib/python3.7/site-packages/xhtml2pdf/parser.py:643: ResourceWarning: unclosed file <_io.BufferedReader name='<here_path_to_file>'> pisaLoop(nnode, context, path, **kw)
The text was updated successfully, but these errors were encountered:
@maradragan You're sure you're seeing these errors on python 3.7? I'm only seeing them on 3.8.
Sorry, something went wrong.
@luisza idem #568, seems to be solved with v0.2.7
No branches or pull requests
I am using xhtml2pdf 0.2.5 with python3.7 and I get the following warnings:
The text was updated successfully, but these errors were encountered: