Cannot redirect log output - Ubuntu 14.04 LTS
rcbyron opened this issue · 1 comments
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
This is a permission error. It is solved by using: "sudo python3"