Error while running /home/pi/jasper/jasper.py

204 views
Skip to first unread message

shaiwal rawat

unread,
Mar 3, 2016, 7:27:41 AM3/3/16
to Jasper Support Forum
 /home/pi/jasper/jasper.py
*******************************************************
*             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:client.vocabcompiler:Fatal compilation Error occured, cleaning up...
Traceback (most recent call last):
  File "/home/pi/jasper/client/vocabcompiler.py", line 163, in compile
    self._compile_vocabulary(phrases)
  File "/home/pi/jasper/client/vocabcompiler.py", line 269, in _compile_vocabulary
    vocabulary = self._compile_languagemodel(text, self.languagemodel_file)
  File "/home/pi/jasper/client/vocabcompiler.py", line 290, in _compile_languagemodel
    cmuclmtk.text2vocab(text, vocab_file)
  File "/usr/local/lib/python2.7/dist-packages/cmuclmtk/__init__.py", line 485, in text2vocab
    text2wfreq(text, wfreq_file, **text2wfreq_kwargs)
  File "/usr/local/lib/python2.7/dist-packages/cmuclmtk/__init__.py", line 114, in text2wfreq
    raise ConversionError("'%s' returned with non-zero exit status '%s'" % (cmd[0], exitcode))
ConversionError: 'text2wfreq' returned with non-zero exit status '127'
ERROR:root:Error occured!
Traceback (most recent call last):
  File "/home/pi/jasper/jasper.py", line 143, in <module>
    app = Jasper()
  File "/home/pi/jasper/jasper.py", line 106, 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 40, in get_instance
    vocabulary.compile(phrases)
  File "/home/pi/jasper/client/vocabcompiler.py", line 171, in compile
    raise e
ConversionError: 'text2wfreq' returned with non-zero exit status '127'

Thanks in advance.. :)

Theo Codreanu

unread,
Mar 4, 2016, 1:05:42 AM3/4/16
to Jasper Support Forum
I think you've set something wrong in your profile.yml. Can you post it please?

shaiwal rawat

unread,
Mar 4, 2016, 1:36:48 AM3/4/16
to Jasper Support Forum
Thanks for reply. Kindly find the attachment.
profile.yml

shaiwal rawat

unread,
Mar 4, 2016, 11:57:31 AM3/4/16
to Jasper Support Forum
Help me out please.

Tiago Landim

unread,
Nov 11, 2016, 12:14:58 PM11/11/16
to Jasper Support Forum
Did you solve this problem? I'm facing the same issue

Scar Optics

unread,
Nov 11, 2016, 1:06:29 PM11/11/16
to Jasper Support Forum
Get the current image for your Pi from the link on this support forum, not the Jasper Documentation page (it's long outdated).
Reply all
Reply to author
Forward
0 new messages