TypeError: __init__() takes exactly 2 arguments (1 given)

24 views
Skip to first unread message

Kuldeep Wadaskar

unread,
Feb 11, 2019, 6:34:23 AM2/11/19
to Jasper Support Forum
DEBUG:client.diagnose:Checking network connection to server 'www.google.com'...
DEBUG:client.diagnose:Network connection working
DEBUG:__main__:Trying to read config file: '/home/pi/.jasper/profile.yml'
DEBUG:client.diagnose:Checking network connection to server 'www.google.com'...
DEBUG:client.diagnose:Network connection working
DEBUG:client.diagnose:Checking executable 'aplay'...
DEBUG:client.diagnose:Executable 'aplay' found: '/usr/bin/aplay'
DEBUG:client.diagnose:Checking executable 'espeak'...
DEBUG:client.diagnose:Executable 'espeak' found: '/usr/bin/espeak'
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 "/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)
TypeError: __init__() takes exactly 2 arguments (1 given)


i am getting this error in running jasper how to solve this

G10DRAS

unread,
Feb 15, 2019, 5:37:55 PM2/15/19
to Jasper Support Forum
Check your pocketsphinx version. Is it 0.8 ?

Kuldeep Wadaskar

unread,
Feb 15, 2019, 5:39:44 PM2/15/19
to Jasper Support Forum
I am not using pocketssphins.. iam using wit

G10DRAS

unread,
Feb 15, 2019, 8:41:22 PM2/15/19
to Jasper Support Forum
ok then check your config for wit.ai.
Reply all
Reply to author
Forward
0 new messages