Bug 1391461 - Rebase-helper requires python-copr to run
Summary: Rebase-helper requires python-copr to run
Keywords:
Status: CLOSED CURRENTRELEASE
Alias: None
Product: Fedora
Classification: Fedora
Component: rebase-helper
Version: 26
Hardware: Unspecified
OS: Linux
unspecified
unspecified
Target Milestone: ---
Assignee: Nikola Forró
QA Contact: Fedora Extras Quality Assurance
URL:
Whiteboard:
Depends On:
Blocks:
TreeView+ depends on / blocked
 
Reported: 2016-11-03 11:21 UTC by Petr Menšík
Modified: 2017-09-20 09:04 UTC (History)
3 users (show)

Fixed In Version: rebase-helper-0.9.0-1.fc26
Doc Type: If docs needed, set a value
Doc Text:
Clone Of:
Environment:
Last Closed: 2017-09-20 09:04:04 UTC
Type: Bug


Attachments (Terms of Use)

Description Petr Menšík 2016-11-03 11:21:41 UTC
Description of problem:
If installed into system without python-copr package installed, it fails with traceback.

Version-Release number of selected component (if applicable):
0.8.0-2.fc24, 0.8.0-2.fc26

How reproducible:
Always

Steps to Reproduce:
1. dnf install rebase-helper
2. rebase-helper

Actual results:
Traceback (most recent call last):
  File "/usr/bin/rebase-helper", line 9, in <module>
    load_entry_point('rebasehelper==0.8.0', 'console_scripts', 'rebase-helper')()
  File "/usr/lib/python2.7/site-packages/pkg_resources/__init__.py", line 547, in load_entry_point
    return get_distribution(dist).load_entry_point(group, name)
  File "/usr/lib/python2.7/site-packages/pkg_resources/__init__.py", line 2720, in load_entry_point
    return ep.load()
  File "/usr/lib/python2.7/site-packages/pkg_resources/__init__.py", line 2380, in load
    return self.resolve()
  File "/usr/lib/python2.7/site-packages/pkg_resources/__init__.py", line 2386, in resolve
    module = __import__(self.module_name, fromlist=['__name__'], level=0)
  File "/usr/lib/python2.7/site-packages/rebasehelper/cli.py", line 30, in <module>
    from rebasehelper.application import Application
  File "/usr/lib/python2.7/site-packages/rebasehelper/application.py", line 30, in <module>
    from rebasehelper.specfile import SpecFile, get_rebase_name
  File "/usr/lib/python2.7/site-packages/rebasehelper/specfile.py", line 33, in <module>
    from rebasehelper.utils import DownloadHelper, DownloadError, MacroHelper, defenc
  File "/usr/lib/python2.7/site-packages/rebasehelper/utils.py", line 37, in <module>
    import copr
ImportError: No module named copr


Expected results:
usage: rebase-helper [-h] [-v] [-p] [-b] [--buildtool BUILDTOOL]
                     [--pkgcomparetool PKGCOMPARETOOL]
                     [--outputtool OUTPUTTOOL] [-w] [--not-download-sources]
                     [-c] [--non-interactive] [--comparepkgs-only COMPAREPKGS]
                     [--builds-nowait] [--build-tasks BUILD_TASKS]
                     [--results-dir RESULTS_DIR]
                     [--build-retries BUILD_RETRIES]
                     [--builder-options BUILDER_OPTIONS]
                     SOURCES

too few arguments

Package does depend on python-copr and is installed with it, or it does not require it unless I am building copr package.

Additional info:
rebase-helper --build-tool=mock
does not help.

Comment 2 Fedora Update System 2017-01-16 15:24:00 UTC
rebase-helper-0.9.0-1.fc24 has been submitted as an update to Fedora 24. https://bodhi.fedoraproject.org/updates/FEDORA-2017-3b2cec5521

Comment 3 Fedora Update System 2017-01-16 15:24:05 UTC
rebase-helper-0.9.0-1.fc25 has been submitted as an update to Fedora 25. https://bodhi.fedoraproject.org/updates/FEDORA-2017-8457e53664

Comment 4 Fedora Update System 2017-01-16 22:23:41 UTC
rebase-helper-0.9.0-1.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-2017-3b2cec5521

Comment 5 Fedora Update System 2017-01-16 22:24:58 UTC
rebase-helper-0.9.0-1.fc25 has been pushed to the Fedora 25 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-2017-8457e53664

Comment 6 Fedora Update System 2017-01-24 23:20:48 UTC
rebase-helper-0.9.0-1.fc25 has been pushed to the Fedora 25 stable repository. If problems still persist, please make note of it in this bug report.

Comment 7 Fedora Update System 2017-01-25 00:21:37 UTC
rebase-helper-0.9.0-1.fc24 has been pushed to the Fedora 24 stable repository. If problems still persist, please make note of it in this bug report.

Comment 8 Fedora End Of Life 2017-02-28 10:33:11 UTC
This bug appears to have been reported against 'rawhide' during the Fedora 26 development cycle.
Changing version to '26'.


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