Description of problem: After upgrading to koji-1.23.0-1.fc33, running koji commands fails: koji list-targets --name f33 Traceback (most recent call last): File "/usr/bin/koji", line 39, in <module> import koji ModuleNotFoundError: No module named 'koji' Version-Release number of selected component (if applicable): koji-1.23.0-1.fc33 How reproducible: Seems to only happen on armhfp, downgrading to koji-1.22.1-1 got it working. I was also testing on aarch64 which worked fine.
Strange. Is python3-koji installed? Can you attach: rpm -qa | grep koji | sort and rpm -ql python3-koji ?
[root@bpi ~]# rpm -qa | grep koji | sort koji-1.23.0-1.fc33.noarch koji-utils-1.23.0-1.fc33.noarch python3-koji-1.23.0-1.fc33.noarch [root@bpi ~]# rpm -ql python3-koji /usr/lib64/python3.9/site-packages/koji /usr/lib64/python3.9/site-packages/koji/__init__.py /usr/lib64/python3.9/site-packages/koji/__pycache__ /usr/lib64/python3.9/site-packages/koji/__pycache__/__init__.cpython-39.opt-1.pyc /usr/lib64/python3.9/site-packages/koji/__pycache__/__init__.cpython-39.pyc /usr/lib64/python3.9/site-packages/koji/__pycache__/_version.cpython-39.opt-1.pyc /usr/lib64/python3.9/site-packages/koji/__pycache__/_version.cpython-39.pyc /usr/lib64/python3.9/site-packages/koji/__pycache__/arch.cpython-39.opt-1.pyc /usr/lib64/python3.9/site-packages/koji/__pycache__/arch.cpython-39.pyc /usr/lib64/python3.9/site-packages/koji/__pycache__/auth.cpython-39.opt-1.pyc /usr/lib64/python3.9/site-packages/koji/__pycache__/auth.cpython-39.pyc /usr/lib64/python3.9/site-packages/koji/__pycache__/context.cpython-39.opt-1.pyc /usr/lib64/python3.9/site-packages/koji/__pycache__/context.cpython-39.pyc /usr/lib64/python3.9/site-packages/koji/__pycache__/daemon.cpython-39.opt-1.pyc /usr/lib64/python3.9/site-packages/koji/__pycache__/daemon.cpython-39.pyc /usr/lib64/python3.9/site-packages/koji/__pycache__/db.cpython-39.opt-1.pyc /usr/lib64/python3.9/site-packages/koji/__pycache__/db.cpython-39.pyc /usr/lib64/python3.9/site-packages/koji/__pycache__/plugin.cpython-39.opt-1.pyc /usr/lib64/python3.9/site-packages/koji/__pycache__/plugin.cpython-39.pyc /usr/lib64/python3.9/site-packages/koji/__pycache__/policy.cpython-39.opt-1.pyc /usr/lib64/python3.9/site-packages/koji/__pycache__/policy.cpython-39.pyc /usr/lib64/python3.9/site-packages/koji/__pycache__/rpmdiff.cpython-39.opt-1.pyc /usr/lib64/python3.9/site-packages/koji/__pycache__/rpmdiff.cpython-39.pyc /usr/lib64/python3.9/site-packages/koji/__pycache__/server.cpython-39.opt-1.pyc /usr/lib64/python3.9/site-packages/koji/__pycache__/server.cpython-39.pyc /usr/lib64/python3.9/site-packages/koji/__pycache__/tasks.cpython-39.opt-1.pyc /usr/lib64/python3.9/site-packages/koji/__pycache__/tasks.cpython-39.pyc /usr/lib64/python3.9/site-packages/koji/__pycache__/util.cpython-39.opt-1.pyc /usr/lib64/python3.9/site-packages/koji/__pycache__/util.cpython-39.pyc /usr/lib64/python3.9/site-packages/koji/__pycache__/xmlrpcplus.cpython-39.opt-1.pyc /usr/lib64/python3.9/site-packages/koji/__pycache__/xmlrpcplus.cpython-39.pyc /usr/lib64/python3.9/site-packages/koji/_version.py /usr/lib64/python3.9/site-packages/koji/arch.py /usr/lib64/python3.9/site-packages/koji/auth.py /usr/lib64/python3.9/site-packages/koji/context.py /usr/lib64/python3.9/site-packages/koji/daemon.py /usr/lib64/python3.9/site-packages/koji/db.py /usr/lib64/python3.9/site-packages/koji/plugin.py /usr/lib64/python3.9/site-packages/koji/policy.py /usr/lib64/python3.9/site-packages/koji/rpmdiff.py /usr/lib64/python3.9/site-packages/koji/server.py /usr/lib64/python3.9/site-packages/koji/tasks.py /usr/lib64/python3.9/site-packages/koji/util.py /usr/lib64/python3.9/site-packages/koji/xmlrpcplus.py /usr/lib64/python3.9/site-packages/koji_cli /usr/lib64/python3.9/site-packages/koji_cli/__init__.py /usr/lib64/python3.9/site-packages/koji_cli/__pycache__ /usr/lib64/python3.9/site-packages/koji_cli/__pycache__/__init__.cpython-39.opt-1.pyc /usr/lib64/python3.9/site-packages/koji_cli/__pycache__/__init__.cpython-39.pyc /usr/lib64/python3.9/site-packages/koji_cli/__pycache__/commands.cpython-39.opt-1.pyc /usr/lib64/python3.9/site-packages/koji_cli/__pycache__/commands.cpython-39.pyc /usr/lib64/python3.9/site-packages/koji_cli/__pycache__/lib.cpython-39.opt-1.pyc /usr/lib64/python3.9/site-packages/koji_cli/__pycache__/lib.cpython-39.pyc /usr/lib64/python3.9/site-packages/koji_cli/commands.py /usr/lib64/python3.9/site-packages/koji_cli/lib.py [root@bpi ~]# koji list-targets --name f33 Traceback (most recent call last): File "/usr/bin/koji", line 39, in <module> import koji ModuleNotFoundError: No module named 'koji'
yeah, /usr/lib64 there is... wrong for a 32bit thing. ;) Looks like there was a upstream commit that made it install to /usr/lib64 on 64bit oses... which means the resulting package is not usable on 32bit ones. ;( filed: https://pagure.io/koji/issue/2578
Fix proposed here: https://pagure.io/koji/pull-request/2579
Fixed: https://pagure.io/koji/issue/2578 https://pagure.io/koji/c/2fa1f05
FEDORA-2020-e3cff2530e has been submitted as an update to Fedora 32. https://bodhi.fedoraproject.org/updates/FEDORA-2020-e3cff2530e
FEDORA-2020-4cdebf648f has been submitted as an update to Fedora 33. https://bodhi.fedoraproject.org/updates/FEDORA-2020-4cdebf648f
FEDORA-2020-4cdebf648f has been pushed to the Fedora 33 testing repository. In short time you'll be able to install the update with the following command: `sudo dnf upgrade --enablerepo=updates-testing --advisory=FEDORA-2020-4cdebf648f` You can provide feedback for this update here: https://bodhi.fedoraproject.org/updates/FEDORA-2020-4cdebf648f See also https://fedoraproject.org/wiki/QA:Updates_Testing for more information on how to test updates.
FEDORA-2020-e3cff2530e has been pushed to the Fedora 32 testing repository. In short time you'll be able to install the update with the following command: `sudo dnf upgrade --enablerepo=updates-testing --advisory=FEDORA-2020-e3cff2530e` You can provide feedback for this update here: https://bodhi.fedoraproject.org/updates/FEDORA-2020-e3cff2530e See also https://fedoraproject.org/wiki/QA:Updates_Testing for more information on how to test updates.
FEDORA-2020-4cdebf648f has been pushed to the Fedora 33 stable repository. If problem still persists, please make note of it in this bug report.
FEDORA-2020-e3cff2530e has been pushed to the Fedora 32 stable repository. If problem still persists, please make note of it in this bug report.