issues with pocketsphix on RPI 3

125 views
Skip to first unread message

dan smith

unread,
May 23, 2017, 2:18:10 AM5/23/17
to Jasper Support Forum
my profile.yml 
carrier: ''
first_name: J*********
gmail_address: the******@gmail.com
gmail_password: [REDACTED]
last_name: {REDACTED}
location: '41102'
phone_number: '[REDACTED]'
prefers_email: true
stt_engine: sphinx
timezone: America/New_York
pocketsphinx:
hmm_dir: /usr/share/pocketsphinx/model/hmm/en_US/hub4wsj_sc_8k


ok so i followed like three different things to get to this point i followed part of an automatic install which didnt install everything i needed, then i followed the jasper set up to get the profile.yml, and the thrid thing i did when i got errors running jasper i look online for the files i could not download since i am on a raspberry pi and the files were like openfst the tools and dev for fst, and phonetisurus, now i look on here https://github.com/jasperproject/jasper-client/issues/364 and it appears i might have missing things in my profile.yml, but i think i have everything...i am sure i am missing something dead simple


but here is my error:
*******************************************************
*             JASPER - THE TALKING COMPUTER           *
* (c) 2015 Shubhro Saha, Charlie Marsh & Jan Holthuis *
*******************************************************
WARNING:root:tts_engine not specified in profile, defaulting to 'espeak-tts'
ERROR:root:Error occured!
Traceback (most recent call last):
  File "/home/pi/jasper/jasper.py", line 146, in <module>
    app = Jasper()
  File "/home/pi/jasper/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 34, in get_instance
    config = cls.get_config()
  File "/home/pi/jasper/client/stt.py", line 143, in get_config
    config['hmm_dir'] = profile['pocketsphinx']['hmm_dir']
TypeError: 'NoneType' object has no attribute '__getitem__'

thank you
Reply all
Reply to author
Forward
0 new messages