Phonetisaurus missing but is installed

1,002 views
Skip to first unread message

Michele

unread,
Aug 11, 2016, 11:39:52 AM8/11/16
to Jasper Support Forum
I have set up all the stuff to run jasper.

But if I start it I get this:

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 271, in _compile_vocabulary
    self._compile_dictionary(vocabulary, self.dictionary_file)
  File "/home/pi/jasper/client/vocabcompiler.py", line 320, in _compile_dictionary
    g2pconverter = PhonetisaurusG2P(**PhonetisaurusG2P.get_config())
  File "/home/pi/jasper/client/g2p.py", line 90, in __new__
    "$PATH.")
OSError: Can't find command 'phonetisaurus-g2p'! Please check if Phonetisaurus is installed and in your $PATH.
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 40, in get_instance
    vocabulary.compile(phrases)
  File "/home/pi/jasper/client/vocabcompiler.py", line 171, in compile
    raise e
OSError: Can't find command 'phonetisaurus-g2p'! Please check if Phonetisaurus is installed and in your $PATH.
__________________________________________________________________________________________________-

cant find command phonetisaurus-g2p ... i have installed it like shown in jasper documentation
it is located in /home/pi/is2013-conversion/phonetisaurus/src
but it should be in /usr/local/bin I guess 

dont know how to fix it ... if i want to move with 
sudo cp ~/phonetisaurus-0.7.8/phonetisaurus-g2p /usr/local/bin/phonetisaurus-g2p
like written in the documentation. But I get the message no file or directory found
can u tell me how to fix this? maybe i have failed something in the build of phonetisaurus?

Flo Amok

unread,
Aug 12, 2016, 5:03:54 AM8/12/16
to Jasper Support Forum
if you had build it, the file you are looking for is in the ~/is2013-conversion/bin/ folder.


Michele

unread,
Aug 12, 2016, 12:33:55 PM8/12/16
to Jasper Support Forum
I found it last night. Now I have a new Error-Code. :/ but thanks

Matthew Curry

unread,
Aug 13, 2016, 3:43:08 PM8/13/16
to Jasper Support Forum
What image did you use?  Or are you on your own image?

Did you try using the pre-compiled dependencies I provided?

Please join me in slack and I am happy to help.

Pratik Malhotra

unread,
Aug 24, 2016, 11:14:29 AM8/24/16
to Jasper Support Forum
I used the dependencies you provided and am getting the same error. Solution please?

Matthew Curry

unread,
Aug 31, 2016, 1:11:09 PM8/31/16
to Jasper Support Forum
Did you run the installer script, and reboot and run it again?

tanktoo

unread,
Sep 25, 2016, 3:39:24 PM9/25/16
to Jasper Support Forum
I am currently facing the same problem after installing with the depencies install script. Have done multiple reboots since installing.
Reply all
Reply to author
Forward
0 new messages