jasperproject / jasper-client

Client code for Jasper voice computing platform
MIT License
4.52k stars 1.01k forks source link

Errors After Installation #433

Closed ashishbajaj99 closed 8 years ago

ashishbajaj99 commented 8 years ago

I've followed all the instructions for installation and configuration. Here is my profile.yml

carrier: ''
first_name: Ashish
gmail_password: ''
last_name: Bajaj
phone_number: ''
prefers_email: true
stt_engine: sphinx
tts_engine: espeak-tts
espeak-tts:
   voice: 'default+m3'
   pitch_adjustment: 40
   words_per_minute: 160
timezone: Asia/Kolkata

When I launch jasper.py I get the following errors:

Traceback (most recent call last):
  File "/home/pi/jasper/jasper.py", line 12, in <module>
    from client import tts, stt, jasperpath, diagnose
  File "/home/pi/jasper/client/tts.py", line 41, in <module>
    import diagnose
  File "/home/pi/jasper/client/diagnose.py", line 9, in <module>
    import pip.req
  File "/usr/lib/python2.7/dist-packages/pip/__init__.py", line 74, in <module>
    from pip.vcs import git, mercurial, subversion, bazaar  # noqa
  File "/usr/lib/python2.7/dist-packages/pip/vcs/mercurial.py", line 9, in <module>
    from pip.download import path_to_url
  File "/usr/lib/python2.7/dist-packages/pip/download.py", line 25, in <module>
    from requests.compat import IncompleteRead
ImportError: cannot import name IncompleteRead

I am on Debian Jessie branch. Also I've used the package manager to install the experimental dependencies using this:

sudo apt-get -t experimental install phonetisaurus m2m-aligner mitlm

Though I can see that I have phonetisaurus via the package manager, I am unable to locate the fst file.

pi@ashiya:~ $ dpkg -L phonetisaurus
/.
/usr
/usr/bin
/usr/bin/phonetisaurus-calculateER
/usr/bin/phonetisaurus-g2p
/usr/bin/phonetisaurus-arpa2fst
/usr/bin/phonetisaurus-align
/usr/share
/usr/share/doc
/usr/share/doc/phonetisaurus
/usr/share/doc/phonetisaurus/README.txt
/usr/share/doc/phonetisaurus/buildinfo_armhf.gz
/usr/share/doc/phonetisaurus/changelog.Debian.gz
/usr/share/doc/phonetisaurus/copyright
/usr/share/man
/usr/share/man/man1
/usr/share/man/man1/phonetisaurus-align.1.gz
/usr/share/man/man1/phonetisaurus-arpa2fst.1.gz
/usr/share/man/man1/phonetisaurus-g2p.1.gz
/usr/share/man/man1/phonetisaurus-calculateER.1.gz

So as you can see my profile.yml doesnt have the following lines - does this cause the error?

pocketsphinx:
  fst_model: '../phonetisaurus/g014b2b.fst'                              #optional
  hmm_dir: '/usr/local/share/pocketsphinx/model/hmm/en_US/hub4wsj_sc_8k' #optional
ashishbajaj99 commented 8 years ago

Okay found that this was an error with pip installations. Extremely weird problem that pip installation with apt-get results in errors. But it works with easy_install

Essentially this does not work:

$ sudo apt-get purge -y python-pip
$ sudo apt-get -y autoremove
$ sudo apt-get install -y python-pip
$ pip --version

But this works:

$ sudo apt-get purge -y python-pip
$ sudo apt-get -y autoremove
$ sudo easy_install pip
$ pip --version

Now I am getting errors with my STT engine:

pi@ashiya:~ $ jasper/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/jasper.py", line 143, in <module>
    app = Jasper()
  File "jasper/jasper.py", line 88, in __init__
    stt_engine_class = stt.get_engine_by_slug(stt_engine_slug)
  File "/home/pi/jasper/client/stt.py", line 648, in get_engine_by_slug
    "dependencies, etc.)") % slug)
ValueError: STT engine 'sphinx' is not available (due to missing dependencies, missing dependencies, etc.)

Not sure why, I've manually downloaded the Phonetisaurus model and compiled it using the instructions here:

cd g014b2b/
./compile-fst.sh

My new profile.yml looks like this:

pi@ashiya:~/jasper $ cat ~/.jasper/profile.yml 
carrier: ''
first_name: Ashish
gmail_password: ''
last_name: Bajaj
phone_number: ''
prefers_email: true
stt_engine: sphinx
pocketsphinx:
   fst_model: '/home/pi/g014b2b/g014b2b.fst'
   hmm_dir: '/usr/share/pocketsphinx/model/hmm/en_US/hub4wsj_sc_8k'
tts_engine: espeak-tts
espeak-tts:
   voice: 'default+m3'
   pitch_adjustment: 40
   words_per_minute: 160
timezone: Asia/Kolkata

How can I check what dependencies I am missing? Appreciate any help.

Cheers.

G10DRAS commented 8 years ago

Run Jasper in debug mode ./jasper.py --debug and see log for more details.

Seems pocketsphinx not installed.

G10DRAS commented 8 years ago

try installing Pocketsphinx

