I recently upgraded my system (arch btw :) which ships python 3.10, and apparently due to a deprecation, this happens now:
File "/usr/bin/friture", line 10, in <module>
main()
File "/usr/lib/python3.10/site-packages/friture/analyzer.py", line 395, in main
window = Friture()
File "/usr/lib/python3.10/site-packages/friture/analyzer.py", line 128, in __init__
self.level_widget = Levels_Widget(self, self.qml_engine)
File "/usr/lib/python3.10/site-packages/friture/levels.py", line 69, in __init__
self.onWidthChanged()
File "/usr/lib/python3.10/site-packages/friture/levels.py", line 108, in onWidthChanged
self.quickWidget.setFixedWidth(self.qmlObject.width())
TypeError: setFixedWidth(self, int): argument 1 has unexpected type 'float'
There are many places in the code other than this one which relies on the mentioned behavior, but a simple x to int(x) replacement should fix the issue.
I recently upgraded my system (arch btw :) which ships python 3.10, and apparently due to a deprecation, this happens now:
There are many places in the code other than this one which relies on the mentioned behavior, but a simple
x
toint(x)
replacement should fix the issue.