Cubeb audio error: -1 #1683
Unanswered
saxamaphoneman
asked this question in
Q&A
Replies: 0 comments
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
-
Hi,
I have installed talon twice with success but having trouble this time with an audio/ microphone error.
Below is the log book entry.
Any help or ideas would be greatly appreciated!
2025-01-15
16:19:51.130 INFO (SpeechSystem) Activating speech engine: W2lEngine(fast Conformer D (2023-05-20))2025-01-15 16:19:52.134 INFO Activating Microphone: "Microphone (Realtek(R) Audio)"
2025-01-15 16:19:52.138 ERROR 6: talon\vad.py:141|
5: talon\vad.py:49 |
4: talon\lib\cubeb.py:345|
3: talon\lib\cubeb.py:326|
2: talon\lib\cubeb.py:277|
1: talon\lib\cubeb.py:145|
talon.lib.cubeb.CubebError: audio error: -1
[The below error was raised while handling the above exception(s)]
2025-01-15 16:19:52.141 ERROR cb error topic="mic_change" cb=SpeechSystem._set_microphone
12: threading.py:995 * # loader thread
11: threading.py:1038*
10: threading.py:975 *
9: app\resources\loader.py:853 |
8: app\resources\loader.py:799 |
7: talon\scripting\dispatch.py:134 | # 'ready' main:MicrophoneManager.on_ready()
6: talon\plugins\microphone.py:64 |
5: talon\plugins\microphone.py:171 |
4: -------------------------------------# [stack splice]
3: talon\scripting\dispatch.py:134 | # 'mic_change' main:SpeechSystem._set_microphone()
2: talon\scripting\speech_system.py:202 |
1: talon\vad.py:144 |
UnboundLocalError: cannot access local variable 'stream' where it is not associated with a value
2025-01-15 16:19:52.147 ERROR cb error topic="mic_change" cb=Noise.mic_change
16: threading.py:995 * # loader thread
15: threading.py:1038*
14: threading.py:975 *
13: app\resources\loader.py:853 |
12: app\resources\loader.py:799 |
11: talon\scripting\dispatch.py:134 | # 'ready' main:MicrophoneManager.on_ready()
10: talon\plugins\microphone.py:64 |
9: talon\plugins\microphone.py:171 |
8: --------------------------------# [stack splice]
7: talon\scripting\dispatch.py:134 | # 'mic_change' main:Noise.mic_change()
6: talon\noise.py:70 |
5: talon\noise.py:30 |
4: talon\lib\cubeb.py:345 |
3: talon\lib\cubeb.py:326 |
2: talon\lib\cubeb.py:277 |
1: talon\lib\cubeb.py:145 |
talon.lib.cubeb.CubebError: audio error: -1
2025-01-15 16:19:53.096 DEBUG Dispatched launch events at 2.7029s, done at 6.1352s
2025-01-15 16:19:53.096 ERROR [!] 3 error(s) during startup (shown earlier in log)
2025-01-15 16:19:53.097 INFO Startup warnings displayed at 6.1359s
Beta Was this translation helpful? Give feedback.
All reactions