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

IOError: [Errno -9999] Unanticipated host error #99

Open
ahmed-ibrahim-asl opened this issue Mar 15, 2019 · 0 comments
Open

IOError: [Errno -9999] Unanticipated host error #99

ahmed-ibrahim-asl opened this issue Mar 15, 2019 · 0 comments

Comments

@ahmed-ibrahim-asl
Copy link

Found face
Expression 'r' failed in 'src/hostapi/alsa/pa_linux_alsa.c', line: 2097
Expression 'PaAlsaStreamComponent_FinishConfigure( &self->capture, hwParamsCapture, inParams, self->primeBuffers, realSr, inputLatency )' failed in 'src/hostapi/alsa/pa_linux_alsa.c', line: 2731
Expression 'PaAlsaStream_Configure( stream, inputParameters, outputParameters, sampleRate, framesPerBuffer, &inputLatency, &outputLatency, &hostBufferSizeMode )' failed in 'src/hostapi/alsa/pa_linux_alsa.c', line: 2843
Traceback (most recent call last):
File "bot.py", line 254, in
bot.start()
File "bot.py", line 43, in start
recognizer, audio = self.speech.listen_for_audio()
File "/home/pi/AI-Smart-Mirror/speech.py", line 33, in listen_for_audio
with m as source:
File "/home/pi/AI-Smart-Mirror/hhsmartmirror/local/lib/python2.7/site-packages/speech_recognition/init.py", line 141, in enter
input=True, # stream is an input stream
File "/home/pi/AI-Smart-Mirror/hhsmartmirror/local/lib/python2.7/site-packages/pyaudio.py", line 750, in open
stream = Stream(self, *args, **kwargs)
File "/home/pi/AI-Smart-Mirror/hhsmartmirror/local/lib/python2.7/site-packages/pyaudio.py", line 441, in init
self._stream = pa.open(**arguments)
IOError: [Errno -9999] Unanticipated host error

please Iam really Need Help

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

No branches or pull requests

1 participant