sudo apt-get install -y python python-dev python-pip build-essential swig git

sudo apt-get install python-pocketsphinx OR sudo pip install sphinxbase sudo pip install pocketsphinx

ashishbajaj99 commented 8 years ago

Hmmm, I actually did have pocketsphinx installed via apt-get:

sudo apt-get install pocketsphinx

Here is what I get with dpkg:

pi@ashiya:~ $ dpkg -L pocketsphinx
/.
/usr
/usr/bin
/usr/bin/pocketsphinx_batch
/usr/bin/pocketsphinx_continuous
/usr/bin/pocketsphinx_mdef_convert
/usr/share
/usr/share/doc
/usr/share/doc/pocketsphinx
/usr/share/doc/pocketsphinx/AUTHORS
/usr/share/doc/pocketsphinx/html
/usr/share/doc/pocketsphinx/html/tabs.css
/usr/share/doc/pocketsphinx/html/dynsections.js
/usr/share/doc/pocketsphinx/html/tab_a.png
/usr/share/doc/pocketsphinx/html/tab_b.png
/usr/share/doc/pocketsphinx/html/tab_h.png
/usr/share/doc/pocketsphinx/html/tab_s.png
/usr/share/doc/pocketsphinx/html/nav_h.png
/usr/share/doc/pocketsphinx/html/nav_f.png
/usr/share/doc/pocketsphinx/html/bc_s.png
/usr/share/doc/pocketsphinx/html/doxygen.png
/usr/share/doc/pocketsphinx/html/closed.png
/usr/share/doc/pocketsphinx/html/open.png
/usr/share/doc/pocketsphinx/html/bdwn.png
/usr/share/doc/pocketsphinx/html/sync_on.png
/usr/share/doc/pocketsphinx/html/sync_off.png
/usr/share/doc/pocketsphinx/html/nav_g.png
/usr/share/doc/pocketsphinx/html/ftv2blank.png
/usr/share/doc/pocketsphinx/html/ftv2doc.png
/usr/share/doc/pocketsphinx/html/ftv2folderclosed.png
/usr/share/doc/pocketsphinx/html/ftv2folderopen.png
/usr/share/doc/pocketsphinx/html/ftv2lastnode.png
/usr/share/doc/pocketsphinx/html/ftv2link.png
/usr/share/doc/pocketsphinx/html/ftv2mlastnode.png
/usr/share/doc/pocketsphinx/html/ftv2mnode.png
/usr/share/doc/pocketsphinx/html/ftv2node.png
/usr/share/doc/pocketsphinx/html/ftv2plastnode.png
/usr/share/doc/pocketsphinx/html/ftv2pnode.png
/usr/share/doc/pocketsphinx/html/ftv2vertline.png
/usr/share/doc/pocketsphinx/html/ftv2splitbar.png
/usr/share/doc/pocketsphinx/html/doxygen.css
/usr/share/doc/pocketsphinx/html/cmdln__macro_8h_source.html
/usr/share/doc/pocketsphinx/html/fsg__set_8h_source.html
/usr/share/doc/pocketsphinx/html/pocketsphinx_8h_source.html
/usr/share/doc/pocketsphinx/html/pocketsphinx__export_8h_source.html
/usr/share/doc/pocketsphinx/html/ps__lattice_8h_source.html
/usr/share/doc/pocketsphinx/html/ps__mllr_8h_source.html
/usr/share/doc/pocketsphinx/html/acmod_8c_source.html
/usr/share/doc/pocketsphinx/html/acmod_8h_source.html
/usr/share/doc/pocketsphinx/html/bin__mdef_8c_source.html
/usr/share/doc/pocketsphinx/html/bin__mdef_8h_source.html
/usr/share/doc/pocketsphinx/html/blkarray__list_8c_source.html
/usr/share/doc/pocketsphinx/html/blkarray__list_8h_source.html
/usr/share/doc/pocketsphinx/html/dict_8c_source.html
/usr/share/doc/pocketsphinx/html/dict_8h_source.html
/usr/share/doc/pocketsphinx/html/dict2pid_8c_source.html
/usr/share/doc/pocketsphinx/html/dict2pid_8h_source.html
/usr/share/doc/pocketsphinx/html/fsg__history_8c_source.html
/usr/share/doc/pocketsphinx/html/fsg__history_8h_source.html
/usr/share/doc/pocketsphinx/html/fsg__lextree_8c_source.html
/usr/share/doc/pocketsphinx/html/fsg__lextree_8h_source.html
/usr/share/doc/pocketsphinx/html/fsg__search_8c_source.html
/usr/share/doc/pocketsphinx/html/fsg__search__internal_8h_source.html
/usr/share/doc/pocketsphinx/html/hmm_8c_source.html
/usr/share/doc/pocketsphinx/html/hmm_8h_source.html
/usr/share/doc/pocketsphinx/html/mdef_8c_source.html
/usr/share/doc/pocketsphinx/html/mdef_8h_source.html
/usr/share/doc/pocketsphinx/html/ms__gauden_8c_source.html
/usr/share/doc/pocketsphinx/html/ms__gauden_8h_source.html
/usr/share/doc/pocketsphinx/html/ms__mgau_8c_source.html
/usr/share/doc/pocketsphinx/html/ms__mgau_8h_source.html
/usr/share/doc/pocketsphinx/html/ms__senone_8c_source.html
/usr/share/doc/pocketsphinx/html/ms__senone_8h_source.html
/usr/share/doc/pocketsphinx/html/ngram__search_8c_source.html
/usr/share/doc/pocketsphinx/html/ngram__search_8h_source.html
/usr/share/doc/pocketsphinx/html/ngram__search__fwdflat_8c_source.html
/usr/share/doc/pocketsphinx/html/ngram__search__fwdflat_8h_source.html
/usr/share/doc/pocketsphinx/html/ngram__search__fwdtree_8c_source.html
/usr/share/doc/pocketsphinx/html/ngram__search__fwdtree_8h_source.html
/usr/share/doc/pocketsphinx/html/phone__loop__search_8c_source.html
/usr/share/doc/pocketsphinx/html/phone__loop__search_8h_source.html
/usr/share/doc/pocketsphinx/html/pocketsphinx_8c_source.html
/usr/share/doc/pocketsphinx/html/pocketsphinx__internal_8h_source.html
/usr/share/doc/pocketsphinx/html/ps__alignment_8c_source.html
/usr/share/doc/pocketsphinx/html/ps__alignment_8h_source.html
/usr/share/doc/pocketsphinx/html/ps__lattice_8c_source.html
/usr/share/doc/pocketsphinx/html/ps__lattice__internal_8h_source.html
/usr/share/doc/pocketsphinx/html/ps__mllr_8c_source.html
/usr/share/doc/pocketsphinx/html/ptm__mgau_8c_source.html
/usr/share/doc/pocketsphinx/html/ptm__mgau_8h_source.html
/usr/share/doc/pocketsphinx/html/s2__semi__mgau_8c_source.html
/usr/share/doc/pocketsphinx/html/s2__semi__mgau_8h_source.html
/usr/share/doc/pocketsphinx/html/s3types_8h_source.html
/usr/share/doc/pocketsphinx/html/state__align__search_8c_source.html
/usr/share/doc/pocketsphinx/html/state__align__search_8h_source.html
/usr/share/doc/pocketsphinx/html/tied__mgau__common_8h_source.html
/usr/share/doc/pocketsphinx/html/tmat_8c_source.html
/usr/share/doc/pocketsphinx/html/tmat_8h_source.html
/usr/share/doc/pocketsphinx/html/vector_8c_source.html
/usr/share/doc/pocketsphinx/html/vector_8h_source.html
/usr/share/doc/pocketsphinx/html/fsg__set_8h.html
/usr/share/doc/pocketsphinx/html/pocketsphinx_8h.html
/usr/share/doc/pocketsphinx/html/ps__lattice_8h.html
/usr/share/doc/pocketsphinx/html/ps__mllr_8h.html
/usr/share/doc/pocketsphinx/html/acmod_8c.html
/usr/share/doc/pocketsphinx/html/acmod_8h.html
/usr/share/doc/pocketsphinx/html/bin__mdef_8h.html
/usr/share/doc/pocketsphinx/html/dict_8h.html
/usr/share/doc/pocketsphinx/html/dict2pid_8c.html
/usr/share/doc/pocketsphinx/html/dict2pid_8h.html
/usr/share/doc/pocketsphinx/html/fsg__lextree_8c.html
/usr/share/doc/pocketsphinx/html/hmm_8h.html
/usr/share/doc/pocketsphinx/html/mdef_8h.html
/usr/share/doc/pocketsphinx/html/ms__gauden_8h.html
/usr/share/doc/pocketsphinx/html/ms__mgau_8h.html
/usr/share/doc/pocketsphinx/html/ms__senone_8h.html
/usr/share/doc/pocketsphinx/html/ngram__search_8c.html
/usr/share/doc/pocketsphinx/html/ngram__search_8h.html
/usr/share/doc/pocketsphinx/html/ngram__search__fwdflat_8c.html
/usr/share/doc/pocketsphinx/html/ngram__search__fwdflat_8h.html
/usr/share/doc/pocketsphinx/html/ngram__search__fwdtree_8c.html
/usr/share/doc/pocketsphinx/html/ngram__search__fwdtree_8h.html
/usr/share/doc/pocketsphinx/html/phone__loop__search_8h.html
/usr/share/doc/pocketsphinx/html/pocketsphinx__internal_8h.html
/usr/share/doc/pocketsphinx/html/ps__alignment_8c.html
/usr/share/doc/pocketsphinx/html/ps__alignment_8h.html
/usr/share/doc/pocketsphinx/html/ps__lattice_8c.html
/usr/share/doc/pocketsphinx/html/ps__lattice__internal_8h.html
/usr/share/doc/pocketsphinx/html/ps__mllr_8c.html
/usr/share/doc/pocketsphinx/html/ptm__mgau_8h.html
/usr/share/doc/pocketsphinx/html/s3types_8h.html
/usr/share/doc/pocketsphinx/html/state__align__search_8c.html
/usr/share/doc/pocketsphinx/html/state__align__search_8h.html
/usr/share/doc/pocketsphinx/html/tied__mgau__common_8h.html
/usr/share/doc/pocketsphinx/html/tmat_8h.html
/usr/share/doc/pocketsphinx/html/structacmod__s.html
/usr/share/doc/pocketsphinx/html/structastar__seg__s.html
/usr/share/doc/pocketsphinx/html/structbestbp__rc__s.html
/usr/share/doc/pocketsphinx/html/structbin__mdef__s.html
/usr/share/doc/pocketsphinx/html/structblkarray__list__s.html
/usr/share/doc/pocketsphinx/html/structbptbl__s.html
/usr/share/doc/pocketsphinx/html/structbptbl__seg__s.html
/usr/share/doc/pocketsphinx/html/structcand__sf__t.html
/usr/share/doc/pocketsphinx/html/structcd__tree__s.html
/usr/share/doc/pocketsphinx/html/structchan__s.html
/usr/share/doc/pocketsphinx/html/structciphone__t.html
/usr/share/doc/pocketsphinx/html/structdag__seg__s.html
/usr/share/doc/pocketsphinx/html/structdict2pid__t.html
/usr/share/doc/pocketsphinx/html/structdict__t.html
/usr/share/doc/pocketsphinx/html/structdictword__t.html
/usr/share/doc/pocketsphinx/html/structfsg__glist__linklist__t.html
/usr/share/doc/pocketsphinx/html/structfsg__hist__entry__s.html
/usr/share/doc/pocketsphinx/html/structfsg__history__s.html
/usr/share/doc/pocketsphinx/html/structfsg__lextree__s.html
/usr/share/doc/pocketsphinx/html/structfsg__pnode__ctxt__t.html
/usr/share/doc/pocketsphinx/html/structfsg__pnode__s.html
/usr/share/doc/pocketsphinx/html/structfsg__search__s.html
/usr/share/doc/pocketsphinx/html/structfsg__seg__s.html
/usr/share/doc/pocketsphinx/html/structgauden__dist__t.html
/usr/share/doc/pocketsphinx/html/structgauden__t.html
/usr/share/doc/pocketsphinx/html/structhmm__context__s.html
/usr/share/doc/pocketsphinx/html/structhmm__context__t.html
/usr/share/doc/pocketsphinx/html/structhmm__s.html
/usr/share/doc/pocketsphinx/html/structhmm__t.html
/usr/share/doc/pocketsphinx/html/structlast__ltrans__t.html
/usr/share/doc/pocketsphinx/html/structlastphn__cand__s.html
/usr/share/doc/pocketsphinx/html/structlatlink__list__s.html
/usr/share/doc/pocketsphinx/html/structmdef__entry__s.html
/usr/share/doc/pocketsphinx/html/structmdef__t.html
/usr/share/doc/pocketsphinx/html/structms__mgau__model__t.html
/usr/share/doc/pocketsphinx/html/structms__mgau__t.html
/usr/share/doc/pocketsphinx/html/structngram__search__s.html
/usr/share/doc/pocketsphinx/html/structngram__search__stats__s.html
/usr/share/doc/pocketsphinx/html/structph__lc__s.html
/usr/share/doc/pocketsphinx/html/structph__lc__t.html
/usr/share/doc/pocketsphinx/html/structph__rc__s.html
/usr/share/doc/pocketsphinx/html/structph__rc__t.html
/usr/share/doc/pocketsphinx/html/structphone__loop__renorm__s.html
/usr/share/doc/pocketsphinx/html/structphone__loop__s.html
/usr/share/doc/pocketsphinx/html/structphone__loop__search__s.html
/usr/share/doc/pocketsphinx/html/structphone__t.html
/usr/share/doc/pocketsphinx/html/structps__alignment__entry__s.html
/usr/share/doc/pocketsphinx/html/structps__alignment__iter__s.html
/usr/share/doc/pocketsphinx/html/structps__alignment__s.html
/usr/share/doc/pocketsphinx/html/structps__alignment__vector__s.html
/usr/share/doc/pocketsphinx/html/structps__astar__s.html
/usr/share/doc/pocketsphinx/html/structps__decoder__s.html
/usr/share/doc/pocketsphinx/html/structps__latlink__s.html
/usr/share/doc/pocketsphinx/html/structps__latnode__s.html
/usr/share/doc/pocketsphinx/html/structps__latpath__s.html
/usr/share/doc/pocketsphinx/html/structps__lattice__s.html
/usr/share/doc/pocketsphinx/html/structps__mgau__s.html
/usr/share/doc/pocketsphinx/html/structps__mgaufuncs__s.html
/usr/share/doc/pocketsphinx/html/structps__mllr__s.html
/usr/share/doc/pocketsphinx/html/structps__search__s.html
/usr/share/doc/pocketsphinx/html/structps__searchfuncs__s.html
/usr/share/doc/pocketsphinx/html/structps__seg__s.html
/usr/share/doc/pocketsphinx/html/structps__segfuncs__s.html
/usr/share/doc/pocketsphinx/html/structptm__fast__eval__s.html
/usr/share/doc/pocketsphinx/html/structptm__mgau__s.html
/usr/share/doc/pocketsphinx/html/structptm__topn__s.html
/usr/share/doc/pocketsphinx/html/structroot__chan__s.html
/usr/share/doc/pocketsphinx/html/structs2__semi__mgau__s.html
/usr/share/doc/pocketsphinx/html/structsenone__t.html
/usr/share/doc/pocketsphinx/html/structstate__align__search__s.html
/usr/share/doc/pocketsphinx/html/structtmat__t.html
/usr/share/doc/pocketsphinx/html/structvqFeature__s.html
/usr/share/doc/pocketsphinx/html/structxwdssid__t.html
/usr/share/doc/pocketsphinx/html/dir_d44c64559bbebec7f509842c48db8b23.html
/usr/share/doc/pocketsphinx/html/dir_8d034a1e03e98d9b7ac467250bbebdea.html
/usr/share/doc/pocketsphinx/html/dir_68267d1309a1af8e8297ef4c3efbcdba.html
/usr/share/doc/pocketsphinx/html/index.html
/usr/share/doc/pocketsphinx/html/annotated.html
/usr/share/doc/pocketsphinx/html/classes.html
/usr/share/doc/pocketsphinx/html/functions.html
/usr/share/doc/pocketsphinx/html/functions_b.html
/usr/share/doc/pocketsphinx/html/functions_c.html
/usr/share/doc/pocketsphinx/html/functions_d.html
/usr/share/doc/pocketsphinx/html/functions_e.html
/usr/share/doc/pocketsphinx/html/functions_f.html
/usr/share/doc/pocketsphinx/html/functions_g.html
/usr/share/doc/pocketsphinx/html/functions_h.html
/usr/share/doc/pocketsphinx/html/functions_i.html
/usr/share/doc/pocketsphinx/html/functions_j.html
/usr/share/doc/pocketsphinx/html/functions_l.html
/usr/share/doc/pocketsphinx/html/functions_m.html
/usr/share/doc/pocketsphinx/html/functions_n.html
/usr/share/doc/pocketsphinx/html/functions_o.html
/usr/share/doc/pocketsphinx/html/functions_p.html
/usr/share/doc/pocketsphinx/html/functions_q.html
/usr/share/doc/pocketsphinx/html/functions_r.html
/usr/share/doc/pocketsphinx/html/functions_s.html
/usr/share/doc/pocketsphinx/html/functions_t.html
/usr/share/doc/pocketsphinx/html/functions_u.html
/usr/share/doc/pocketsphinx/html/functions_v.html
/usr/share/doc/pocketsphinx/html/functions_w.html
/usr/share/doc/pocketsphinx/html/functions_vars.html
/usr/share/doc/pocketsphinx/html/functions_vars_b.html
/usr/share/doc/pocketsphinx/html/functions_vars_c.html
/usr/share/doc/pocketsphinx/html/functions_vars_d.html
/usr/share/doc/pocketsphinx/html/functions_vars_e.html
/usr/share/doc/pocketsphinx/html/functions_vars_f.html
/usr/share/doc/pocketsphinx/html/functions_vars_g.html
/usr/share/doc/pocketsphinx/html/functions_vars_h.html
/usr/share/doc/pocketsphinx/html/functions_vars_i.html
/usr/share/doc/pocketsphinx/html/functions_vars_j.html
/usr/share/doc/pocketsphinx/html/functions_vars_l.html
/usr/share/doc/pocketsphinx/html/functions_vars_m.html
/usr/share/doc/pocketsphinx/html/functions_vars_n.html
/usr/share/doc/pocketsphinx/html/functions_vars_o.html
/usr/share/doc/pocketsphinx/html/functions_vars_p.html
/usr/share/doc/pocketsphinx/html/functions_vars_q.html
/usr/share/doc/pocketsphinx/html/functions_vars_r.html
/usr/share/doc/pocketsphinx/html/functions_vars_s.html
/usr/share/doc/pocketsphinx/html/functions_vars_t.html
/usr/share/doc/pocketsphinx/html/functions_vars_u.html
/usr/share/doc/pocketsphinx/html/functions_vars_v.html
/usr/share/doc/pocketsphinx/html/functions_vars_w.html
/usr/share/doc/pocketsphinx/html/files.html
/usr/share/doc/pocketsphinx/html/globals.html
/usr/share/doc/pocketsphinx/html/globals_b.html
/usr/share/doc/pocketsphinx/html/globals_c.html
/usr/share/doc/pocketsphinx/html/globals_d.html
/usr/share/doc/pocketsphinx/html/globals_f.html
/usr/share/doc/pocketsphinx/html/globals_g.html
/usr/share/doc/pocketsphinx/html/globals_h.html
/usr/share/doc/pocketsphinx/html/globals_l.html
/usr/share/doc/pocketsphinx/html/globals_m.html
/usr/share/doc/pocketsphinx/html/globals_n.html
/usr/share/doc/pocketsphinx/html/globals_p.html
/usr/share/doc/pocketsphinx/html/globals_r.html
/usr/share/doc/pocketsphinx/html/globals_s.html
/usr/share/doc/pocketsphinx/html/globals_t.html
/usr/share/doc/pocketsphinx/html/globals_w.html
/usr/share/doc/pocketsphinx/html/globals_func.html
/usr/share/doc/pocketsphinx/html/globals_func_b.html
/usr/share/doc/pocketsphinx/html/globals_func_c.html
/usr/share/doc/pocketsphinx/html/globals_func_d.html
/usr/share/doc/pocketsphinx/html/globals_func_f.html
/usr/share/doc/pocketsphinx/html/globals_func_g.html
/usr/share/doc/pocketsphinx/html/globals_func_h.html
/usr/share/doc/pocketsphinx/html/globals_func_l.html
/usr/share/doc/pocketsphinx/html/globals_func_m.html
/usr/share/doc/pocketsphinx/html/globals_func_n.html
/usr/share/doc/pocketsphinx/html/globals_func_p.html
/usr/share/doc/pocketsphinx/html/globals_func_s.html
/usr/share/doc/pocketsphinx/html/globals_func_t.html
/usr/share/doc/pocketsphinx/html/globals_type.html
/usr/share/doc/pocketsphinx/html/globals_enum.html
/usr/share/doc/pocketsphinx/html/globals_eval.html
/usr/share/doc/pocketsphinx/html/globals_defs.html
/usr/share/doc/pocketsphinx/html/navtree.js
/usr/share/doc/pocketsphinx/html/annotated.js
/usr/share/doc/pocketsphinx/html/structacmod__s.js
/usr/share/doc/pocketsphinx/html/structastar__seg__s.js
/usr/share/doc/pocketsphinx/html/structbestbp__rc__s.js
/usr/share/doc/pocketsphinx/html/structbin__mdef__s.js
/usr/share/doc/pocketsphinx/html/structblkarray__list__s.js
/usr/share/doc/pocketsphinx/html/structbptbl__s.js
/usr/share/doc/pocketsphinx/html/structbptbl__seg__s.js
/usr/share/doc/pocketsphinx/html/structcand__sf__t.js
/usr/share/doc/pocketsphinx/html/structcd__tree__s.js
/usr/share/doc/pocketsphinx/html/structchan__s.js
/usr/share/doc/pocketsphinx/html/structciphone__t.js
/usr/share/doc/pocketsphinx/html/structdag__seg__s.js
/usr/share/doc/pocketsphinx/html/structdict2pid__t.js
/usr/share/doc/pocketsphinx/html/structdict__t.js
/usr/share/doc/pocketsphinx/html/structdictword__t.js
/usr/share/doc/pocketsphinx/html/structfsg__glist__linklist__t.js
/usr/share/doc/pocketsphinx/html/structfsg__hist__entry__s.js
/usr/share/doc/pocketsphinx/html/structfsg__history__s.js
/usr/share/doc/pocketsphinx/html/structfsg__lextree__s.js
/usr/share/doc/pocketsphinx/html/structfsg__pnode__ctxt__t.js
/usr/share/doc/pocketsphinx/html/structfsg__pnode__s.js
/usr/share/doc/pocketsphinx/html/structfsg__search__s.js
/usr/share/doc/pocketsphinx/html/structfsg__seg__s.js
/usr/share/doc/pocketsphinx/html/structgauden__dist__t.js
/usr/share/doc/pocketsphinx/html/structgauden__t.js
/usr/share/doc/pocketsphinx/html/structhmm__context__s.js
/usr/share/doc/pocketsphinx/html/structhmm__s.js
/usr/share/doc/pocketsphinx/html/structlast__ltrans__t.js
/usr/share/doc/pocketsphinx/html/structlastphn__cand__s.js
/usr/share/doc/pocketsphinx/html/structlatlink__list__s.js
/usr/share/doc/pocketsphinx/html/structmdef__entry__s.js
/usr/share/doc/pocketsphinx/html/structmdef__t.js
/usr/share/doc/pocketsphinx/html/structms__mgau__model__t.js
/usr/share/doc/pocketsphinx/html/structngram__search__s.js
/usr/share/doc/pocketsphinx/html/structngram__search__stats__s.js
/usr/share/doc/pocketsphinx/html/structph__lc__s.js
/usr/share/doc/pocketsphinx/html/structph__rc__s.js
/usr/share/doc/pocketsphinx/html/structphone__loop__renorm__s.js
/usr/share/doc/pocketsphinx/html/structphone__loop__s.js
/usr/share/doc/pocketsphinx/html/structphone__loop__search__s.js
/usr/share/doc/pocketsphinx/html/structphone__t.js
/usr/share/doc/pocketsphinx/html/structps__alignment__entry__s.js
/usr/share/doc/pocketsphinx/html/structps__alignment__iter__s.js
/usr/share/doc/pocketsphinx/html/structps__alignment__s.js
/usr/share/doc/pocketsphinx/html/structps__alignment__vector__s.js
/usr/share/doc/pocketsphinx/html/structps__astar__s.js
/usr/share/doc/pocketsphinx/html/structps__decoder__s.js
/usr/share/doc/pocketsphinx/html/structps__latlink__s.js
/usr/share/doc/pocketsphinx/html/structps__latnode__s.js
/usr/share/doc/pocketsphinx/html/structps__latpath__s.js
/usr/share/doc/pocketsphinx/html/structps__lattice__s.js
/usr/share/doc/pocketsphinx/html/structps__mgau__s.js
/usr/share/doc/pocketsphinx/html/structps__mgaufuncs__s.js
/usr/share/doc/pocketsphinx/html/structps__mllr__s.js
/usr/share/doc/pocketsphinx/html/structps__search__s.js
/usr/share/doc/pocketsphinx/html/structps__searchfuncs__s.js
/usr/share/doc/pocketsphinx/html/structps__seg__s.js
/usr/share/doc/pocketsphinx/html/structps__segfuncs__s.js
/usr/share/doc/pocketsphinx/html/structptm__fast__eval__s.js
/usr/share/doc/pocketsphinx/html/structptm__mgau__s.js
/usr/share/doc/pocketsphinx/html/structptm__topn__s.js
/usr/share/doc/pocketsphinx/html/structroot__chan__s.js
/usr/share/doc/pocketsphinx/html/structs2__semi__mgau__s.js
/usr/share/doc/pocketsphinx/html/structsenone__t.js
/usr/share/doc/pocketsphinx/html/structstate__align__search__s.js
/usr/share/doc/pocketsphinx/html/structtmat__t.js
/usr/share/doc/pocketsphinx/html/structvqFeature__s.js
/usr/share/doc/pocketsphinx/html/structxwdssid__t.js
/usr/share/doc/pocketsphinx/html/functions_dup.js
/usr/share/doc/pocketsphinx/html/functions_vars.js
/usr/share/doc/pocketsphinx/html/files.js
/usr/share/doc/pocketsphinx/html/dir_d44c64559bbebec7f509842c48db8b23.js
/usr/share/doc/pocketsphinx/html/fsg__set_8h.js
/usr/share/doc/pocketsphinx/html/pocketsphinx_8h.js
/usr/share/doc/pocketsphinx/html/ps__lattice_8h.js
/usr/share/doc/pocketsphinx/html/ps__mllr_8h.js
/usr/share/doc/pocketsphinx/html/dir_68267d1309a1af8e8297ef4c3efbcdba.js
/usr/share/doc/pocketsphinx/html/dir_8d034a1e03e98d9b7ac467250bbebdea.js
/usr/share/doc/pocketsphinx/html/acmod_8c.js
/usr/share/doc/pocketsphinx/html/acmod_8h.js
/usr/share/doc/pocketsphinx/html/bin__mdef_8h.js
/usr/share/doc/pocketsphinx/html/dict_8h.js
/usr/share/doc/pocketsphinx/html/dict2pid_8c.js
/usr/share/doc/pocketsphinx/html/dict2pid_8h.js
/usr/share/doc/pocketsphinx/html/fsg__lextree_8c.js
/usr/share/doc/pocketsphinx/html/hmm_8h.js
/usr/share/doc/pocketsphinx/html/mdef_8h.js
/usr/share/doc/pocketsphinx/html/ms__gauden_8h.js
/usr/share/doc/pocketsphinx/html/ms__mgau_8h.js
/usr/share/doc/pocketsphinx/html/ms__senone_8h.js
/usr/share/doc/pocketsphinx/html/ngram__search_8c.js
/usr/share/doc/pocketsphinx/html/ngram__search_8h.js
/usr/share/doc/pocketsphinx/html/ngram__search__fwdflat_8c.js
/usr/share/doc/pocketsphinx/html/ngram__search__fwdflat_8h.js
/usr/share/doc/pocketsphinx/html/ngram__search__fwdtree_8c.js
/usr/share/doc/pocketsphinx/html/ngram__search__fwdtree_8h.js
/usr/share/doc/pocketsphinx/html/phone__loop__search_8h.js
/usr/share/doc/pocketsphinx/html/pocketsphinx__internal_8h.js
/usr/share/doc/pocketsphinx/html/ps__alignment_8c.js
/usr/share/doc/pocketsphinx/html/ps__alignment_8h.js
/usr/share/doc/pocketsphinx/html/ps__lattice_8c.js
/usr/share/doc/pocketsphinx/html/ps__lattice__internal_8h.js
/usr/share/doc/pocketsphinx/html/ps__mllr_8c.js
/usr/share/doc/pocketsphinx/html/ptm__mgau_8h.js
/usr/share/doc/pocketsphinx/html/s3types_8h.js
/usr/share/doc/pocketsphinx/html/state__align__search_8c.js
/usr/share/doc/pocketsphinx/html/state__align__search_8h.js
/usr/share/doc/pocketsphinx/html/tied__mgau__common_8h.js
/usr/share/doc/pocketsphinx/html/tmat_8h.js
/usr/share/doc/pocketsphinx/html/globals_dup.js
/usr/share/doc/pocketsphinx/html/globals_func.js
/usr/share/doc/pocketsphinx/html/navtreeindex0.js
/usr/share/doc/pocketsphinx/html/navtreeindex1.js
/usr/share/doc/pocketsphinx/html/navtreeindex2.js
/usr/share/doc/pocketsphinx/html/navtreeindex3.js
/usr/share/doc/pocketsphinx/html/navtreeindex4.js
/usr/share/doc/pocketsphinx/html/navtreeindex5.js
/usr/share/doc/pocketsphinx/html/navtreeindex6.js
/usr/share/doc/pocketsphinx/html/resize.js
/usr/share/doc/pocketsphinx/html/navtree.css
/usr/share/doc/pocketsphinx/copyright
/usr/share/doc/pocketsphinx/NEWS.gz
/usr/share/doc/pocketsphinx/changelog.Debian.gz
/usr/share/doc/pocketsphinx/changelog.gz
/usr/share/man
/usr/share/man/man1
/usr/share/man/man1/pocketsphinx_batch.1.gz
/usr/share/man/man1/pocketsphinx_continuous.1.gz
/usr/share/man/man1/pocketsphinx_mdef_convert.1.gz
/usr/share/doc/pocketsphinx/html/jquery.js

