Open FlorianBethe opened 3 days ago
Hi @FlorianBethe thank you for the report! Seems like this is a duplicate of https://github.com/spyder-ide/spyder/issues/22639 I think a way for users to provided a better traceback is being worked on over PR https://github.com/spyder-ide/spyder/pull/22672
Let us know if the info above helps!
Description
What steps will reproduce the problem?
pip install vosk
import vosk import sys
pip install sounddevice
import sounddevice as sd import queue import json
model = vosk.Model("vosk-model-de-0.21") device = sd.default.device samplerate = int(sd.query_devices(device[0], 'input')['default_samplerate'])
q = queue.Queue()
def callback(indata, frames, time, status): q.put(bytes(indata))
print("Sag etwas.")
with sd.RawInputStream( samplerate=samplerate, blocksize=8000, device=device[0], dtype='int16', channels=1, callback=callback):
Interrupt Kernel
Traceback
Versions
Dependencies