Bug 1469797

Summary: fedpkg: ImportError: No module named koji
Product: [Fedora] Fedora Reporter: Lukas Slebodnik <lslebodn>
Component: fedpkgAssignee: cqi
Status: CLOSED DUPLICATE QA Contact: Fedora Extras Quality Assurance <extras-qa>
Severity: unspecified Docs Contact:
Priority: unspecified    
Version: rawhideCC: bochecha, cqi, dennis, lsedlar, pbabinca, s
Target Milestone: ---   
Target Release: ---   
Hardware: Unspecified   
OS: Unspecified   
Whiteboard:
Fixed In Version: Doc Type: If docs needed, set a value
Doc Text:
Story Points: ---
Clone Of: Environment:
Last Closed: 2017-07-12 05:30:21 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:
Embargoed:

Description Lukas Slebodnik 2017-07-11 20:56:53 UTC
Description of problem:
I upgraded my laptop from f26 to f27 and fedpkg does not work after upgrade

Version-Release number of selected component (if applicable):
sh$ rpm -q fedpkg
fedpkg-1.28-1.fc26.noarch

How reproducible:
deterministic

Steps to Reproduce:
1. fedpkg clone --anonymous mock

Actual results:
Traceback (most recent call last):
  File "/usr/bin/fedpkg", line 13, in <module>
    from fedpkg.__main__ import main
  File "/usr/lib/python2.7/site-packages/fedpkg/__init__.py", line 12, in <module>
    import pyrpkg
  File "/usr/lib/python2.7/site-packages/pyrpkg/__init__.py", line 17, in <module>
    import koji
ImportError: No module named koji

Expected results:
No problems

Additional info:
sh$ rpm -qa | grep koji
python3-koji-1.13.0-1.fc27.noarch
koji-1.13.0-1.fc27.noarch

sh$ rpm -q --requires fedpkg 
/usr/bin/python
bodhi-client
config(fedpkg) = 1.28-1.fc26
fedora-cert
koji
packagedb-cli
packagedb-cli > 2.2
pyrpkg >= 1.47
python(abi) = 2.7
python-fedora
python-pycurl
redhat-rpm-config
rpmlib(CompressedFileNames) <= 3.0.4-1
rpmlib(FileDigests) <= 4.6.0-1
rpmlib(PartialHardlinkSets) <= 4.0.4-1
rpmlib(PayloadFilesHavePrefix) <= 4.0-1
rpmlib(PayloadIsXz) <= 5.2-1

Comment 1 Lubomír Sedlář 2017-07-12 05:30:21 UTC

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