Bug 1324838 - Should depend on python-urlgrabber for rpm-ostree-toolbox installer
Summary: Should depend on python-urlgrabber for rpm-ostree-toolbox installer
Keywords:
Status: CLOSED RAWHIDE
Alias: None
Product: Fedora
Classification: Fedora
Component: rpm-ostree-toolbox
Version: 23
Hardware: Unspecified
OS: Unspecified
unspecified
unspecified
Target Milestone: ---
Assignee: Colin Walters
QA Contact: Fedora Extras Quality Assurance
URL:
Whiteboard:
Depends On:
Blocks:
TreeView+ depends on / blocked
 
Reported: 2016-04-07 12:14 UTC by David King
Modified: 2016-04-07 12:33 UTC (History)
1 user (show)

Fixed In Version:
Doc Type: Bug Fix
Doc Text:
Clone Of:
Environment:
Last Closed: 2016-04-07 12:33:40 UTC
Type: Bug


Attachments (Terms of Use)
add the Requires (1.46 KB, patch)
2016-04-07 12:16 UTC, David King
no flags Details | Diff

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.


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