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
Our system auto-updated to latest pydyf (0.11.0) and we started to get this error:
File "/env/lib/python3.11/site-packages/weasyprint/pdf/__init__.py", line 127, in generate_pdf
pdf = pydyf.PDF((version or '1.7'), identifier)
^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
TypeError: PDF.__init__() takes 1 positional argument but 3 were given
It seems they changed the "init" signature so it doesn't support the pdf = pydyf.PDF((version or '1.7'), identifier) syntax anymore, but just pdf = pydyf.PDF()
This had me stalled for hours until I found the culprit!
The text was updated successfully, but these errors were encountered:
Our system auto-updated to latest pydyf (0.11.0) and we started to get this error:
It seems they changed the "init" signature so it doesn't support the
pdf = pydyf.PDF((version or '1.7'), identifier)
syntax anymore, but justpdf = pydyf.PDF()
This had me stalled for hours until I found the culprit!
The text was updated successfully, but these errors were encountered: