Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

[Error] Crash at start program. #283

Open
linzyjx opened this issue Jul 30, 2024 · 2 comments
Open

[Error] Crash at start program. #283

linzyjx opened this issue Jul 30, 2024 · 2 comments

Comments

@linzyjx
Copy link

linzyjx commented Jul 30, 2024

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 linzyjx changed the title [Error] When start program. [Error] Crash at start program. Jul 30, 2024
@tlecomte
Copy link
Owner

tlecomte commented Aug 4, 2024

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!

@denilsonsa
Copy link

Sounds related to spatialaudio/python-sounddevice#72 and spatialaudio/python-sounddevice#490 and spatialaudio/python-sounddevice#511
Possibly fixed by spatialaudio/python-sounddevice#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.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

No branches or pull requests

3 participants