Do you want me to install python-pocketsphinx instead?

Somehow jasper doesn't recognise the installation - is there a hardcoded path that I need to modify?

pi@ashiya:~/jasper $ ./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: '/home/pi/.jasper/profile.yml'
DEBUG:client.diagnose:Checking python import 'pocketsphinx'...
DEBUG:client.diagnose:Python import 'pocketsphinx' not found
ERROR:root:Error occured!
Traceback (most recent call last):
  File "./jasper.py", line 143, in <module>
    app = Jasper()
  File "./jasper.py", line 88, in __init__
    stt_engine_class = stt.get_engine_by_slug(stt_engine_slug)
  File "/home/pi/jasper/client/stt.py", line 648, in get_engine_by_slug
    "dependencies, etc.)") % slug)
ValueError: STT engine 'sphinx' is not available (due to missing dependencies, missing dependencies, etc.)
G10DRAS commented 8 years ago

Try sudo apt-get install python-pocketsphinx

ashishbajaj99 commented 8 years ago

Thanks a lot that works.... The website needs serious updates to procedures...

ShunJianLee commented 8 years ago

@ashishbajaj99 @G10DRAS Hello, may i know have you seen this error before?

No handlers could be found for logger "cmuclmtk"


G10DRAS commented 8 years ago

Did you installed CMUCLMTK ? If not then installed it.

