Bug 957835

Summary: fails with pkg_resources.DistributionNotFound: pdfrw
Product: [Fedora] Fedora Reporter: Zbigniew JÄ™drzejewski-Szmek <zbyszek>
Component: rst2pdfAssignee: Sergio Pascual <sergio.pasra>
Status: CLOSED ERRATA QA Contact: Fedora Extras Quality Assurance <extras-qa>
Severity: unspecified Docs Contact:
Priority: unspecified    
Version: 19CC: sergio.pasra
Target Milestone: ---Keywords: Triaged
Target Release: ---   
Hardware: Unspecified   
OS: Unspecified   
Whiteboard:
Fixed In Version: python-pdfrw-0.1-2.fc19 Doc Type: Bug Fix
Doc Text:
Story Points: ---
Clone Of: Environment:
Last Closed: 2013-06-13 06:44:27 UTC Type: Bug
Regression: --- Mount Type: ---
Documentation: --- CRM:
Verified Versions: Category: ---
oVirt Team: --- RHEL 7.3 requirements from Atomic Host:
Cloudforms Team: --- Target Upstream Version:
Embargoed:
Bug Depends On: 963604    
Bug Blocks:    

Description Zbigniew Jędrzejewski-Szmek 2013-04-29 16:43:49 UTC
Description of problem:
% rst2pdf README.rst
Traceback (most recent call last):
  File "/usr/bin/rst2pdf", line 5, in <module>
    from pkg_resources import load_entry_point
  File "/usr/lib/python2.7/site-packages/pkg_resources.py", line 2805, in <module>
    working_set.require(__requires__)
  File "/usr/lib/python2.7/site-packages/pkg_resources.py", line 696, in require
    needed = self.resolve(parse_requirements(requirements))
  File "/usr/lib/python2.7/site-packages/pkg_resources.py", line 594, in resolve
    raise DistributionNotFound(req)
pkg_resources.DistributionNotFound: pdfrw

I belive that pdfrw was bundled with previous versions (in /usr/lib/python2.7/site-packages/rst2pdf/extensions/vectorpdf/pdfrw) but is not anymore.

Version-Release number of selected component (if applicable):
rst2pdf-0.93-2.fc19.noarch

Comment 1 Sergio Pascual 2013-04-30 09:10:25 UTC
You are correct, pdfrw is now a separate package. The bad new is that is not packaged in Fedora. The good news is that is very simple to package. I will package it and try to get it reviewed before F19 is released

Comment 2 Fedora Update System 2013-05-24 08:21:34 UTC
python-pdfrw-0.1-2.fc19,rst2pdf-0.93-3.fc19 has been submitted as an update for Fedora 19.
https://admin.fedoraproject.org/updates/python-pdfrw-0.1-2.fc19,rst2pdf-0.93-3.fc19

Comment 3 Fedora Update System 2013-05-24 19:46:11 UTC
Package python-pdfrw-0.1-2.fc19, rst2pdf-0.93-3.fc19:
* should fix your issue,
* was pushed to the Fedora 19 testing repository,
* should be available at your local mirror within two days.
Update it with:
# su -c 'yum update --enablerepo=updates-testing python-pdfrw-0.1-2.fc19 rst2pdf-0.93-3.fc19'
as soon as you are able to.
Please go to the following url:
https://admin.fedoraproject.org/updates/FEDORA-2013-9059/python-pdfrw-0.1-2.fc19,rst2pdf-0.93-3.fc19
then log in and leave karma (feedback).

Comment 4 Fedora Update System 2013-06-13 06:44:27 UTC
python-pdfrw-0.1-2.fc19, rst2pdf-0.93-3.fc19 has been pushed to the Fedora 19 stable repository.  If problems still persist, please make note of it in this bug report.