Description of problem: Missing/incorrect dependency. Version-Release number of selected component (if applicable): 0.5.1-2 How reproducible: Always. Steps to Reproduce: 1. Run 'dnf install krop' 2. Run 'krop' in a terminal. 3. Actual results: Traceback (most recent call last): File "/usr/lib/python3.7/site-packages/krop/config.py", line 5, in <module> import sip ModuleNotFoundError: No module named 'sip' During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/usr/bin/krop", line 17, in <module> from krop.application import main File "/usr/lib/python3.7/site-packages/krop/application.py", line 19, in <module> from krop.config import KDE File "/usr/lib/python3.7/site-packages/krop/config.py", line 17, in <module> raise RuntimeError(_msg) RuntimeError: Please install PyQt4 or PyQt5 first. Expected results: krop starts. Additional info: The problem can be fixed by installing the package python3-sip. The krop package has python2-sip (2 vs 3) as a dependency, so it's probably just a typo. I didn't check whether python2-sip is also required, though.
Reproducible for me. Should I file a pull request to add the missing dependency?
krop-0.5.1-3.fc30 has been submitted as an update to Fedora 30. https://bodhi.fedoraproject.org/updates/FEDORA-2019-20513011e7
(In reply to Raphael Groner from comment #1) > Reproducible for me. Should I file a pull request to add the missing > dependency? Thanks for the offer, but it would be almost the same effort for me. Already done.
BTW the issue was in missing explicit dependency on pythonX-sip. The Python2 version of it is being pulled in by python3-poppler-qt.
(In reply to Tomáš Hozza 🤓 from comment #4) > BTW the issue was in missing explicit dependency on pythonX-sip. The Python2 > version of it is being pulled in by python3-poppler-qt. Does that mean another bug in python3-poppler-qt?
TBC, it's python3-poppler-qt5 with a false dependency to python2-sip.
Thanks, I found your bug #1714218.
krop-0.5.1-3.fc30 has been pushed to the Fedora 30 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-2019-20513011e7
krop-0.5.1-3.fc30 has been pushed to the Fedora 30 stable repository. If problems still persist, please make note of it in this bug report.
This was an incorrect fix, you shouldn't need an explicit dep on sip, nor should you be using the non-namespaced version, see bug #1753069
I see krop explicitly tries to load it, krop/config.py: import sip krop/config.py:sip.setapi('QString', 2) krop/config.py:sip.setapi('QVariant', 2) Which is also probably not needed, I'll file a bug upstream, but you can probably just drop those 3 lines or switch to PyQt5.sip instead
Submitted https://github.com/arminstraub/krop/issues/23
rawhide commit, %changelog +* Wed Sep 18 2019 Rex Dieter <rdieter> - 0.5.1-6 +- drop explicit dep pythonX-sip, use default name-spaced sip insetad (#1707034) Will keep this open until there's upstream feedback.
This bug appears to have been reported against 'rawhide' during the Fedora 32 development cycle. Changing version to 32.
This message is a reminder that Fedora 32 is nearing its end of life. Fedora will stop maintaining and issuing updates for Fedora 32 on 2021-05-25. It is Fedora's policy to close all bug reports from releases that are no longer maintained. At that time this bug will be closed as EOL if it remains open with a Fedora 'version' of '32'. Package Maintainer: If you wish for this bug to remain open because you plan to fix it in a currently maintained version, simply change the 'version' to a later Fedora version. Thank you for reporting this issue and we are sorry that we were not able to fix it before Fedora 32 is end of life. If you would still like to see this bug fixed and are able to reproduce it against a later version of Fedora, you are encouraged change the 'version' to a later Fedora version prior this bug is closed as described in the policy above. Although we aim to fix as many bugs as possible during every release's lifetime, sometimes those efforts are overtaken by events. Often a more recent Fedora release includes newer upstream software that fixes bugs or makes them obsolete.
Well, let's keep this bug open in hope for new package update with upstream released version 0.6.0 including the proposed patch, besides blocked bug #1753069 also flagged for rawhide. Please let me know if I can help with a new build.