Skip to content
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

the error when I run jasper.py #718

Open
lijunwei19 opened this issue Oct 6, 2019 · 3 comments
Open

the error when I run jasper.py #718

lijunwei19 opened this issue Oct 6, 2019 · 3 comments

Comments

@lijunwei19
Copy link


  •         JASPER - THE TALKING COMPUTER           *
    
  • (c) 2015 Shubhro Saha, Charlie Marsh & Jan Holthuis *

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 42, in get_instance
instance = cls(**config)
File "/home/pi/jasper/client/stt.py", line 128, in init
psConfig.set_string('-hmm', hmm_dir)
AttributeError: 'SwigPyObject' object has no attribute 'set_string'
swig/python detected a memory leak of type 'Config *', no destructor found.

I don't know the problem is caused by python swig or wrong way to the jasper installation process. Anyone could help me, thank you a lot.

@lijunwei19
Copy link
Author

pi@raspberrypi:~$ swig -version

SWIG Version 3.0.12

Compiled with g++ [armv8l-unknown-linux-gnueabihf]

Configured options: +pcre

Please see http://www.swig.org for reporting bugs and further information

@lijunwei19
Copy link
Author

1carrier: ####
first_name: ####
gmail_address: #####
gmail_password: #####
last_name: Li
phone_number: ''
prefers_email: true
stt_engine: sphinx
pocketsphinx:
fst_model: '/home/pi/phonetisaurus/g014b2b.fst'
hmm_dir: '/home/pi/pocketsphinx-0.8/model/hmm/en_US/hub4wsj_sc_8k'
timezone: America/New_York
tts_engine: espeak-tts
espeak-tts:
voice: 'default+m3'
pitch_adjustment: 40
words_per_minute: 160

@appeacock
Copy link

The work on Jasper - specifically making it work as-is and refactoring to Python 3 is being conducted at https://github.com/aplawson/jasper-client -- including a tutorial on how to build it and/or deploy it with a custom Raspbian ISO image. //adam

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants