Bug 1622365

Summary: [abrt] weasyprint: resolve(): __init__.py:774:resolve:pkg_resources.DistributionNotFound: The 'WeasyPrint==0.22' distribution was not found and is required by the application
Product: [Fedora] Fedora Reporter: Mikhail Yarashevich <aloner>
Component: weasyprintAssignee: Eric Smith <spacewar>
Status: CLOSED ERRATA QA Contact: Fedora Extras Quality Assurance <extras-qa>
Severity: unspecified Docs Contact:
Priority: unspecified    
Version: 28CC: andrew, fschwarz, spacewar
Target Milestone: ---   
Target Release: ---   
Hardware: x86_64   
OS: Unspecified   
Whiteboard: abrt_hash:d7977cc3086684372751859b27518c928f6a2887;VARIANT_ID=workstation;
Fixed In Version: weasyprint-0.39-2.fc30 Doc Type: If docs needed, set a value
Doc Text:
Story Points: ---
Clone Of: Environment:
Last Closed: 2019-04-30 17:57:51 UTC Type: ---
Regression: --- Mount Type: ---
Documentation: --- CRM:
Verified Versions: Category: ---
oVirt Team: --- RHEL 7.3 requirements from Atomic Host:
Cloudforms Team: --- Target Upstream Version:
Embargoed:

Description Mikhail Yarashevich 2018-08-26 20:30:20 UTC
Description of problem:
Try to generate PDF throw HTML5 from Markdown using Pandoc.

Version-Release number of selected component:
weasyprint-0.22-11.fc28

Additional info:
reporter:       libreport-2.9.5
cmdline:        /usr/bin/python3 /usr/bin/weasyprint - ./html2pdf10302-0.pdf
crash_function: resolve
exception_type: pkg_resources.DistributionNotFound
executable:     /usr/bin/weasyprint
interpreter:    python3-3.6.6-1.fc28.x86_64
kernel:         4.17.18-200.fc28.x86_64
runlevel:       N 5
type:           Python3
uid:            1000

Truncated backtrace:
__init__.py:774:resolve:pkg_resources.DistributionNotFound: The 'WeasyPrint==0.22' distribution was not found and is required by the application

Traceback (most recent call last):
  File "/usr/bin/weasyprint", line 6, in <module>
    from pkg_resources import load_entry_point
  File "/usr/lib/python3.6/site-packages/pkg_resources/__init__.py", line 3095, in <module>
    @_call_aside
  File "/usr/lib/python3.6/site-packages/pkg_resources/__init__.py", line 3079, in _call_aside
    f(*args, **kwargs)
  File "/usr/lib/python3.6/site-packages/pkg_resources/__init__.py", line 3108, in _initialize_master_working_set
    working_set = WorkingSet._build_master()
  File "/usr/lib/python3.6/site-packages/pkg_resources/__init__.py", line 570, in _build_master
    ws.require(__requires__)
  File "/usr/lib/python3.6/site-packages/pkg_resources/__init__.py", line 888, in require
    needed = self.resolve(parse_requirements(requirements))
  File "/usr/lib/python3.6/site-packages/pkg_resources/__init__.py", line 774, in resolve
    raise DistributionNotFound(req, requirers)
pkg_resources.DistributionNotFound: The 'WeasyPrint==0.22' distribution was not found and is required by the application

Local variables in innermost frame:
requirers: None
ws: <pkg_resources.WorkingSet object at 0x7f22b03214a8>
dist: None
req: Requirement.parse('WeasyPrint==0.22')
required_by: defaultdict(<class 'set'>, {})
req_extras: {}
to_activate: []
best: {'weasyprint': None}
processed: {}
extras: None
replace_conflicting: False
installer: None
env: <pkg_resources.Environment object at 0x7f22b0321a58>
requirements: []
self: <pkg_resources.WorkingSet object at 0x7f22b03214a8>

Comment 1 Fedora Update System 2019-04-30 18:01:46 UTC
weasyprint-0.39-1.fc30 has been submitted as an update to Fedora 30. https://bodhi.fedoraproject.org/updates/FEDORA-2019-5e7ba0829d

Comment 2 Fedora Update System 2019-05-01 01:44:22 UTC
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

Comment 3 Fedora Update System 2019-05-28 07:17:29 UTC
weasyprint-0.39-2.fc30 has been submitted as an update to Fedora 30. https://bodhi.fedoraproject.org/updates/FEDORA-2019-78c5caea7a

Comment 4 Fedora Update System 2019-05-29 01:35:35 UTC
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

Comment 5 Fedora Update System 2019-06-06 01:06:13 UTC
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.