Bug 1324838

Summary: Should depend on python-urlgrabber for rpm-ostree-toolbox installer
Product: [Fedora] Fedora Reporter: David King <amigadave>
Component: rpm-ostree-toolboxAssignee: Colin Walters <walters>
Status: CLOSED RAWHIDE QA Contact: Fedora Extras Quality Assurance <extras-qa>
Severity: unspecified Docs Contact:
Priority: unspecified    
Version: 23CC: walters
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-07 12:33:40 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:
Attachments:
Description Flags
add the Requires none

Description David King 2016-04-07 12:14:26 UTC
After a fresh install of rpm-ostree-toolbox, running "rpm-ostree-toolbox installer":

/usr/lib64/rpm-ostree-toolbox/py/rpmostreecompose/imagefactory.py:29: PyGIWarning: OSTree was imported without specifying a version first. Use gi.require_version('OSTree', '1.0') before import to ensure that the right version gets loaded.
  from gi.repository import Gio, OSTree, GLib  # pylint: disable=no-name-in-module
Traceback (most recent call last):
  File "/usr/lib64/rpm-ostree-toolbox/py/rpmostreecompose-main", line 22, in <module>
    from rpmostreecompose import imagefactory, installer, treecompose
  File "/usr/lib64/rpm-ostree-toolbox/py/rpmostreecompose/imagefactory.py", line 35, in <module>
    from imgfac.PersistentImageManager import PersistentImageManager
  File "/usr/lib/python2.7/site-packages/imgfac/PersistentImageManager.py", line 17, in <module>
    from ApplicationConfiguration import ApplicationConfiguration
  File "/usr/lib/python2.7/site-packages/imgfac/ApplicationConfiguration.py", line 26, in <module>
    from urlgrabber import urlopen
ImportError: No module named urlgrabber

After installing the python-urlgrabber package, this worked as expected.

Comment 1 David King 2016-04-07 12:16:54 UTC
Created attachment 1144692 [details]
add the Requires

Comment 2 Colin Walters 2016-04-07 12:33:40 UTC
Thanks for the patch, applied.