Jasper with Raspian Buster on a Raspberry Pi Model 4

223 views
Skip to first unread message

Steve Kuekes

unread,
Jan 25, 2020, 3:30:41 PM1/25/20
to Jasper Support Forum
Here is a tutorial on installing Jasper on a Raspberry using Raspian Buster.  I have done this install twice with no problems if you follow all the directions and apply the couple of patches that I have included.

I tested this on a Raspberry Pi Model 4 and a Model 3 B+.  Both work fine.

Let me know if you have any comments.  I'll try to make the formatting on the tutorial better.

The link to the tutorial is http://www.kuekes.com/jasperbuster.html

I am working on an ISO image that will be quicker to install. 
Steve

SAI ARAVIND VOBBILISETTY

unread,
Feb 25, 2020, 7:21:36 AM2/25/20
to Jasper Support Forum
hello 

I tried doing this. Jasper is greeting me but not responding to my commands. i am getting the following error.

l notifier will not be used
CRITICAL:client.stt:Request failed with response: u'{\n  "code": "no-auth",\n  "error": "Bad auth, check token/params"\n}'
Traceback (most recent call last):
  File "/home/pi/jasper/client/stt.py", line 594, in transcribe
    r.raise_for_status()
  File "/usr/local/lib/python2.7/dist-packages/requests/models.py", line 829, in raise_for_status
    raise HTTPError(http_error_msg, response=self)
HTTPError: 400 Client Error: Bad Request


Can you please help me

Steve Kuekes

unread,
Feb 28, 2020, 3:53:03 PM2/28/20
to Jasper Support Forum
Have you made the changes to your ~/.jasper/profile.yml.  can you post it here

It seems that your jasper is trying to use wit.ai speech to text engine.  The changes I made use the sphinx text to speech package.

your profile.yml should contain

stt_engine: sphinx

Message has been deleted

Albertus de Wet

unread,
Feb 27, 2021, 5:38:26 PM2/27/21
to Jasper Support Forum
I got this to compile without errors by following the instructions of: http://www.kuekes.com/jasperbuster.html  (Thank you). But when I run ./jasper.py - I get these messages:
*******************************************************
*             JASPER - THE TALKING COMPUTER           *
* (c) 2015 Shubhro Saha, Charlie Marsh & Jan Holthuis *
*******************************************************
WARNING:root:tts_engine not specified in profile, defaulting to 'espeak-tts'
ERROR:root:Error occured!
Traceback (most recent call last):
  File "../jasper.py", line 146, in <module>
    app = Jasper()
  File "../jasper.py", line 105, in __init__
    tts_engine_class = tts.get_engine_by_slug(tts_engine_slug)
  File "../client/tts.py", line 665, in get_engine_by_slug
    "missing dependencies, etc.)") % slug)
ValueError: TTS engine 'espeak-tts' is not available (due to missing dependencies, etc.)

my ~/.jasper/profile.yml file contents:
carrier: vtext.com
first_name: xxxxx
gmail_address: xx...@gmail.com
gmail_password: xxxx
last_name: xxxxx
phone_number: '1111111111'
prefers_email: false
stt_engine: sphinx
timezone: America/New_York
pocketsphinx:
         hmm_dir: '/usr/share/pocketsphinx/model/en-us/en-us'
         fst_model: '~/phonetisaurus/g014b2b.fst'
tts_engine: festival-tts

which is exacly the same as in the instructions (only with my values specified) , but the last four lines are identical.

can anyone help, please?

Thanks

ala...@aqorn.com

unread,
Feb 27, 2021, 6:25:34 PM2/27/21
to Jasper Support Forum
I moved all relevant artifacts from steps, patches and everything else needed to deploy jasper on a RPI to GitHub/SourceForge with an updated tutorial, all required files as well as a pre-installed Jasper install on an ISO. Try it out and let me know if it works for you.


//adam

ala...@aqorn.com

unread,
Feb 27, 2021, 6:29:20 PM2/27/21
to Jasper Support Forum
This also includes the patch(es) that is/are reportedly missing from the Kuekes website.

//adam

Reply all
Reply to author
Forward
0 new messages