Stuck getting Jasper to run on Ubuntu 16.04 LTS

150 views
Skip to first unread message

Wes

unread,
Jun 1, 2017, 9:38:59 AM6/1/17
to Jasper Support Forum
Hey I'm having trouble here's my output, I'm using pocketsphinx-0.8 btw:

root@cyberdyne-sys:~/jasper# python jasper.py 
*******************************************************
*             JASPER - THE TALKING COMPUTER           *
* (c) 2015 Shubhro Saha, Charlie Marsh & Jan Holthuis *
*******************************************************
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 "/root/jasper/client/stt.py", line 48, in get_passive_instance
    return cls.get_instance('keyword', phrases)
  File "/root/jasper/client/stt.py", line 42, in get_instance
    instance = cls(**config)
  File "/root/jasper/client/stt.py", line 126, in __init__
    **vocabulary.decoder_kwargs)
TypeError: __init__() got an unexpected keyword argument 'hmm'

The hmm_dir in my profile is correct and I've verified the file is in that file location.

I'm banging my head against a wall b/c I haven't found anyone with this same issue.

Here's the debug if you need it:
root@cyberdyne-sys:~/jasper# python jasper.py --debug
*******************************************************
*             JASPER - THE TALKING COMPUTER           *
* (c) 2015 Shubhro Saha, Charlie Marsh & Jan Holthuis *
*******************************************************
DEBUG:client.diagnose:Checking network connection to server 'www.google.com'...
DEBUG:client.diagnose:Network connection working
DEBUG:__main__:Trying to read config file: '/root/.jasper/profile.yml'
DEBUG:client.diagnose:Checking python import 'pocketsphinx'...
DEBUG:client.diagnose:Python package 'pocketsphinx' found: '/usr/lib/python2.7/dist-packages/pocketsphinx/__init__.py'
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'
DEBUG:client.vocabcompiler:compiled_revision is 'bb74ae36d130ef20de710e3a77b43424b8fa774f'
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 "/root/jasper/client/stt.py", line 48, in get_passive_instance
    return cls.get_instance('keyword', phrases)
  File "/root/jasper/client/stt.py", line 42, in get_instance
    instance = cls(**config)
  File "/root/jasper/client/stt.py", line 126, in __init__
    **vocabulary.decoder_kwargs)
TypeError: __init__() got an unexpected keyword argument 'hmm'


RadioFreeRO

unread,
Jun 4, 2017, 10:24:19 PM6/4/17
to Jasper Support Forum
Wait... Wes created this operating system for the Raspberry Pi, and you're claiming to be Wes. Also you're asking for tech support on a operating system that can not be put on another operating system without wiping it.

Wes

unread,
Jun 5, 2017, 12:21:05 AM6/5/17
to Jasper Support Forum
Figured it out

Did stuff as root user instead of using sudo command so some permissions on files were wrong. As well as some configs being in the wrong place.
Decided to switch to debian for other reasons however and it was much easier.


... and you're claiming to be Wes ...
^Huh? That's my name ... ?

Mike Pippin

unread,
Jun 21, 2017, 9:14:44 PM6/21/17
to Jasper Support Forum
@RadioFreeRo, You seem to be very ignorant judging by all of your posts here on various topics. Jasper is not an operating system, it is an application written in python that will run on any device and operating system that supports python and its dependencies.

RadioFreeRO

unread,
Jun 21, 2017, 9:37:59 PM6/21/17
to Jasper Support Forum
It is an OS that is based off of Raspbian hence the reason why you need a image file in order to use it on the Raspberry Pi. http://jasperproject.github.io/documentation/ Look here for more fun facts Mike.

Mike Pippin

unread,
Jun 23, 2017, 11:44:29 AM6/23/17
to Jasper Support Forum
If I take a UBUNTU disk image and add the application Blender too it. So that Blender is installed everytime I use that image to install UBUNTU does that mean Blender magically became an operating system? No the OS is Ubuntu and Blender is still an app. You talk alot of Shit in these threads for someone that seems as ignorant as you are.
Reply all
Reply to author
Forward
0 new messages