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

Saying "Athena" triggers this error. #54

Closed
ghost opened this issue Mar 30, 2017 · 1 comment
Closed

Saying "Athena" triggers this error. #54

ghost opened this issue Mar 30, 2017 · 1 comment

Comments

@ghost
Copy link

ghost commented Mar 30, 2017

~ Hey there, Bro!

~ Try asking:

  • "Athena (double beep) what's the weather like in DFW?"
  • "Athena (double beep) what is the capital of Tanzania?"
  • "Athena (double beep) open facebook.com"

ALSA lib pcm_dmix.c:1041:(snd_pcm_dmix_open) unable to open slave
ALSA lib pcm.c:2450:(snd_pcm_open_noupdate) Unknown PCM cards.pcm.rear
ALSA lib pcm.c:2450:(snd_pcm_open_noupdate) Unknown PCM cards.pcm.center_lfe
ALSA lib pcm.c:2450:(snd_pcm_open_noupdate) Unknown PCM cards.pcm.side
ALSA lib pcm_route.c:867:(find_matching_chmap) Found no matching channel map
ALSA lib pcm_dmix.c:1041:(snd_pcm_dmix_open) unable to open slave

~ Waiting to be woken up...

~ (runtime error)

~ Something went wrong. Would you like to see the error message?
Unexpected error loading library libavbin.so.10: libavbin.so.10: wrong ELF class: ELFCLASS64

~ Unknown Google TTS issue: libavbin.so.10: wrong ELF class: ELFCLASS64
Continue? (Y/N) y

~ Traceback (most recent call last):
File "/usr/local/lib/python3.5/dist-packages/athena/brain.py", line 222, in run
text = stt.active_listen()
File "/usr/local/lib/python3.5/dist-packages/athena/stt.py", line 62, in active_listen
with speech_recognition.Microphone() as src:
File "/usr/local/lib/python3.5/dist-packages/speech_recognition/__init__.py", line 79, in __init__
self.pyaudio_module = self.get_pyaudio()
File "/usr/local/lib/python3.5/dist-packages/speech_recognition/__init__.py", line 113, in get_pyaudio
raise AttributeError("PyAudio 0.2.9 or later is required (found version {})".format(pyaudio.__version__))
AttributeError: PyAudio 0.2.9 or later is required (found version 0.2.8)

(END LOG)

Fresh install of Ubuntu GNOME 16.10, thinkpad x201 tablet, intel core vpro i7.

Followed instuctions from here, under section "Ubuntu/Raspberry Pi/Linux".

Help?

(P.S: Github wont let me put the log into a code thing, sorry)

@ghost
Copy link
Author

ghost commented Mar 30, 2017

I fixed this by installing the latest PyAudio, by downloading it from pypi's website in tar.gz format and executing its setup.py file with python3 setup.py install, and installing the 32 bit version of avbin.

@ghost ghost closed this as completed Mar 30, 2017
This issue was closed.
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

0 participants