rcbyron / hey-athena-client

Your personal voice assistant

Home Page:https://heyathena.com

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

RuntimeError: new_Decoder returned -1

JGabrielGruber opened this issue · comments

~ 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"

Traceback (most recent call last):
File "", line 1, in
File "/usr/local/lib/python2.7/dist-packages/HeyAthena-1.3.2-py2.7.egg/athena/main.py", line 12, in
brain.init()
File "/usr/local/lib/python2.7/dist-packages/HeyAthena-1.3.2-py2.7.egg/athena/brain.py", line 24, in init
inst = Brain()
File "/usr/local/lib/python2.7/dist-packages/HeyAthena-1.3.2-py2.7.egg/athena/brain.py", line 53, in init
stt.init()
File "/usr/local/lib/python2.7/dist-packages/HeyAthena-1.3.2-py2.7.egg/athena/stt.py", line 44, in init
decoder = Decoder(config)
File "/usr/local/lib/python2.7/dist-packages/pocketsphinx/pocketsphinx.py", line 277, in init
this = _pocketsphinx.new_Decoder(*args)
RuntimeError: new_Decoder returned -1

try:
sudo chown -R username:usergroup /usr/local/lib/python2.7/dist-packages/HeyAthena-1.3.2-py2.7.egg/athena/
and
sudo chmod -R 0777 /usr/local/lib/python2.7/dist-packages/HeyAthena-1.3.2-py2.7.egg/athena/