Traceback (most recent call last):


 "./jasper.py", line 146, in <module>

app = Jasper()


 "./jasper.py", line 109, in __init__

stt_passive_engine_class.get_passive_instance(),


 "/home/bananapi/jasper/client/stt.py", line 48, in get_passive_instance

return cls.get_instance('keyword', phrases)


 "/home/bananapi/jasper/client/stt.py", line 34, in get_instance

config = cls.get_config()


 "/home/bananapi/jasper/client/stt.py", line 143, in get_config

config['hmm_dir'] = profile['pocketsphinx']['hmm_dir']
TypeError: 'NoneType' object has no attribute '__getitem__'

Traceback (most recent call last):


 "audio_recognize.py", line 64, in <module>

print("Google Cloud Speech thinks you said " + r.recognize_google_cloud(audio, credentials_json=GOOGLE_CLOUD_SPEECH_CREDENTIALS))


 "/usr/local/lib/python2.7/dist-packages/speech_recognition/__init__.py", line 750, in recognize_google_cloud

with PortableNamedTemporary
("w") as f:


 "/usr/local/lib/python2.7/dist-packages/speech_recognition/__init__.py", line 1038, in __enter__

self._file = open(file_descriptor, self.mode)
TypeError: coercing to Unicode: need string or buffer, int found
