Version-Release number of selected component: ffado-2.4.4-5.fc35 Additional info: reporter: libreport-2.15.2 cgroup: 0::/user.slice/user-1000.slice/user/app.slice/app-gnome-ffado.org\x2dffadomixer-6530.scope cmdline: /usr/bin/python3 /usr/bin/ffado-mixer crash_function: updateValues exception_type: TypeError executable: /usr/bin/ffado-mixer interpreter: python3-3.10.0-1.fc35.i686 kernel: 5.14.16-301.fc35.x86_64 runlevel: N 5 type: Python3 uid: 1000 Truncated backtrace: saffire_base.py:105:updateValues:TypeError: setValue(self, int): argument 1 has unexpected type 'dbus.Double' Traceback (most recent call last): File "/usr/lib/python3.10/site-packages/ffado/ffado/panelmanager.py", line 460, in updatePanels self.addPanel(idx) File "/usr/lib/python3.10/site-packages/ffado/ffado/panelmanager.py", line 339, in addPanel mixerwidget.initValues() File "/usr/lib/python3.10/site-packages/ffado/ffado/mixer/saffire.py", line 152, in initValues self.selectCorrectMode() File "/usr/lib/python3.10/site-packages/ffado/ffado/mixer/saffire.py", line 93, in selectCorrectMode self.small.initValues() File "/usr/lib/python3.10/site-packages/ffado/ffado/mixer/saffire_base.py", line 137, in initValues self.updateValues() File "/usr/lib/python3.10/site-packages/ffado/ffado/mixer/saffire.py", line 641, in updateValues SaffireMixerBase.updateValues(self) File "/usr/lib/python3.10/site-packages/ffado/ffado/mixer/saffire_base.py", line 105, in updateValues ctrl.setValue(vol) TypeError: setValue(self, int): argument 1 has unexpected type 'dbus.Double' Local variables in innermost frame: self: <ffado.mixer.saffire.SaffireLEMixerSmall object at 0x7fb36566e5f0> ctrl: <PyQt5.QtWidgets.QSlider object at 0x7fb35cf9a440> info: ['/Mixer/LEMix96', 0, 4] vol: dbus.Double(15521.0)
Created attachment 1841724 [details] File: backtrace
Created attachment 1841725 [details] File: cpuinfo
Created attachment 1841726 [details] File: environ
Created attachment 1841727 [details] File: mountinfo
Created attachment 1841728 [details] File: namespaces
Created attachment 1841729 [details] File: open_fds
Hi, I experienced similar (but not the same) tracebacks with my own interface (Focusrite Saffire Pro40) and they all seem to boil down to implicit conversions from floats/doubles to integers in python3-qt5 which were deprecated yet supported in version 5.14, but this support seems to have been removed. I'm in a conversation with FFADO upstream to get this resolved, but any additional information is helpful: the exact places where these tracebacks happen seems to differ depending on the hardware being used, yours seems to be a Focusrite Saffire LE, is that correct? If so, it would be good to find out where things need to be tweaked on your system to get ffado-mixer running again. However, sending comments "asynchronously" back and forth in a Bugzilla ticket is a less than ideal way to do this, are you available for "synchronous", direct communication? Good would be e.g. a video conference, e.g. with an accompanying shared terminal session to tweak your installation of ffado. Please let me know if this would work for you.
(In reply to Nils Philippsen from comment #7) > However, sending comments "asynchronously" back and forth in a Bugzilla > ticket is a less than ideal way to do this, are you available for > "synchronous", direct communication? Good would be e.g. a video conference, > e.g. with an accompanying shared terminal session to tweak your installation > of ffado. > > Please let me know if this would work for you. Unfortunately I haven't much free time for "synchronous" communication. Anyway you can contact me directly via mail to get other ways for communication. Also I'll try to make my own patch when I'll get my hands on that machine again (probably couple days later).
Works for me -- any real time communication wouldn't help much unless you have access to the machine in question anyway. Without it, I can’t do much else than tell you "wrap offending statements/values in int(...)" and hope for the best. Would you ping me by mail also after you tried your luck with the machine? Thanks!
In dbus_util.py function getMatrixMixerValue returns double value because org.ffado.Control.Element.MatrixMixer interface returns this. Simple solution is to convert returning value: [code] dev = self.bus.get_object(self.servername, path) dev_cont = dbus.Interface(dev, dbus_interface='org.ffado.Control.Element.MatrixMixer') return int(dev_cont.getValue(row, col)) [/code]
Sorry for not responding earlier. I've been in on-and-off contact with upstream about this, the plan to publish an update which fixes this soon. To confirm, I've built the current SVN version in COPR here: https://copr.fedorainfracloud.org/coprs/nphilipp/libffado/ Would you please check if this fixes the issue for you, too? To do that, enable the COPR and update: dnf copr enable nphilipp/libffado dnf update libffado\*
(In reply to Nils Philippsen from comment #11) > Would you please check if this fixes the issue for you, too? I'm not near my pc now. When I'll be at home I'll try.
FEDORA-2022-9847e73642 has been submitted as an update to Fedora 34. https://bodhi.fedoraproject.org/updates/FEDORA-2022-9847e73642
FEDORA-2022-72057790f3 has been submitted as an update to Fedora 35. https://bodhi.fedoraproject.org/updates/FEDORA-2022-72057790f3
FEDORA-2022-72057790f3 has been pushed to the Fedora 35 testing repository. Soon you'll be able to install the update with the following command: `sudo dnf upgrade --enablerepo=updates-testing --advisory=FEDORA-2022-72057790f3` You can provide feedback for this update here: https://bodhi.fedoraproject.org/updates/FEDORA-2022-72057790f3 See also https://fedoraproject.org/wiki/QA:Updates_Testing for more information on how to test updates.
FEDORA-2022-72057790f3 has been pushed to the Fedora 35 stable repository. If problem still persists, please make note of it in this bug report.