-
Notifications
You must be signed in to change notification settings - Fork 53
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
HTML.render() got multiple values for argument 'font_config' with Weasyprint 59 #71
Comments
You can explicitely install the previous version of weasyprint, before django-weasyprint, in order to work around that problem:
|
A pull request has been open to fix this: #70. |
dragon-dxw
added a commit
to nationalarchives/ds-caselaw-public-ui
that referenced
this issue
May 15, 2023
laudrup
added a commit
to laudrup/ebbamaala
that referenced
this issue
May 17, 2023
As a workaround for: fdemmer/django-weasyprint#71 For using weasyprint 0.58 until django-weasyprint has been updated for weasyprint 0.59.
laudrup
added a commit
to laudrup/ebbamaala
that referenced
this issue
May 17, 2023
As a workaround for: fdemmer/django-weasyprint#71 For using weasyprint 0.58 until django-weasyprint has been updated for weasyprint 0.59.
laudrup
added a commit
to laudrup/ebbamaala
that referenced
this issue
May 17, 2023
As a workaround for: fdemmer/django-weasyprint#71 For using weasyprint 0.58 until django-weasyprint has been updated for weasyprint 0.59.
laudrup
added a commit
to laudrup/ebbamaala
that referenced
this issue
May 17, 2023
As a workaround for: fdemmer/django-weasyprint#71 For using weasyprint 0.58 until django-weasyprint has been updated for weasyprint 0.59.
3 tasks
fixed in v2.2.1 |
ivanbrizuela
added a commit
to ivanbrizuela/django-weasyprint
that referenced
this issue
Sep 19, 2023
- Support WeasyPrint v59.0 (fdemmer#71) - Add Python 3.11 and Django 4.2 to test matrix, remove Python 3.6 and 3.7
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Hi,
it seems weasyprint changed its API with v59 and the signature of HTML.render() hast changed.
See: https://github.com/Kozea/WeasyPrint/releases/tag/v59.0b1
As a result, django-weasyprint throws an exception with Weasyprint v59:
Maybe you could adapt to the changed API. Thank you!
Best,
Floek
The text was updated successfully, but these errors were encountered: