2016-08-24 3 views
-1

Ich folge diesem Tutorial http://jasperproject.github.io/documentation/ Ich benutze Debian Jessie so die meisten von ihnen muss ich kompilieren. Wenn ich jasper.py ausführen möchte, bekomme ich diesen Fehler: Weiß jemand, was das Problem sein kann.Raspberry Pi Jasper Spracherkennung funktioniert nicht

DEBUG:client.diagnose:Checking network connection to server 'www.google.com'... DEBUG:client.diagnose:Network connection working DEBUG:main:Trying to read config file: '/root/.jasper/profile.yml' DEBUG:client.diagnose:Checking python import 'pocketsphinx'... DEBUG:client.diagnose:Python package 'pocketsphinx' found: /usr/local/lib/python2.7/dist-packages/pocketsphinx/init.py' WARNING:root:tts_engine not specified in profile, defaulting to espeak-tts' DEBUG:client.diagnose:Checking executable 'aplay'... DEBUG:client.diagnose:Executable 'aplay' found: '/usr/bin/aplay' DEBUG:client.diagnose:Checking executable 'espeak'... DEBUG:client.diagnose:Executable 'espeak' found: '/usr/bin/espeak' DEBUG:client.vocabcompiler:compiled_revision is 'bb74ae36d130ef20de710e3a77b43424b8fa774f' ERROR:root:Error occured! Traceback (most recent call last): File "jasper.py", line 146, in app = Jasper() File "jasper.py", line 109, in init
stt_passive_engine_class.get_passive_instance(), File "/home/pi/jasper/client/stt.py", line 48, in get_passive_instance
return cls.get_instance('keyword', phrases) File "/home/pi/jasper/client/stt.py", line 42, in get_instance
instance = cls(**config) File "/home/pi/jasper/client/stt.py", line 126, in init **vocabulary.decoder_kwargs) TypeError: init() got an unexpected keyword argument 'hmm'

+0

Es gibt ein Schlüsselwort 'hmm' zu viel. Die Rückverfolgung verweist auf die Konfiguration, können Sie den gesamten relevanten Code und die Konfiguration hinzufügen? –

+0

was meinst du mit Konfiguration. – input

+0

Die 'profile.yml'. Wenn Sie persönliche Informationen wie API-Schlüssel haben, entfernen Sie diese. –

Antwort