jkemmer7
Posts: 3
Joined: Tue Oct 10, 2017 6:17 pm

Jasper Audio issue, please help!

Wed Oct 18, 2017 3:04 pm

I have a pi 3 running jasper and when I run the execute it starts up and says it's intro but I cannot speak back into it, I have tried 4 speech engines, adjusting mic settings and cannot figure it out. I am still a noobie with this stuff so any help greatly appreciated! Here is the error code...

*******************************************************
* JASPER - THE TALKING COMPUTER *
* (c) 2015 Shubhro Saha, Charlie Marsh & Jan Holthuis *
*******************************************************
ALSA lib pcm_dmix.c:1052:(snd_pcm_dmix_open) unable to open slave
ALSA lib pcm.c:2495:(snd_pcm_open_noupdate) Unknown PCM cards.pcm.rear
ALSA lib pcm.c:2495:(snd_pcm_open_noupdate) Unknown PCM cards.pcm.center_lfe
ALSA lib pcm.c:2495:(snd_pcm_open_noupdate) Unknown PCM cards.pcm.side
ALSA lib pcm.c:2495:(snd_pcm_open_noupdate) Unknown PCM cards.pcm.hdmi
ALSA lib pcm.c:2495:(snd_pcm_open_noupdate) Unknown PCM cards.pcm.hdmi
ALSA lib pcm.c:2495:(snd_pcm_open_noupdate) Unknown PCM cards.pcm.modem
ALSA lib pcm.c:2495:(snd_pcm_open_noupdate) Unknown PCM cards.pcm.modem
ALSA lib pcm.c:2495:(snd_pcm_open_noupdate) Unknown PCM cards.pcm.phoneline
ALSA lib pcm.c:2495:(snd_pcm_open_noupdate) Unknown PCM cards.pcm.phoneline
ALSA lib confmisc.c:1281:(snd_func_refer) Unable to find definition 'defaults.bluealsa.device'
ALSA lib conf.c:4528:(_snd_config_evaluate) function snd_func_refer returned error: No such file or directory
ALSA lib conf.c:4996:(snd_config_expand) Args evaluate error: No such file or directory
ALSA lib pcm.c:2495:(snd_pcm_open_noupdate) Unknown PCM bluealsa
ALSA lib confmisc.c:1281:(snd_func_refer) Unable to find definition 'defaults.bluealsa.device'
ALSA lib conf.c:4528:(_snd_config_evaluate) function snd_func_refer returned error: No such file or directory
ALSA lib conf.c:4996:(snd_config_expand) Args evaluate error: No such file or directory
ALSA lib pcm.c:2495:(snd_pcm_open_noupdate) Unknown PCM bluealsa
ALSA lib pcm_dmix.c:1052:(snd_pcm_dmix_open) unable to open slave
Cannot connect to server socket err = No such file or directory
Cannot connect to server request channel
jack server is not running or cannot be started
JackShmReadWritePtr::~JackShmReadWritePtr - Init not done for -1, skipping unlock
JackShmReadWritePtr::~JackShmReadWritePtr - Init not done for -1, skipping unlock
WARNING:client.notifier:gmail_address or gmail_password not set in profile, Gmail notifier will not be used
Traceback (most recent call last):
File "/home/pi/jasper/jasper.py", line 151, in <module>
app.run()
File "/home/pi/jasper/jasper.py", line 121, in run
conversation.handleForever()
File "/home/pi/jasper/client/conversation.py", line 31, in handleForever
threshold, transcribed = self.mic.passiveListen(self.persona)
File "/home/pi/jasper/client/mic.py", line 179, in passiveListen
transcribed = self.passive_stt_engine.transcribe(f)
File "/home/pi/jasper/client/stt.py", line 486, in transcribe
r = self._get_response(data)
File "/home/pi/jasper/client/stt.py", line 526, in _get_response
headers = {'authorization': 'Bearer %s' % self.token,
File "/home/pi/jasper/client/stt.py", line 481, in token
self._token = r.json()['access_token']
KeyError: 'access_token'

attached is my File: /lib/modprobe.d/jasper.conf

I'm running a little mini usb mic and had it working before but all of a sudden this install won't function properly. Please let me know what options there are!

Thanks, Jesse
Attachments
Capture.PNG
Capture.PNG (11.14 KiB) Viewed 419 times

jkemmer7
Posts: 3
Joined: Tue Oct 10, 2017 6:17 pm

Re: Jasper Audio issue, please help!

Wed Oct 18, 2017 3:07 pm

Also here is my profile.yml I'm running.
Attachments
Capture2.PNG
Capture2.PNG (37.51 KiB) Viewed 417 times

Return to “Troubleshooting”