Bug 30207 - carla No module named 'PyQt5.QtSvg'
Summary: carla No module named 'PyQt5.QtSvg'
Status: RESOLVED FIXED
Alias: None
Product: Mageia
Classification: Unclassified
Component: RPM Packages (show other bugs)
Version: 8
Hardware: x86_64 Linux
Priority: Normal major
Target Milestone: ---
Assignee: QA Team
QA Contact:
URL:
Whiteboard: MGA8-64-OK
Keywords: advisory, validated_update
Depends on:
Blocks:
 
Reported: 2022-03-25 14:28 CET by David Sullivan
Modified: 2022-04-02 12:55 CEST (History)
4 users (show)

See Also:
Source RPM: carla-1.9.14-0.git20190227.5.mga8.src.rpm
CVE:
Status comment:


Attachments

Description David Sullivan 2022-03-25 14:28:03 CET
Description of problem:
Carla is not working

Version-Release number of selected component (if applicable):


How reproducible:

Steps to Reproduce:
1.install from mageia repo
2.type in terminal $carla or carla-control to configure vst path
3.get error
Comment 1 sturmvogel 2022-03-25 14:35:50 CET
cc'ing Remi as registered maintainer

CC: (none) => rverschelde
Source RPM: (none) => carla-1.9.14-0.git20190227.5.mga8.src.rpm

Comment 2 sturmvogel 2022-03-25 14:44:42 CET
Confirmed. Full error:

$ carla
Traceback (most recent call last):
  File "/usr/share/carla/carla", line 22, in <module>
    from carla_host import *
  File "/usr/share/carla/carla_host.py", line 32, in <module>
    from PyQt5.QtWidgets import QAction, QApplication, QInputDialog, QFileSystemModel, QListWidgetItem, QMainWindow
ModuleNotFoundError: No module named 'PyQt5.QtWidgets'
Comment 3 Rémi Verschelde 2022-03-25 23:59:15 CET
Should be fixed with carla-1.9.14-0.git20190227.6.mga8 which adds a few missing dependencies, including a new python3-pyliblo package.

As a side note, I never intended to be listed as maintainer for this package, this just happened automatically as I was the first to submit it (on behalf of a packaging apprentice). I don't really have time to maintain this properly so I assigned it to `nobody`.

Advisory:
=========

Updated carla package fixes missing dependencies

  The carla package didn't properly list its Python dependencies, which could
  lead to not being able to use some of its components.

  This update fixes it by adding explicit dependencies on python3-qt5,
  python3-rdflib, and python3-pyliblo (new package).

SRPMs in core/updates_testing:
==============================

carla-1.9.14-0.git20190227.6.mga8
python3-pyliblo-0.10.0-1.mga8

RPMs in core/updates_testing:
=============================

carla-1.9.14-0.git20190227.6.mga8
carla-devel-1.9.14-0.git20190227.6.mga8
carla-vst-1.9.14-0.git20190227.6.mga8
python3-pyliblo-0.10.0-1.mga8

Assignee: bugsquad => qa-bugs

Comment 4 Herman Viaene 2022-03-26 13:59:03 CET
MGA8-64 Plasma on Lenovo B50
No apparent installation issues, but.....
$ carla
Carla 1.9.14 (2.0-RC4) started, status:
  Python version: 3.8.12
  Qt version:     5.15.2
  PyQt version:   5.15.2
  Binary dir:     /usr/lib64/carla
  Resources dir:  /usr/share/carla/resources
libjack.so.0 loaded sucessfully!
Cannot connect to server socket err = Bestand of map bestaat niet
Cannot connect to server request channel
jackdmp 1.9.14
and a load more, but at the end a sound file does not play.
So, the error mentioned by David Sullivan is gone, but the whole thing does not work by default.
Looking at the feedback, it seems to me that this thingie does not work without jack. If so, shouldn't that be a dependency???

CC: (none) => herman.viaene

