FFADO Mixer does not open suddenly

What other apps and distros do you use to round out your studio?

Moderators: MattKingUSA, khz

Post Reply
basementmedia
Established Member
Posts: 25
Joined: Mon Jun 04, 2018 7:30 pm
Been thanked: 1 time

FFADO Mixer does not open suddenly

Post by basementmedia »

Hi,

since a few days, i am not able to open the FFADO mixer.
The window opens for a second and then closes again.

When i open via terminal, i get the following output:

Code: Select all

[basementmedia@basementmedia ~]$ sudo ffado-mixer
QStandardPaths: XDG_RUNTIME_DIR not set, defaulting to '/tmp/runtime-root'
Traceback (most recent call last):
  File "/usr/lib/python3.10/site-packages/ffado/panelmanager.py", line 460, in updatePanels
    self.addPanel(idx)
  File "/usr/lib/python3.10/site-packages/ffado/panelmanager.py", line 339, in addPanel
    mixerwidget.initValues()
  File "/usr/lib/python3.10/site-packages/ffado/mixer/rme.py", line 441, in initValues
    self.inputmatrix = MatrixMixer(self.hw.servername, self.hw.basepath+"/Mixer/InputFaders", self, "Columns_are_inputs", 0x8000, self.hw.basepath+"/Mixer/InputMutes", self.hw.basepath+"/Mixer/InputInverts", True)
  File "/usr/lib/python3.10/site-packages/ffado/widgets/matrixmixer.py", line 1256, in __init__
    self.matrix = MatrixControlView(servername, basepath, self, sliderMaxValue, mutespath, invertspath, smallFont, self.short_names_bool, "In", "Out", self.transpose)
  File "/usr/lib/python3.10/site-packages/ffado/widgets/matrixmixer.py", line 381, in __init__
    ch = MixerChannel(i, self, self.getColName(i, self.shortname), smallFont)
  File "/usr/lib/python3.10/site-packages/ffado/widgets/matrixmixer.py", line 303, in __init__
    font.setPointSize(font.pointSize()/1.5)
TypeError: setPointSize(self, int): argument 1 has unexpected type 'float'
Abgebrochen
I already deinstalled and reinstalled FFADO but no change. Same fault ;-(

Do you have any suggestions, what could be the problem?

I use Linux Manjaro (5.15.18-2-rt28-MANJARO)
houston4444
Established Member
Posts: 78
Joined: Mon Apr 02, 2018 6:53 pm
Has thanked: 3 times
Been thanked: 25 times

Re: FFADO Mixer does not open suddenly

Post by houston4444 »

Hi.

Yes, I am pretty sure that it is a bug related to python3.10, it affects a lot of python Qt programs.

You could report a bug to ffado devs, probably in the ffado mailing list.

Waiting for an answer or an update, you could replace

Code: Select all

font.setPointSize(font.pointSize()/1.5)
with

Code: Select all

font.setPointSizeF(font.pointSize()/1.5)
in /usr/lib/python3.10/site-packages/ffado/widgets/matrixmixer.py file, line 303.
tseaver
Established Member
Posts: 408
Joined: Mon Mar 13, 2017 6:07 am
Has thanked: 12 times
Been thanked: 102 times

Re: FFADO Mixer does not open suddenly

Post by tseaver »

Because type checking is so much better than duck typing. Ralf!
Ubuntu, Mixbus32C; acoustic blues / country / jazz
helendam
Posts: 1
Joined: Fri Feb 16, 2024 4:48 am
Has thanked: 1 time
Contact:

Re: FFADO Mixer does not open suddenly

Post by helendam »

Pokemon Infinite Fusion

houston4444 wrote: Sat Feb 12, 2022 6:06 pm

Hi.

Yes, I am pretty sure that it is a bug related to python3.10, it affects a lot of python Qt programs.

You could report a bug to ffado devs, probably in the ffado mailing list.

Waiting for an answer or an update, you could replace

Code: Select all

font.setPointSize(font.pointSize()/1.5)

with

Code: Select all

font.setPointSizeF(font.pointSize()/1.5)

in /usr/lib/python3.10/site-packages/ffado/widgets/matrixmixer.py file, line 303.

yes, i think so

Post Reply