Description of problem: Attempting to use weasyprint to print an html page to pdf. Version-Release number of selected component: weasyprint-0.22-14.fc29 Additional info: reporter: libreport-2.10.0 cmdline: /usr/bin/python3 /usr/bin/weasyprint crash_function: module exception_type: ModuleNotFoundError executable: /usr/bin/weasyprint interpreter: python3-3.7.2-4.fc29.x86_64 kernel: 4.20.13-200.fc29.x86_64 runlevel: N 5 type: Python3 uid: 5040 Truncated backtrace: #1 [/usr/lib/python3.7/site-packages/cairocffi/_ffi.py:3] <module> #2 [/usr/lib/python3.7/site-packages/cairocffi/__init__.py:18] <module> #3 [/usr/lib/python3.7/site-packages/weasyprint/text.py:18] <module> #4 [/usr/lib/python3.7/site-packages/weasyprint/css/computed_values.py:18] <module> #5 [/usr/lib/python3.7/site-packages/weasyprint/css/__init__.py:30] <module> #6 [/usr/lib/python3.7/site-packages/weasyprint/__init__.py:336] <module> #7 [/usr/lib/python3.7/site-packages/pkg_resources/__init__.py:2338] resolve #8 [/usr/lib/python3.7/site-packages/pkg_resources/__init__.py:2332] load #9 [/usr/lib/python3.7/site-packages/pkg_resources/__init__.py:2714] load_entry_point #10 [/usr/lib/python3.7/site-packages/pkg_resources/__init__.py:484] load_entry_point
Created attachment 1541107 [details] File: backtrace
Created attachment 1541108 [details] File: cgroup
Created attachment 1541109 [details] File: cpuinfo
Created attachment 1541110 [details] File: environ
Created attachment 1541111 [details] File: mountinfo
Created attachment 1541112 [details] File: namespaces
Created attachment 1541113 [details] File: open_fds
I suspect that this bug should be filed against "python-cairocffi" . Maybe that package does not expose xcffib properly (just wild guess)?
Hi Felix, I tracked this one down, pretty easily. weasyprint doesn't have python-cairocffi (may have to double check my spelling here), as a dependency, which it obviously should.
weasyprint-0.39-1.fc30 has been submitted as an update to Fedora 30. https://bodhi.fedoraproject.org/updates/FEDORA-2019-5e7ba0829d
weasyprint-0.39-1.fc30 has been pushed to the Fedora 30 testing repository. If problems still persist, please make note of it in this bug report. See https://fedoraproject.org/wiki/QA:Updates_Testing for instructions on how to install test updates. You can provide feedback for this update here: https://bodhi.fedoraproject.org/updates/FEDORA-2019-5e7ba0829d
weasyprint-0.39-2.fc30 has been submitted as an update to Fedora 30. https://bodhi.fedoraproject.org/updates/FEDORA-2019-78c5caea7a
weasyprint-0.39-2.fc30 has been pushed to the Fedora 30 testing repository. If problems still persist, please make note of it in this bug report. See https://fedoraproject.org/wiki/QA:Updates_Testing for instructions on how to install test updates. You can provide feedback for this update here: https://bodhi.fedoraproject.org/updates/FEDORA-2019-78c5caea7a
weasyprint-0.39-2.fc30 has been pushed to the Fedora 30 stable repository. If problems still persist, please make note of it in this bug report.