-
Notifications
You must be signed in to change notification settings - Fork 189
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
having issues in compiling jasper.py #85
Comments
Same here - I would love to find a fix. EditAfter looking into it more, it seems like More infoError:*******************************************************
* JASPER - THE TALKING COMPUTER *
* (c) 2015 Shubhro Saha, Charlie Marsh & Jan Holthuis *
*******************************************************
ERROR:client.g2p:Error occured while executing command 'phonetisaurus-g2p --model=/Users/<name>/phonetisaurus/g014b2b.fst --input=/var/folders/bk/kzb30zh56l94zmhml4ck70qr0000gn/T/tmp6tP5xf.g2p --words --isfile'
Traceback (most recent call last):
File "/Users/<name>/jasper/client/g2p.py", line 40, in execute
stderr=subprocess.PIPE)
File "/usr/local/Cellar/python/2.7.14_2/Frameworks/Python.framework/Versions/2.7/lib/python2.7/subprocess.py", line 390, in __init__
errread, errwrite)
File "/usr/local/Cellar/python/2.7.14_2/Frameworks/Python.framework/Versions/2.7/lib/python2.7/subprocess.py", line 1025, in _execute_child
raise child_exception
OSError: [Errno 8] Exec format error
ERROR:client.vocabcompiler:Fatal compilation Error occured, cleaning up...
Traceback (most recent call last):
File "/Users/<name>/jasper/client/vocabcompiler.py", line 163, in compile
self._compile_vocabulary(phrases)
File "/Users/<name>/jasper/client/vocabcompiler.py", line 271, in _compile_vocabulary
self._compile_dictionary(vocabulary, self.dictionary_file)
File "/Users/<name>/jasper/client/vocabcompiler.py", line 321, in _compile_dictionary
phonemes = g2pconverter.translate(words)
File "/Users/<name>/jasper/client/g2p.py", line 130, in translate
output = self._translate_words(words)
File "/Users/<name>/jasper/client/g2p.py", line 119, in _translate_words
nbest=self.nbest)
File "/Users/<name>/jasper/client/g2p.py", line 40, in execute
stderr=subprocess.PIPE)
File "/usr/local/Cellar/python/2.7.14_2/Frameworks/Python.framework/Versions/2.7/lib/python2.7/subprocess.py", line 390, in __init__
errread, errwrite)
File "/usr/local/Cellar/python/2.7.14_2/Frameworks/Python.framework/Versions/2.7/lib/python2.7/subprocess.py", line 1025, in _execute_child
raise child_exception
OSError: [Errno 8] Exec format error
ERROR:root:Error occured!
Traceback (most recent call last):
File "jasper.py", line 146, in <module>
app = Jasper()
File "jasper.py", line 109, in __init__
stt_passive_engine_class.get_passive_instance(),
File "/Users/<name>/jasper/client/stt.py", line 48, in get_passive_instance
return cls.get_instance('keyword', phrases)
File "/Users/<name>/jasper/client/stt.py", line 40, in get_instance
vocabulary.compile(phrases)
File "/Users/<name>/jasper/client/vocabcompiler.py", line 171, in compile
raise e
OSError: [Errno 8] Exec format error System info:OS: MacOS v10.12.6 Modificationsinstead of running |
After testing it a little more, I was able to get |
thank you but i installed google engine...i'm pretty good with it |
pi@raspberrypi:~/g014b2b $ /home/pi/jasper/jasper.py
ERROR:client.g2p:Command 'phonetisaurus-g2p --model=/home/pi/phonetisaurus/g014b2b.fst --input=/tmp/tmpKHonAt.g2p --words --isfile' return with exit status -11
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 321, in _compile_dictionary
phonemes = g2pconverter.translate(words)
File "/home/pi/jasper/client/g2p.py", line 130, in translate
output = self._translate_words(words)
File "/home/pi/jasper/client/g2p.py", line 119, in _translate_words
nbest=self.nbest)
File "/home/pi/jasper/client/g2p.py", line 56, in execute
raise OSError("Command execution failed")
OSError: Command execution failed
ERROR:root:Error occured!
Traceback (most recent call last):
File "/home/pi/jasper/jasper.py", line 146, in
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: Command execution failed
The text was updated successfully, but these errors were encountered: