Code Monkey home page Code Monkey logo

Comments (7)

shbhrsaha avatar shbhrsaha commented on June 30, 2024

Please refer to the FAQ for the question "Why do I get a segmentation fault when running main.py?"... it's probably the result of not compiling the dictionary/language model at boot. Do report back if that's not the case!

from jasper-client.

ntoll avatar ntoll commented on June 30, 2024

I get this problem too. I see the dictionary.dic file in my client directory as the FAQ suggests I ought to. I have checked my crontab and the correct entry is there.

Here's the full log of the error:

ERROR: "ngram_model_arpa.c", line 466: File /usr/local/share/pocketsphinx/model/lm/languagemodel.lm not found
ERROR: "ngram_model_dmp.c", line 106: Dump file /usr/local/share/pocketsphinx/model/lm/languagemodel.lm not found
ERROR: "ngram_search.c", line 208: Failed to read language model file: /usr/local/share/pocketsphinx/model/lm/languagemodel.lm
Segmentation fault

Suggestions..?

from jasper-client.

binaryatlas avatar binaryatlas commented on June 30, 2024

the boot.py fix in the faq works but i had it in my cron but it did not fire.

from jasper-client.

ntoll avatar ntoll commented on June 30, 2024

Aha... I just ran the boot script manually and things seem to have worked.

from jasper-client.

binaryatlas avatar binaryatlas commented on June 30, 2024

I'm getting this on the boot.py

Traceback (most recent call last):
File "/home/pi/jasper/boot/boot.py", line 9, in
import vocabcompiler
File "/home/pi/jasper/boot/vocabcompiler.py", line 11, in
import modules
ImportError: No module named modules

from jasper-client.

ntoll avatar ntoll commented on June 30, 2024

That's because the command isn't being run from within the ~/jasper/client directory so "modules" isn't in the Python path.

from jasper-client.

binaryatlas avatar binaryatlas commented on June 30, 2024

got that but i still can not get it running. the last entry on screen is New email from Gmail Team.
New email from Gmail Team.
New email from Gmail Team.
New email from "Google+ team".
New email from YouTube.

from jasper-client.

Related Issues (20)

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. 📊📈🎉

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google ❤️ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.