rkbilla commented 8 years ago

`mq(06:48:32)-(~)->~/jasper/jasper.py


Getting this error tryed all but no use plz help me out on this

G10DRAS commented 8 years ago

Check if Phonetisaurus is installed along with its dependencies, or try re-installing Phonetisaurus.

rkbilla commented 8 years ago

Hi @G10DRAS wen i try to install it saying

pip install pocketsphinx Requirement already satisfied (use --upgrade to upgrade): pocketsphinx in /usr/local/lib/python2.7/dist-packages

wen i run the jasper it saying

image

ShunJianLee commented 7 years ago

@ashishbajaj99 Hello bro, can you tell me how to solve the STT engine found slug issues?

ShunJianLee commented 7 years ago

Hello bro, can you tell me how to solve this issues? Thanks @rkbilla @G10DRAS

pi@raspberrypi:~ $ /home/pi/jasper/jasper.py

JASPER - THE TALKING COMPUTER (c) 2015 Shubhro Saha, Charlie Marsh & Jan Holthuis \ *** WARNING:root:Network not connected. This may prevent Jasper from running properly. 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 91, in init stt_engine_class = stt.get_engine_by_slug(stt_engine_slug) File "/home/pi/jasper/client/stt.py", line 639, in get_engine_by_slug raise ValueError("No STT engine found for slug '%s'" % slug) ValueError: No STT engine found for slug 'pocketsphinx'

G10DRAS commented 7 years ago

You already posted here https://github.com/jasperproject/jasper-client/issues/557

h3 commented 7 years ago

For me the binary name of mkdfa was wrong on Ubuntu xenial (mkdfa instead of mkdfa.pl).

I created a symlink to it ant it started working:

$ ln -s $PWD/TRAINING/bin/julius-4.1.5-linuxbin/bin/mkdfa.pl /usr/bin/mkdfa.pl
yuva2229 commented 6 years ago

Iam just a beginner at this i have installed every required software to run jasper but wen i run it this error is coming


G10DRAS commented 6 years ago

If you read log carefully it will you all.

ScannerError: while scanning a simple key
in "/home/pi/.jasper/profile.yml", line 7, column 1
could not found expected ':'
in "/home/pi/.jasper/profile.yml", line 8, column 1
kshatriypiyush commented 5 years ago

it would be great if you can suggest any solution for this prob.


G10DRAS commented 5 years ago

Check the formatting in config file.

ghost commented 5 years ago

After all installation error with following message: Any solution for this?


G10DRAS commented 5 years ago

did you install espeak ?

ghost commented 5 years ago

Yes, I already install espeak and try it individually with command espeak "hello" and its work perfectly good. Any other suggestions please!

G10DRAS commented 5 years ago

Then check your config file formatting.

G10DRAS commented 5 years ago

too basic question !!