You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
I'm trying to update my Dockerfile to use Weasyprint 53.1. I changed quite a few of the installs and some work around pip dependencies that made version 52 work. It took a bit of trial and error, but I now get no errors during the install. To test my installation I ran the example from the documentation:
File "/usr/local/lib/python3.8/dist-packages/weasyprint/layout/flex.py", line 113, in flex_layout
children = children[skip_stack[0]:]
KeyError: 0
I also got this same error when I tried it in my local environment, in which my pdf tests work, so I don't think this has anything to do with the installation.
The text was updated successfully, but these errors were encountered:
I installed it with pip in root with the dependencies as specified in the documentation. But I also got the error in my local environment in a virtualenv. I did not update the dependencies there, only updated weasyprint, but my pdf's are still generated correctly.
Hm, I’m able to reproduce by using pip to install WeasyPrint instead of using the git tag.
It seems that the Pypi release contains code from a commit of master… We’re going to do a new release very soon to fix that.
I'm trying to update my Dockerfile to use Weasyprint 53.1. I changed quite a few of the installs and some work around pip dependencies that made version 52 work. It took a bit of trial and error, but I now get no errors during the install. To test my installation I ran the example from the documentation:
This gave a KeyError:
I also got this same error when I tried it in my local environment, in which my pdf tests work, so I don't think this has anything to do with the installation.
The text was updated successfully, but these errors were encountered: