Package: ffado-mixer
Version: 2.5.0-4
Severity: important

Dear Maintainer,

After installing ffado-mixer version 2.5.0-4 the app crashes on startup
with:

```
$ ffado-mixer
Traceback (most recent call last):
File "/usr/share/ffado-mixer-qt4/ffado/panelmanager.py", line 460, in updatePanels
    self.addPanel(idx)
    ~~~~~~~~~~~~~^^^^^
File "/usr/share/ffado-mixer-qt4/ffado/panelmanager.py", line 316, in addPanel mixer_module = importlib.import_module("ffado.mixer.%s" % mixerapp.lower()) File "/usr/lib/python3.13/importlib/__init__.py", line 88, in import_module
    return _bootstrap._gcd_import(name[level:], package, level)
           ~~~~~~~~~~~~~~~~~~~~~~^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
  File "<frozen importlib._bootstrap>", line 1387, in _gcd_import
  File "<frozen importlib._bootstrap>", line 1360, in _find_and_load
File "<frozen importlib._bootstrap>", line 1331, in _find_and_load_unlocked
  File "<frozen importlib._bootstrap>", line 935, in _load_unlocked
File "<frozen importlib._bootstrap_external>", line 1023, in exec_module File "<frozen importlib._bootstrap>", line 488, in _call_with_frames_removed File "/usr/share/ffado-mixer-qt4/ffado/mixer/saffire_dice.py", line 27, in <module>
    from ffado.widgets.matrixmixer import MatrixMixer
File "/usr/share/ffado-mixer-qt4/ffado/widgets/matrixmixer.py", line 1241, in <module>
    class MatrixMixer(QWidget):
    ...<352 lines>...
            return True
File "/usr/share/ffado-mixer-qt4/ffado/widgets/matrixmixer.py", line 1242, in MatrixMixer def __init__(self, servername, basepath, parent=None, rule="Columns_are_inputs", sliderMaxValue=-1, mutespath=None, invertspath=None, smallFont=False, taborientation=QTabWidget.West, tabshape=QTabWidget.Triangular): ^^^^^^^^^^^^^^^
AttributeError: type object 'QTabWidget' has no attribute 'West'
Aborted                    ffado-mixer
```

This appears to be a result of the migration from qt5 to qt6, where
enums have been moved around, and the debian package includes a patch to
add compatability. Changing QTabWidget.West to
QTabWidget.TabOrientation.West resolved that error, but lead to similar
errors for QTabWidget.Triangular and more.

The app was running OK on my system prior to the upgrade, when it was
running ffado-mixer-qt4 version 2.5.0-1.

Even after fixing the following enum namespaces:
QTabWidget.West
QTabWidget.North
QTabWidget.Rounded
QLayout.SetNoConstraint

Running ffado-mixer then sat at the main window for a few seconds (with
only the log panel visible) and then crashed with the output:

```
 $ ./ffado-mixer
Traceback (most recent call last):
File "/home/agittins/src/ffado/ffado-mixer/ffado-mixer-qt4/ffado/panelmanager.py", line 460, in updatePanels
    self.addPanel(idx)
    ~~~~~~~~~~~~~^^^^^
File "/home/agittins/src/ffado/ffado-mixer/ffado-mixer-qt4/ffado/panelmanager.py", line 337, in addPanel
    mixerwidget.buildMixer()
    ~~~~~~~~~~~~~~~~~~~~~~^^
File "/home/agittins/src/ffado/ffado-mixer/ffado-mixer-qt4/ffado/mixer/saffire_dice.py", line 79, in buildMixer
    Generic_Dice_EAP.buildMixer(self)
    ~~~~~~~~~~~~~~~~~~~~~~~~~~~^^^^^^
File "/home/agittins/src/ffado/ffado-mixer/ffado-mixer-qt4/ffado/mixer/generic_dice_eap.py", line 48, in buildMixer self.router_scrollarea = self.buildRouter(self.hw.servername, self.hw.basepath+"/EAP/Router") ~~~~~~~~~~~~~~~~^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ File "/home/agittins/src/ffado/ffado-mixer/ffado-mixer-qt4/ffado/mixer/generic_dice_eap.py", line 52, in buildRouter
    self.router = CrossbarRouter(servername, path, self)
                  ~~~~~~~~~~~~~~^^^^^^^^^^^^^^^^^^^^^^^^
File "/home/agittins/src/ffado/ffado-mixer/ffado-mixer-qt4/ffado/widgets/crossbarrouter.py", line 162, in __init__
    btn = OutputSwitcher(self.interface, out, self)
File "/home/agittins/src/ffado/ffado-mixer/ffado-mixer-qt4/ffado/widgets/crossbarrouter.py", line 101, in __init__
    self.combo.activated[str].connect(self.comboCurrentChanged)
    ~~~~~~~~~~~~~~~~~~~~^^^^^
KeyError: 'there is no matching overloaded signal'
Aborted                    ./ffado-mixer
```
(this is from a tree inside my home dir, copied from /usr/ and with the
path insertion removed from ./ffado-mixer:29)

At this point I figure I'm starting to get beyond the low-lying fruit
and should submit a bug report :-)

-- System Information:
Debian Release: forky/sid
  APT prefers unstable
  APT policy: (500, 'unstable')
Architecture: amd64 (x86_64)
Foreign Architectures: i386

Kernel: Linux 6.18.5+deb14-amd64 (SMP w/8 CPU threads; PREEMPT)
Kernel taint flags: TAINT_PROPRIETARY_MODULE, TAINT_OOT_MODULE, TAINT_UNSIGNED_MODULE Locale: LANG=en_AU.UTF-8, LC_CTYPE=en_AU.UTF-8 (charmap=UTF-8), LANGUAGE not set
Shell: /bin/sh linked to /usr/bin/dash
Init: systemd (via /run/systemd/system)
LSM: AppArmor: enabled

Versions of packages ffado-mixer depends on:
ii  ffado-dbus-server            2.5.0-4
ii  ffado-tools                  2.5.0-4
ii  pyqt6-dev-tools              6.10.2-2
ii  python3                      3.13.9-3
ii  python3-dbus                 1.4.0-1+b1
ii  python3-dbus.mainloop.pyqt6  6.10.2-1
ii  python3-pyqt6                6.10.2-2+b1

ffado-mixer recommends no packages.

ffado-mixer suggests no packages.

-- no debconf information

Reply via email to