friture icon indicating copy to clipboard operation
friture copied to clipboard

[Error] Crash at start program.

Open linzyjx opened this issue 1 year ago • 2 comments

When I install and start Program, it crashed! Version:Friture 0.51

Windows 11 23H2 22631.3880 OS Language:Simplified Chinese

Traceback (most recent call last):
  File "main.py", line 6, in <module>
  File "friture\analyzer.py", line 418, in main
  File "friture\analyzer.py", line 117, in __init__
  File "friture\audiobackend.py", line 64, in AudioBackend
  File "friture\audiobackend.py", line 83, in __init__
  File "friture\audiobackend.py", line 205, in get_input_devices
  File "sounddevice.py", line 564, in query_devices
  File "sounddevice.py", line 564, in <genexpr>
  File "sounddevice.py", line 578, in query_devices
UnicodeDecodeError: 'utf-8' codec can't decode byte 0xc2 in position 6: invalid continuation byte

friture.log.txt

linzyjx avatar Jul 30 '24 16:07 linzyjx

Hello @linzyjx, sorry about that issue. It looks like Friture was not able to process the name of your audio device. Could you please share how it's named ? I think you can see that in the Windows device manager. Thanks!

tlecomte avatar Aug 04 '24 07:08 tlecomte

Sounds related to https://github.com/spatialaudio/python-sounddevice/issues/72 and https://github.com/spatialaudio/python-sounddevice/issues/490 and https://github.com/spatialaudio/python-sounddevice/issues/511 Possibly fixed by https://github.com/spatialaudio/python-sounddevice/pull/512 but maybe not. In either case, this sounds like a bug in python-sounddevice code. Or a bug in Friture in case Friture ships an outdated version of the dependency.

denilsonsa avatar Sep 28 '24 07:09 denilsonsa