Package: weasyprint
Version: 62.3-1
Severity: normal
X-Debbugs-Cc: [email protected]

Dear Maintainer,

A few days ago weasyprint was able to create a PDF from my HTML file but today, 
right after an update,
it failed with the following error:

weasyprint Kinetic-Energy.html Kinetic-Energy.pdf
Traceback (most recent call last):
  File "/usr/bin/weasyprint", line 8, in <module>
    sys.exit(main())
             ~~~~^^
  File "/usr/lib/python3/dist-packages/weasyprint/__main__.py", line 183, in 
main
    html.write_pdf(output, **options)
    ~~~~~~~~~~~~~~^^^^^^^^^^^^^^^^^^^
  File "/usr/lib/python3/dist-packages/weasyprint/__init__.py", line 259, in 
write_pdf
    self.render(font_config, counter_style, **options)
    ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
    .write_pdf(target, zoom, finisher, **options))
    ~~~~~~~~~~^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
  File "/usr/lib/python3/dist-packages/weasyprint/document.py", line 400, in 
write_pdf
    pdf = generate_pdf(self, target, zoom, **options)
  File "/usr/lib/python3/dist-packages/weasyprint/pdf/__init__.py", line 166, 
in generate_pdf
    stream.transform(d=-1, f=(page.height * scale))
    ~~~~~~~~~~~~~~~~^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
  File "/usr/lib/python3/dist-packages/weasyprint/pdf/stream.py", line 246, in 
transform
    super().transform(a, b, c, d, e, f)
    ^^^^^^^^^^^^^^^^^
AttributeError: 'super' object has no attribute 'transform'


Regards
Alex



-- System Information:
Debian Release: forky/sid
  APT prefers unstable
  APT policy: (500, 'unstable')
Architecture: arm64 (aarch64)

Kernel: Linux 6.17.9-mnt-reform-arm64 (SMP w/4 CPU threads; PREEMPT)
Kernel taint flags: TAINT_FORCED_MODULE, TAINT_CRAP, TAINT_OOT_MODULE, 
TAINT_UNSIGNED_MODULE
Locale: LANG=en_US.UTF-8, LC_CTYPE=en_US.UTF-8 (charmap=UTF-8), LANGUAGE not set
Shell: /bin/sh linked to /usr/bin/dash
Init: systemd (via /run/systemd/system)
LSM: AppArmor: enabled

Versions of packages weasyprint depends on:
ii  libpango-1.0-0                                       1.56.3-2
ii  libpangoft2-1.0-0                                    1.56.3-2
ii  python3                                              3.13.9-2
ii  python3-cffi                                         2.0.0-2
ii  python3-cffi-backend [python3-cffi-backend-api-min]  2.0.0-2+b1
pn  python3-cffi-backend-api-max                         <none>
ii  python3-cssselect2                                   0.8.0-1
ii  python3-fonttools                                    4.57.0-3+b1
ii  python3-html5lib                                     1.2-2
ii  python3-pil                                          12.0.0-1+b1
ii  python3-pydyf                                        0.12.1-1
ii  python3-pyphen                                       0.16.0-1
ii  python3-tinycss2                                     1.4.0-2
ii  shared-mime-info                                     2.4-5+b3

Versions of packages weasyprint recommends:
ii  ca-certificates  20250419

weasyprint suggests no packages.

-- no debconf information

Reply via email to