Description of problem: OpenShot does not start when the launched from the menu. It doesn't start either from CLI and the error message is: $ openshot-qt Traceback (most recent call last): File "/usr/bin/openshot-qt", line 6, in <module> from pkg_resources import load_entry_point ModuleNotFoundError: No module named 'pkg_resources' 1. Install Mageia7 (from the currently tested Mageia-7-Live-Plasma-x86_64.iso) 2. Run updates (urpmi --auto-update) 3. Install openshot (urpmi openshot) 4. Try to run openshot
I found some package containing a a file with the name of the module (urpmf pkg_resources) list of packages: editra wxPython python2-pip python3-astroid python2-pkg-resources python3-pkg-resources python2-setuptools python3-setuptools python3-mypy I looked which one is installed on my computer : python2-pip-19.0.3-1.mga7 python3-setuptools-41.0.0-1.mga7 python2-pkg-resources-41.0.0-1.mga7 python3-pkg-resources-41.0.0-1.mga7 python2-setuptools-41.0.0-1.mga7 I installed openshot-qt, it has some python dep : python2-reportlab 3.5.19 1.mga7 x86_64 (recommandé) python3-audaspace 1.3.0 18.mga7 x86_64 (recommandé) python3-libopenshot 2.4.4 2.mga7 x86_64 python3-pillow 5.4.1 1.mga7 x86_64 python3-pyxdg 0.26 4.mga7 noarch python3-pyzmq 17.0.0 4.mga7 x86_64 It start well here. I could read this line : launch:INFO ------------------------------------------------ launch:INFO OpenShot (version 2.4.4) launch:INFO ------------------------------------------------ app:INFO openshot-qt version: 2.4.4 app:INFO libopenshot version: 0.2.3 app:INFO platform: Linux-5.1.11-desktop-1.mga7-x86_64-with-mageia-7-Official app:INFO processor: x86_64 app:INFO machine: x86_64 app:INFO python version: 3.7.3 and note python 3 is used. Can you give us the result of this command ? rpm -qa | grep -i -e "editra" -e "wxPython" -e "python2-pip" -e "python3-astroid" -e "python2-pkg-resources" -e "python3-pkg-resources" -e "python2-setuptools" -e "python3-setuptools" -e "python3-mypy"
CC: (none) => j.biernacki
it seems that python3 pkg-resources and setuptools is not in the dependencies list of openshot-qt : [jibz@jabztop ~]$ urpmq --requires-recursive openshot-qt | grep python lib64python2.7 lib64python2.7-stdlib lib64python3.7 lib64python3.7-stdlib python python-pip-wheel python-rpm-macros python-setuptools-wheel python2-lxml python2-olefile python2-pillow python2-pip python2-pkg-resources python2-reportlab python2-rpm-macros python2-setuptools python3 python3-audaspace python3-cairo python3-chardet python3-dbus python3-gobject3 python3-httplib2 python3-idna python3-libopenshot python3-numpy python3-pillow python3-pyqt5-sip python3-pyxdg python3-pyzmq python3-qt5-core python3-qt5-gui python3-qt5-multimedia python3-qt5-network python3-qt5-opengl python3-qt5-printsupport python3-qt5-svg python3-qt5-webkit python3-qt5-webkitwidgets python3-qt5-widgets python3-requests python3-rpm-macros python3-six python3-urllib3
(In reply to Jybz from comment #1) > Can you give us the result of this command ? > rpm -qa | grep -i -e "editra" -e "wxPython" -e "python2-pip" -e > "python3-astroid" -e "python2-pkg-resources" -e "python3-pkg-resources" -e > "python2-setuptools" -e "python3-setuptools" -e "python3-mypy" $ rpm -qa | grep -i -e "editra" -e "wxPython" -e "python2-pip" -e "python3-astroid" -e "python2-pkg-resources" -e "python3-pkg-resources" -e "python2-setuptools" -e "python3-setuptools" -e "python3-mypy" python2-setuptools-41.0.0-1.mga7 python2-pip-19.0.3-1.mga7 python2-pkg-resources-41.0.0-1.mga7
It seems python3-setuptools needs to be installed, then Openshot starts both from the menu and in CLI.
Assigning to our registered openshot-qt maintainer.
Assignee: bugsquad => geiger.david68210CC: (none) => marja11
Summary: Openshot fails to start => Openshot fails to start, but starts after installing python3-setuptools
Done with openshot-qt-2.4.4-2.mga7 in Cauldron/Core/Updates_testing repo!
the rpm was removed from the repo, it needs to be rebuild
Whiteboard: (none) => mga7too
I've just tested the new openshot-qt-2.4.4-1.1.mga7 package from core/updates_testing and now Openshot works fine. Closing as fixed. Thank you very much!
Resolution: (none) => FIXEDStatus: NEW => RESOLVED
Assigning to QA now, Advisory: ======================== There's a missing required dependency on the openshot-qt package from Mageia 7. If no other packages pulling 'python3-pkg-resources' are installed on the computer, openshot-qt can't start. This update adds this missing dependency. ======================== Packages in 7/core/updates_testing: ======================== openshot-qt-2.4.4-1.1.mga7.noarch.rpm Source RPM: ======================== openshot-qt-2.4.4-1.1.mga7.src.rpm How to test this update request: ======================== - Install a system and make sure you don't have 'python3-pkg-resources' installed. - Install 'openshot-qt' from core/release and see if you can open it, normally you can't. - Install now 'openshot-qt' from core/updates_testing and check if it will install 'python3-pkg-resources' and if now you can open and use it.
Assignee: geiger.david68210 => qa-bugsStatus: RESOLVED => REOPENEDResolution: FIXED => (none)
CC: (none) => geiger.david68210Version: Cauldron => 7
MGA7-32 MATE on IBM Thinkpad R50e No installation issues. I had to remove python3-pkg-resources because this comes with pitivi which was included in the default MATE installation. Thereafter I confirm the procedure as described in Comment 9, so OK for me.
CC: (none) => herman.viaeneWhiteboard: mga7too => MGA7TOO MGA7-32-OK
Advisory uploaded, validating.
Keywords: (none) => advisory, validated_updateCC: (none) => sysadmin-bugs
An update for this issue has been pushed to the Mageia Updates repository. https://advisories.mageia.org/MGAA-2019-0052.html
Status: REOPENED => RESOLVEDResolution: (none) => FIXED