Bug 957835 - fails with pkg_resources.DistributionNotFound: pdfrw
Summary: fails with pkg_resources.DistributionNotFound: pdfrw
Keywords:
Status: CLOSED ERRATA
Alias: None
Product: Fedora
Classification: Fedora
Component: rst2pdf
Version: 19
Hardware: Unspecified
OS: Unspecified
unspecified
unspecified
Target Milestone: ---
Assignee: Sergio Pascual
QA Contact: Fedora Extras Quality Assurance
URL:
Whiteboard:
Depends On: 963604
Blocks:
TreeView+ depends on / blocked
 
Reported: 2013-04-29 16:43 UTC by Zbigniew Jędrzejewski-Szmek
Modified: 2013-06-13 06:44 UTC (History)
1 user (show)

Fixed In Version: python-pdfrw-0.1-2.fc19
Doc Type: Bug Fix
Doc Text:
Clone Of:
Environment:
Last Closed: 2013-06-13 06:44:27 UTC
Type: Bug
Embargoed:


Attachments (Terms of Use)

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.


Note You need to log in before you can comment on or make changes to this bug.