Bug 1303121

Summary: pkg_resources.DistributionNotFound: The 'pillow==2.0.0,>=2.4.0' distribution was not found and is required by reportlab
Product: [Fedora] Fedora Reporter: Ankur Sinha (FranciscoD) <sanjay.ankur>
Component: rst2pdfAssignee: Sergio Pascual <sergio.pasra>
Status: CLOSED DUPLICATE QA Contact: Fedora Extras Quality Assurance <extras-qa>
Severity: unspecified Docs Contact:
Priority: unspecified    
Version: 23CC: dridi.boukelmoune, pingou, sergio.pasra
Target Milestone: ---   
Target Release: ---   
Hardware: Unspecified   
OS: Unspecified   
Whiteboard:
Fixed In Version: Doc Type: Bug Fix
Doc Text:
Story Points: ---
Clone Of: Environment:
Last Closed: 2016-04-17 21:09:38 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:

Description Ankur Sinha (FranciscoD) 2016-01-29 15:43:39 UTC
Description of problem:
Doesn't work, says can't find pillow

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

How reproducible:
Always

Steps to Reproduce:
1. Do anything with rst2pdf
2.
3.

Actual results:
Errors with traceback

Expected results:
Should work

Additional info:
$ rst2pdf -h
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/__init__.py", line 3084, in <module>
    @_call_aside
  File "/usr/lib/python2.7/site-packages/pkg_resources/__init__.py", line 3070, in _call_aside
    f(*args, **kwargs)
  File "/usr/lib/python2.7/site-packages/pkg_resources/__init__.py", line 3097, in _initialize_master_working_set
    working_set = WorkingSet._build_master()
  File "/usr/lib/python2.7/site-packages/pkg_resources/__init__.py", line 653, in _build_master
    return cls._build_from_requirements(__requires__)
  File "/usr/lib/python2.7/site-packages/pkg_resources/__init__.py", line 666, in _build_from_requirements
    dists = ws.resolve(reqs, Environment())
  File "/usr/lib/python2.7/site-packages/pkg_resources/__init__.py", line 839, in resolve
    raise DistributionNotFound(req, requirers)
pkg_resources.DistributionNotFound: The 'pillow==2.0.0,>=2.4.0' distribution was not found and is required by reportlab

$ sudo dnf install python-pillow
[sudo] password for asinha: 
Last metadata expiration check performed 0:33:12 ago on Fri Jan 29 15:08:28 2016.
Package python-pillow-3.0.0-1.fc23.x86_64 is already installed, skipping.
Dependencies resolved.
Nothing to do.
Complete!

Comment 1 Pierre-YvesChibon 2016-03-22 13:10:24 UTC
I can confirm the bug :(

Comment 2 Dridi Boukelmoune 2016-04-17 21:09:38 UTC
A fix is available in updates-testing, see #1267446!

*** This bug has been marked as a duplicate of bug 1267446 ***