hey-athena-client icon indicating copy to clipboard operation
hey-athena-client copied to clipboard

RuntimeError: new_Decoder returned -1

Open JGabrielGruber opened this issue 7 years ago • 1 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

JGabrielGruber avatar Jul 31 '17 13:07 JGabrielGruber

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/

shepnathand avatar Feb 20 '18 13:02 shepnathand