| Summary: | frescobaldi requires pyqt5 but the requirement is not stated in the package | ||
|---|---|---|---|
| Product: | Mageia | Reporter: | V P <yohonet> |
| Component: | RPM Packages | Assignee: | QA Team <qa-bugs> |
| Status: | RESOLVED FIXED | QA Contact: | |
| Severity: | major | ||
| Priority: | Normal | CC: | ouaurelien, sysadmin-bugs, tarazed25 |
| Version: | 7 | Keywords: | advisory, validated_update |
| Target Milestone: | --- | ||
| Hardware: | All | ||
| OS: | Linux | ||
| Whiteboard: | MGA7-64-OK | ||
| Source RPM: | frescobaldi-3.0.0-6.mga7, python-qt5-webengine-5.12.1-2.mga7 | CVE: | |
| Status comment: | |||
|
Rémi Verschelde
2016-11-11 15:36:02 CET
Assignee:
bugsquad =>
rverschelde hmmm... actually, python-qt4-core is a dependency of python-qt4 and probably contains the correct libraries. However, it is build for python 2.7 $ rpm -ql python-qt4-core-4.11.4-10.mga6 | grep "PyQt4$" /usr/lib64/python2.7/site-packages/PyQt4 Same problem with PyQt5 now...
$ frescobaldi
Traceback (most recent call last):
File "/bin/frescobaldi", line 7, in <module>
import main
File "/usr/lib/python3.5/site-packages/frescobaldi_app/main.py", line 33, in <module>
from PyQt5.QtCore import QSettings, QTimer, QUrl
ImportError: No module named 'PyQt5'
Rémi Verschelde
2020-11-03 17:20:30 CET
Status:
NEW =>
ASSIGNED Fixed in Cauldron with frescobaldi-3.1.2-2.mga8. Sorry for the huge delay in investigating and fixing this. I'll work on an update for Mageia 7 too. Summary:
frescobaldi requires pyqt4 but the requirement is not stated in the package =>
frescobaldi requires pyqt5 but the requirement is not stated in the package Pushed an update with frescobaldi-3.1.2-1.mga7 and python-qt5-webengine-5.12.1-2.1.mga7 to hopefully fix dependencies in Mageia 7.
Advisory:
=========
Updated frescobaldi and python-qt5-webengine fix dependencies
frescobaldi in Mageia 7 did not explicitly depend on all PyQt5 modules that it
requires to work. This update fixes it, while also providing the latest version
3.1.2 of frescobaldi.
The python{2,3}-qt5-webenginewidgets packages now properly require the matching
python{2,3}-qt5-webenginecore packages.
References:
- https://github.com/frescobaldi/frescobaldi/blob/v3.1.2/ChangeLog
SRPMs in core/updates_testing:
==============================
frescobaldi-3.1.2-1.mga7
python-qt5-webengine-5.12.1-2.1.mga7
RPMs in core/updates_testing:
=============================
frescobaldi-3.1.2-1.mga7
python2-qt5-webengine-5.12.1-2.1.mga7
python2-qt5-webenginecore-5.12.1-2.1.mga7
python2-qt5-webenginewidgets-5.12.1-2.1.mga7
python3-qt5-webengine-5.12.1-2.1.mga7
python3-qt5-webenginecore-5.12.1-2.1.mga7
python3-qt5-webenginewidgets-5.12.1-2.1.mga7
python3-qt5-webengine-qsci-api-5.12.1-2.1.mga7Source RPM:
frescobaldi-2.18.2-2.mga6.src.rpm =>
frescobaldi-3.0.0-6.mga7, python-qt5-webengine-5.12.1-2.mga7 mga7, x64 Installed frescobaldi and found these libraries installed: lib64kf5webengineviewer5-19.04.0-1.mga7 qtwebengine5-5.12.6-1.mga7 lib64qt5webenginewidgets5-5.12.6-1.mga7 lib64qt5webenginecore5-5.12.6-1.mga7 lib64qt5webengine5-5.12.6-1.mga7 but no python* webengine modules. $ rpm -qa | grep qt5-webengine $ frescobaldi launches from the command line and it is possible to import and display lilypond files. Little idea of what to do after that. Segfault when frescobaldi is closed. Updated frescobaldi: $ rpm -qa | grep qt5-webengine python3-qt5-webenginewidgets-5.12.1-2.1.mga7 python3-qt5-webenginecore-5.12.1-2.1.mga7 $ rpm -q python3-qt5-webchannel python3-qt5-webchannel-5.12.1-2.mga7 Looks like the last package was also picked up as a dependency. But these are not - they have to be installed manually. $ sudo urpmi python3-qt5-webengine $ sudo urpmi python3-qt5-webengine-qsci-api The python2 packages are not picked up as dependencies - is that relevant? I deliberately did not install them pre-update to see if they would be picked up. $ sudo urpmi python2-qt5-webengine Package Version Release Arch (medium "Core Release") python2-pyqt5-sip 4.19.16 1.mga7 x86_64 python2-qt5-core 5.12.1 2.mga7 x86_64 (medium "Core Updates Testing") python2-qt5-webengine 5.12.1 2.1.mga7 x86_64 $ sudo urpmi python2-qt5-webenginecore media/core/updates_testing/ installing python2-qt5-webenginecore-5.12.1-2.1.mga7.x86_64.rpm $ sudo urpmi python2-qt5-webenginewidgets installing python2-qt5-webenginewidgets-5.12.1-2.1.mga7.x86_64.rpm frescobaldi works at entry level. Opened a lilypond file - musical score displayed. No segfault when frescobaldi is closed. This looks OK but leaving it for packager attention regarding the dependencies. CC:
(none) =>
tarazed25
Len Lawrence
2020-11-05 12:14:14 CET
Keywords:
(none) =>
feedback
Aurelien Oudelet
2020-11-13 21:26:10 CET
Assignee:
qa-bugs =>
rverschelde It's a Python 3 application, it's normal that the python2 packages are not installed. I think everything is fine in the testing otherwise? Keywords:
feedback =>
(none) It seems thanks you Rémi! Back to QA. Thanks Rémi - giving this an OK. Whiteboard:
(none) =>
MGA7-64-OK Validating update, Packages and Advisory in Comment 4. Advisory pushed to SVN. Keywords:
(none) =>
advisory, validated_update An update for this issue has been pushed to the Mageia Updates repository. https://advisories.mageia.org/MGAA-2020-0229.html Status:
ASSIGNED =>
RESOLVED |
Frescobaldi refuses to launch : $ rpm -qf /usr/lib/python3.5/site-packages/frescobaldi_app/main.py frescobaldi-2.18.2-2.mga6 $ frescobaldi Traceback (most recent call last): File "/bin/frescobaldi", line 7, in <module> import main File "/usr/lib/python3.5/site-packages/frescobaldi_app/main.py", line 34, in <module> from PyQt4.QtCore import QSettings, QTimer, QUrl ImportError: No module named 'PyQt4' # urpmq --whatprovides PyQt4 python-qt4 # But python-qt4 is already installed on my system... # rpm -ql python-qt4 /usr/share/doc/python-qt4 /usr/share/doc/python-qt4/ChangeLog /usr/share/doc/python-qt4/NEWS /usr/share/doc/python-qt4/README /usr/share/licenses/python-qt4 /usr/share/licenses/python-qt4/LICENSE # ... it only contains readme files and not any library