rcbyron / hey-athena-client

Your personal voice assistant
https://heyathena.com
MIT License
421 stars 98 forks source link

RuntimeError: new_Decoder returned -1 #58

Open JGabrielGruber opened 7 years ago

JGabrielGruber commented 7 years ago

~ Try asking:

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

shepnathand commented 6 years ago

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/