2.5.5 / deb package - Raven does not load

Hello,

I’m facing the following error when trying to load raven :

Aug 04 23:20:46 prototo bash[3649]: ImportError:
Aug 04 23:20:46 prototo bash[3649]: IMPORTANT: PLEASE READ THIS FOR ADVICE ON HOW TO SOLVE THIS ISSUE!
Aug 04 23:20:46 prototo bash[3649]: Importing the numpy C-extensions failed. This error can happen for
Aug 04 23:20:46 prototo bash[3649]: many reasons, often due to issues with your setup or how NumPy was
Aug 04 23:20:46 prototo bash[3649]: installed.
Aug 04 23:20:46 prototo bash[3649]: We have compiled some common reasons and troubleshooting tips at:
Aug 04 23:20:46 prototo bash[3649]: https://numpy.org/devdocs/user/troubleshooting-importerror.html
Aug 04 23:20:46 prototo bash[3649]: Please note and check the following:
Aug 04 23:20:46 prototo bash[3649]: * The Python version is: Python3.7 from “/usr/lib/rhasspy/rhasspy/rhasspy”
Aug 04 23:20:46 prototo bash[3649]: * The NumPy version is: “1.19.1”
Aug 04 23:20:46 prototo bash[3649]: and make sure that they are the versions you expect.
Aug 04 23:20:46 prototo bash[3649]: Please carefully study the documentation linked above for further help.
Aug 04 23:20:46 prototo bash[3649]: Original error was: libgfortran-2e0d59d6.so.5.0.0: ELF load command address/offset not properly aligned
Aug 04 23:20:46 prototo bash[3649]: 2020-08-04 23:20:46,477 INFO exited: wake_word (exit status 255; not expected)
Aug 04 23:20:47 prototo bash[3649]: 2020-08-04 23:20:47,479 INFO gave up: wake_word entered FATAL state, too many start retries too quickly

:frowning_face: (was so excited to try to record my custom word :innocent:)

Grrrrrr… I’ve been fighting with PyInstaller and numpy for days now. Was this on a Pi or a desktop/laptop?

Sorry I should have told it… the bug is on pc (arch amd64).

On pi 3B+ (with raspbian,so arch armhf) it works like a charm :slight_smile: (excepting if I want to change the id from default to something else, but it is another story)

Updated the amd64 Debian package. Hopefully working now :+1:

1 Like

Thank you @synesthesiam, it works like a charm !

Did you manage to make raven use multiple hotwords as mentionned in your tuto, changing the hotword id ?

For me (on armhf), records are successful and the folder is created with the hotword_id, but only the hotword recorded in the “default” folder is recognized after restarting :

[DEBUG:2020-08-06 18:42:48,381] rhasspywake_raven_hermes: Averaging 3 templates for /home/rhasspy-satellite/.config/rhasspy/profiles/fr/raven/default

But no same line for the other directory that was created when I recorded three others samples for another ID

I forgot an important step in the tutorial (will fix it soon). In Advanced, add something like this to your profile:

{
  "raven": {
    "keywords": {
      "default": { },
      "other1": { },
      "other2": { }
    }
  }
}

where “other1” and “other2” are other keyword ids. You can override settings there for each one or leave them as empty { } to use the defaults.

3 Likes