Bug 1330886

Summary: python-glue doesnt work, can't find jinja2
Product: [Fedora] Fedora Reporter: Ryan Lerch <rlerch>
Component: python-glueAssignee: Lorenzo Gil Sanchez <lorenzo.gil.sanchez>
Status: CLOSED ERRATA QA Contact: Fedora Extras Quality Assurance <extras-qa>
Severity: unspecified Docs Contact:
Priority: unspecified    
Version: 23CC: lorenzo.gil.sanchez
Target Milestone: ---   
Target Release: ---   
Hardware: Unspecified   
OS: Unspecified   
Whiteboard:
Fixed In Version: python-glue-0.11.1-5.fc24 Doc Type: Bug Fix
Doc Text:
Story Points: ---
Clone Of: Environment:
Last Closed: 2016-05-16 16:23:01 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 Ryan Lerch 2016-04-27 08:46:16 UTC
Just installed python-glue (python-glue-0.11.1-3.fc23.noarch), and when trying to run it with:

$ glue images sprites

i get the following error:


"""
Traceback (most recent call last):
  File "/usr/bin/glue", 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 'Jinja2<2.8,>=2.7' distribution was not found and is required by glue
"""


the following jinja is installed on my system via rpm:

python-jinja2.noarch                  2.8-2.fc23

Comment 1 Lorenzo Gil Sanchez 2016-04-29 07:17:57 UTC
I'm working on a fix for this and also adding support for Python3 as part of bug https://bugzilla.redhat.com/show_bug.cgi?id=1070172

Comment 2 Fedora Update System 2016-05-11 04:57:39 UTC
python-glue-0.11.1-5.fc24 has been submitted as an update to Fedora 24. https://bodhi.fedoraproject.org/updates/FEDORA-2016-1b7c062e24

Comment 3 Fedora Update System 2016-05-12 09:41:49 UTC
python-glue-0.11.1-5.fc24 has been pushed to the Fedora 24 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-2016-1b7c062e24

Comment 4 Fedora Update System 2016-05-16 16:22:59 UTC
python-glue-0.11.1-5.fc24 has been pushed to the Fedora 24 stable repository. If problems still persist, please make note of it in this bug report.