fossasia / susi_linux

Hardware for SUSI AI https://susi.ai
Apache License 2.0
1.6k stars 149 forks source link

SUSI crashing due to PocketSphinx in offline mode #525

Open sansyrox opened 5 years ago

sansyrox commented 5 years ago

Describe the bug

SUSI crashing due to PocketSphinx in offline mode.

To Reproduce

Steps to reproduce the behavior:

  1. Switch to offline mode
  2. SUSI will switch to PocketSphinx
  3. See error

Expected behavior

Renaming the directory files used in the code

Screenshots

If applicable, add screenshots to help explain your problem.

Desktop (please complete the following information):

Smartphone (please complete the following information):

Additional context

Error log

Error: missing PocketSphinx language data directory: "/usr/local/lib/python3.6/dist-packages/speech_recognition/pocketsphinx-data/en_US" Internet Connection not available

@himanshupathak21061998 , you can take a look here.

norbusan commented 5 years ago

See my comment here on what the reason is and how to fix it https://github.com/fossasia/susi_linux/issues/501#issuecomment-533762197