Bug 19429

Summary: pulseaudio-module-equalizer lacks PyQt4 dependencies
Product: Mageia Reporter: JanKusanagi <jan-bugs>
Component: RPM PackagesAssignee: David GEIGER <geiger.david68210>
Status: RESOLVED FIXED QA Contact:
Severity: minor    
Priority: Low CC: geiger.david68210, jan-bugs
Version: Cauldron   
Target Milestone: ---   
Hardware: All   
OS: Linux   
Whiteboard:
Source RPM: pulseaudio-9.0-2.mga6.src.rpm CVE:
Status comment:

Description JanKusanagi 2016-09-20 23:01:30 CEST
Description of problem:

This package provides a program called 'qpaeq', which apparently requires PyQt4, but that's not required by the package as a dependency, or even suggested.

http://sophie.zarb.org/rpms/be464a34060dd62042b5f30671073f67/deps

If I install it and try to run it, I get:

$ qpaeq 
There was an error importing needed libraries
Make sure you have qt4 and dbus-python installed
The error that occured was:
        No module named PyQt4

---

After manually installing the 'python-qt4' package, the error becomes the same as in this other bug, reported against Mageia 5: https://bugs.mageia.org/show_bug.cgi?id=18732 but I guess that's a whole other issue, which I'll investigate now.

After looking at the source of qpaeq, "from PyQt4 import QtGui,QtCore", it looks like python-qt4-core and python-qt4-gui might be enough.


Version-Release number of selected component (if applicable):
- Version     : 9.0
- Release     : 2.mga6


How reproducible:
Every time


Steps to Reproduce:
1. Install pulseaudio-module-equalizer on a "clean" Cauldron system, with Plasma 5.x environment.
2. Run 'qpaeq'.
3. Program fails with "No module named PyQt4"
JanKusanagi 2016-09-20 23:03:54 CEST

CC: (none) => jan-bugs

Comment 1 JanKusanagi 2016-09-20 23:05:47 CEST
> it looks like python-qt4-core and python-qt4-gui might be enough.

Confirmed, there's no error about lacking PyQt4 if just python-qt4-core and -gui are installed.

Priority: Normal => Low

Comment 2 David GEIGER 2016-09-21 08:26:03 CEST
Thanks for your report JanKusanagi!

Should be fixed in next pulseaudio update.

- pulseaudio-9.0-3.mga6

CC: (none) => geiger.david68210

Comment 3 JanKusanagi 2016-09-21 15:35:32 CEST
Confirmed, installing this now brings needed pyqt4 deps, and qpaeq no longer complains about that.

Thanks! =)
Comment 4 David GEIGER 2016-09-21 17:28:09 CEST
Closing then as Fixed!

Status: NEW => RESOLVED
Resolution: (none) => FIXED

Rémi Verschelde 2016-09-23 09:42:57 CEST

Assignee: bugsquad => geiger.david68210