• Recent
  • Tags
  • Unsolved
  • Solved
  • MagicMirror² Repository
  • Documentation
  • 3rd-Party-Modules
  • Donate
  • Discord
  • Register
  • Login
MagicMirror Forum
  • Recent
  • Tags
  • Unsolved
  • Solved
  • MagicMirror² Repository
  • Documentation
  • 3rd-Party-Modules
  • Donate
  • Discord
  • Register
  • Login
A New Chapter for MagicMirror: The Community Takes the Lead
Read the statement by Michael Teeuw here.

HotWords Module - Exception when saying "Magic Mirror"

Scheduled Pinned Locked Moved Unsolved Troubleshooting
3 Posts 2 Posters 1.0k Views 2 Watching
Loading More Posts
  • Oldest to Newest
  • Newest to Oldest
  • Most Votes
Reply
  • Reply as topic
Log in to reply
This topic has been deleted. Only users with topic management privileges can see it.
  • B Offline
    blee1997
    last edited by Jun 13, 2019, 6:23 AM

    Error message appears only when saying the key words to activate Google Assistant
    Error Message:

    Whoops! There was an uncaught exception...
    { Error: spawn ENOMEM
        at ChildProcess.spawn (internal/child_process.js:357:11)
        at spawn (child_process.js:540:9)
        at LPCM16.start (/home/pi/MagicMirror/modules/MMM-Hotword/components/lpcm16.js:101:15)
        at Class.startListening (/home/pi/MagicMirror/modules/MMM-Hotword/node_helper.js:217:14)
        at Class.activate (/home/pi/MagicMirror/modules/MMM-Hotword/node_helper.js:175:10)
        at Class.socketNotificationReceived (/home/pi/MagicMirror/modules/MMM-Hotword/node_helper.js:72:16)
        at Socket.<anonymous> (/home/pi/MagicMirror/modules/node_modules/node_helper/index.js:113:11)
        at Socket.emit (events.js:182:13)
        at /home/pi/MagicMirror/node_modules/socket.io/lib/socket.js:528:12
        at process._tickCallback (internal/process/next_tick.js:61:11) errno: 'ENOMEM', code: 'ENOMEM', syscall: 'spawn' }
    

    I am running MagicMirror2 on a Raspberry Pi 3B+

    ? 1 Reply Last reply Jun 13, 2019, 7:06 AM Reply Quote 0
    • ? Offline
      A Former User @blee1997
      last edited by Jun 13, 2019, 7:06 AM

      @blee1997
      Error means Memory shortage. If there is no memory issue from other modules, add afterRecordLimit:0 to your config for Hotword. (See the docs for configuration)

      B 1 Reply Last reply Jun 13, 2019, 8:31 PM Reply Quote 1
      • B Offline
        blee1997 @Guest
        last edited by Jun 13, 2019, 8:31 PM

        @Sean I did a clean install of MM again, added AssistantMk2 and Hotwords. Then added the line to the Hotwords config and the error still occurs.

        1 Reply Last reply Reply Quote 0
        • 1 / 1
        1 / 1
        • First post
          3/3
          Last post
        Enjoying MagicMirror? Please consider a donation!
        MagicMirror created by Michael Teeuw.
        Forum managed by Sam, technical setup by Karsten.
        This forum is using NodeBB as its core | Contributors
        Contact | Privacy Policy