Comment 5 Rémi Verschelde 2022-03-26 14:12:43 CET
Jack seems to be loaded properly, see "libjack.so.0 loaded successfully!".
But it needs custom configuration to actually work. In the settings one can configure to use ALSA or PulseAudio instead of Jack, but from dragging an OGG file in the main window I couldn't get it to actually output audio.

I'm no audio guy and I have no idea how to use Carla, and the official website doesn't seem to have a quick guide either. I think this is a tool that requires both specific audio hardware and knowledge about this stuff to use it.

I don't think that would be blocking for this update, unless someone who knows how to use Carla can confirm that it doesn't seem to work as intended.
Comment 6 Herman Viaene 2022-03-30 16:01:40 CEST
Changed in carla-settings the jack to pulse-audio (used on this laptop), then run carla
$ carla
Carla 1.9.14 (2.0-RC4) started, status:
  Python version: 3.8.12
  Qt version:     5.15.2
  PyQt version:   5.15.2
  Binary dir:     /usr/lib64/carla
  Resources dir:  /usr/share/carla/resources
libjack.so.0 loaded sucessfully!
No device set, using 2 inputs and 2 outputs
Now I can select a wav file without complaints, but it does not play the file as could be expected by "No device set"
Went back to carla-settings and found that beside the selection box for pulseaudio there is another button with three dots Opening that one gives a window with another selection bo for device, only choice available is pulseaudio. Ok'ed this setting and then:

$ carla
Carla 1.9.14 (2.0-RC4) started, status:
  Python version: 3.8.12
  Qt version:     5.15.2
  PyQt version:   5.15.2
  Binary dir:     /usr/lib64/carla
  Resources dir:  /usr/share/carla/resources
libjack.so.0 loaded sucessfully!

So the device warning is gone, but still no sound.
Tried with ALSA, but ssame result.
Comment 7 Dave Hodgins 2022-03-31 00:45:44 CEST
Looking at https://kx.studio/Applications:Carla, I gather this is a very
complicated sound server for a limited number of advanced users.

Without specific audio hardware and knowledge, the best we can do is confirm
that the update installs cleanly, and the gui loads.

Validating the update.

CC: (none) => davidwhodgins, sysadmin-bugs
Keywords: (none) => validated_update
Whiteboard: (none) => MGA8-64-OK

Dave Hodgins 2022-03-31 21:00:42 CEST

Keywords: (none) => advisory

Comment 8 Mageia Robot 2022-03-31 21:56:36 CEST
An update for this issue has been pushed to the Mageia Updates repository.

https://advisories.mageia.org/MGAA-2022-0044.html

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

Comment 9 claire robinson 2022-04-01 23:44:19 CEST
There's a problem with this one (hi BTW!)

Sorry, the following packages cannot be selected:

- carla-1.9.14-0.git20190227.6.mga8.x86_64 (due to unsatisfied python3-pyliblo)
- carla-vst-1.9.14-0.git20190227.6.mga8.x86_64 (due to unsatisfied carla-1.9.14-0.git20190227.6.mga8.i586)
Comment 10 Rémi Verschelde 2022-04-01 23:47:46 CEST
Seems like Dave missed the python3-pyliblo SRPM in comment 3.

@sysadmins: Can we just add it to the advisory and re-push, or does it require a dedicated update candidate?
Rémi Verschelde 2022-04-01 23:47:53 CEST

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

Comment 11 Dave Hodgins 2022-04-02 00:06:40 CEST
I've added python3-pyliblo-0.10.0-1.mga8 to the advisory in svn.
The sysadmins will have to manually push the srpm.

Hi Claire!
Comment 12 Thomas Backlund 2022-04-02 09:24:54 CEST
python3-pyliblo-0.10.0-1.mga8 moved

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

Comment 13 Rémi Verschelde 2022-04-02 12:55:18 CEST
Thanks!

And hi Claire, nice to read you :)

Note You need to log in before you can comment on or make changes to this bug.