Invalid input device
trytofly94 opened this issue · 0 comments
trytofly94 commented
When I have the app running and press the key combination I get this OSError.
Is there a way to set the input device to the standard input of the system?
Listening...
Exception in thread Thread-20:
Traceback (most recent call last):
File "/Library/Developer/CommandLineTools/Library/Frameworks/Python3.framework/Versions/3.9/lib/python3.9/threading.py", line 973, in _bootstrap_inner
self.run()
File "/Library/Developer/CommandLineTools/Library/Frameworks/Python3.framework/Versions/3.9/lib/python3.9/threading.py", line 910, in run
self._target(*self._args, **self._kwargs)
File "/Users/lennart/whisper-dictation/whisper-dictation.py", line 47, in _record_impl
stream = p.open(format=pyaudio.paInt16,
File "/Users/lennart/whisper-dictation/venv/lib/python3.9/site-packages/pyaudio/__init__.py", line 639, in open
stream = PyAudio.Stream(self, *args, **kwargs)
File "/Users/lennart/whisper-dictation/venv/lib/python3.9/site-packages/pyaudio/__init__.py", line 441, in __init__
self._stream = pa.open(**arguments)
OSError: [Errno -9996] Invalid input device (no default output device)
Transcribing...
Done.
Thanks!