rcbyron / hey-athena-client

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

Cannot redirect log output - Ubuntu 14.04 LTS #31

Closed rcbyron closed 8 years ago

rcbyron commented 8 years ago

ERROR: "pocketsphinx.c", line 250: Cannot redirect log output Traceback (most recent call last): File "", line 1, in File "/usr/local/lib/python3.4/dist-packages/athena/main.py", line 7, in brain.init() File "/usr/local/lib/python3.4/dist-packages/athena/brain.py", line 14, in init inst = Brain() File "/usr/local/lib/python3.4/dist-packages/athena/brain.py", line 28, in init stt.init() File "/usr/local/lib/python3.4/dist-packages/athena/stt.py", line 23, in init decoder = Decoder(config) File "/usr/local/lib/python3.4/dist-packages/pocketsphinx/pocketsphinx.py", line 271, in init this = _pocketsphinx.new_Decoder(*args) RuntimeError: new_Decoder returned -1

rcbyron commented 8 years ago

This is a permission error. It is solved by using: "sudo python3"