Hey Ada crashes

Hi!

I’ve tried to bring Hey Ada to work on my ODROID N2+ with 4GB but it crashes.

[s6-init] making user provided files available at /var/run/s6/etc...exited 0.
[s6-init] ensuring user provided files have correct perms...exited 0.
[fix-attrs.d] applying ownership & permissions fixes...
[fix-attrs.d] done.
[cont-init.d] executing container initialization scripts...
[cont-init.d] done.
[services.d] starting services
[services.d] done.
Traceback (most recent call last):
  File "/usr/lib/python3.9/runpy.py", line 197, in _run_module_as_main
    return _run_code(code, main_globals, None,
  File "/usr/lib/python3.9/runpy.py", line 87, in _run_code
    exec(code, run_globals)
  File "/usr/local/lib/python3.9/dist-packages/ada/__main__.py", line 47, in <module>
    main()
  File "/usr/local/lib/python3.9/dist-packages/click/core.py", line 764, in __call__
    return self.main(*args, **kwargs)
  File "/usr/local/lib/python3.9/dist-packages/click/core.py", line 717, in main
    rv = self.invoke(ctx)
  File "/usr/local/lib/python3.9/dist-packages/click/core.py", line 956, in invoke
    return ctx.invoke(self.callback, **ctx.params)
  File "/usr/local/lib/python3.9/dist-packages/click/core.py", line 555, in invoke
    return callback(*args, **kwargs)
  File "/usr/local/lib/python3.9/dist-packages/ada/__main__.py", line 41, in main
    ada = Ada(options)
  File "/usr/local/lib/python3.9/dist-packages/ada/__init__.py", line 21, in __init__
    self.hotword: Hotword = Hotword()
  File "/usr/local/lib/python3.9/dist-packages/ada/hotword.py", line 21, in __init__
    self.porcupine = loader.load()
  File "/usr/local/lib/python3.9/dist-packages/ada/hotword.py", line 72, in load
    return Porcupine(
  File "/usr/local/lib/python3.9/dist-packages/pvporcupine/binding/python/porcupine.py", line 69, in __init__
    library = cdll.LoadLibrary(library_path)
  File "/usr/lib/python3.9/ctypes/__init__.py", line 452, in LoadLibrary
    return self._dlltype(name)
  File "/usr/lib/python3.9/ctypes/__init__.py", line 374, in __init__
    self._handle = _dlopen(self._name, mode)
OSError: /usr/local/lib/python3.9/dist-packages/pvporcupine/lib/raspberry-pi/cortex-a53/libpv_porcupine.so: wrong ELF class: ELFCLASS32
[cont-finish.d] executing container finish scripts...
[cont-finish.d] done.
[s6-finish] waiting for services.
[s6-finish] sending all processes the TERM signal.
[s6-finish] sending all processes the KILL signal and exiting.

Really no reactions of the dev’s?!

As far as I (not a developer) can see the Ada add-on is not (yet) compatible with the aarch64 architecture of the Odroid N2+.
But you might already have figured that out.
BR

1 Like

I had the same problem on my raspberry pi 3b running home assistant os.

Same problem, running home assistant OS 9.0 on rp4

So like Is this not working yet?

Because I have the same issue rn

Hey Ada is very outdated. Use Piper and Whisper instead or Rhaspy. Genie is also a mentionable solution.

Which is the easiest to install and how do I install it and make it work with a USB microphone i got on Amazon?

Right but after setting it up, it still does work. I can get it to do things with the assist button, but it will say it’s listening and then just not do anything, and never stop listening or perform an action. Like it clearly is set up but just does not work. I have to restart everything in the Wyoming protocol to get it “working” again but it just doesn’t do anything anyway.

Whisper log

‘’
ERROR:asyncio:Task exception was never retrieved
future: <Task finished name=‘Task-13394’ coro=<AsyncEventHandler.run() done, defined at /usr/local/lib/python3.9/dist-packages/wyoming/server.py:28> exception=ConnectionResetError(‘Connection lost’)>
Traceback (most recent call last):
File “/usr/local/lib/python3.9/dist-packages/wyoming/server.py”, line 35, in run
if not (await self.handle_event(event)):
File “/usr/local/lib/python3.9/dist-packages/wyoming_faster_whisper/handler.py”, line 45, in handle_event
await self.write_event(self.wyoming_info_event)
File “/usr/local/lib/python3.9/dist-packages/wyoming/server.py”, line 26, in write_event
await async_write_event(event, self.writer)
File “/usr/local/lib/python3.9/dist-packages/wyoming/event.py”, line 114, in async_write_event
await writer.drain()
File “/usr/lib/python3.9/asyncio/streams.py”, line 387, in drain
await self._protocol._drain_helper()
File “/usr/lib/python3.9/asyncio/streams.py”, line 190, in _drain_helper
raise ConnectionResetError(‘Connection lost’)
ConnectionResetError: Connection lost
INFO:wyoming_faster_whisper.handler:
ERROR:asyncio:Task exception was never retrieved
future: <Task finished name=‘Task-13667’ coro=<AsyncEventHandler.run() done, defined at /usr/local/lib/python3.9/dist-packages/wyoming/server.py:28> exception=ConnectionResetError(‘Connection lost’)>
Traceback (most recent call last):
File “/usr/local/lib/python3.9/dist-packages/wyoming/server.py”, line 35, in run
if not (await self.handle_event(event)):
File “/usr/local/lib/python3.9/dist-packages/wyoming_faster_whisper/handler.py”, line 45, in handle_event
await self.write_event(self.wyoming_info_event)
File “/usr/local/lib/python3.9/dist-packages/wyoming/server.py”, line 26, in write_event
await async_write_event(event, self.writer)
File “/usr/local/lib/python3.9/dist-packages/wyoming/event.py”, line 114, in async_write_event
await writer.drain()
File “/usr/lib/python3.9/asyncio/streams.py”, line 387, in drain
await self._protocol._drain_helper()
File “/usr/lib/python3.9/asyncio/streams.py”, line 190, in _drain_helper
raise ConnectionResetError(‘Connection lost’)
ConnectionResetError: Connection lost
INFO:wyoming_faster_whisper.handler:
INFO:wyoming_faster_whisper.handler:
ERROR:asyncio:Task exception was never retrieved
future: <Task finished name=‘Task-13759’ coro=<AsyncEventHandler.run() done, defined at /usr/local/lib/python3.9/dist-packages/wyoming/server.py:28> exception=ConnectionResetError(‘Connection lost’)>
Traceback (most recent call last):
File “/usr/local/lib/python3.9/dist-packages/wyoming/server.py”, line 35, in run
if not (await self.handle_event(event)):
File “/usr/local/lib/python3.9/dist-packages/wyoming_faster_whisper/handler.py”, line 45, in handle_event
await self.write_event(self.wyoming_info_event)
File “/usr/local/lib/python3.9/dist-packages/wyoming/server.py”, line 26, in write_event
await async_write_event(event, self.writer)
File “/usr/local/lib/python3.9/dist-packages/wyoming/event.py”, line 114, in async_write_event
await writer.drain()
File “/usr/lib/python3.9/asyncio/streams.py”, line 387, in drain
await self._protocol._drain_helper()
File “/usr/lib/python3.9/asyncio/streams.py”, line 190, in _drain_helper
raise ConnectionResetError(‘Connection lost’)
ConnectionResetError: Connection lost
ERROR:asyncio:Task exception was never retrieved
future: <Task finished name=‘Task-13760’ coro=<AsyncEventHandler.run() done, defined at /usr/local/lib/python3.9/dist-packages/wyoming/server.py:28> exception=ConnectionResetError(‘Connection lost’)>
Traceback (most recent call last):
File “/usr/local/lib/python3.9/dist-packages/wyoming/server.py”, line 35, in run
if not (await self.handle_event(event)):
File “/usr/local/lib/python3.9/dist-packages/wyoming_faster_whisper/handler.py”, line 45, in handle_event
await self.write_event(self.wyoming_info_event)
File “/usr/local/lib/python3.9/dist-packages/wyoming/server.py”, line 26, in write_event
await async_write_event(event, self.writer)
File “/usr/local/lib/python3.9/dist-packages/wyoming/event.py”, line 114, in async_write_event
await writer.drain()
File “/usr/lib/python3.9/asyncio/streams.py”, line 387, in drain
await self._protocol._drain_helper()
File “/usr/lib/python3.9/asyncio/streams.py”, line 190, in _drain_helper
raise ConnectionResetError(‘Connection lost’)
ConnectionResetError: Connection lost
INFO:wyoming_faster_whisper.handler:
ERROR:asyncio:Task exception was never retrieved
future: <Task finished name=‘Task-14587’ coro=<AsyncEventHandler.run() done, defined at /usr/local/lib/python3.9/dist-packages/wyoming/server.py:28> exception=ConnectionResetError(‘Connection lost’)>
Traceback (most recent call last):
File “/usr/local/lib/python3.9/dist-packages/wyoming/server.py”, line 35, in run
if not (await self.handle_event(event)):
File “/usr/local/lib/python3.9/dist-packages/wyoming_faster_whisper/handler.py”, line 45, in handle_event
await self.write_event(self.wyoming_info_event)
File “/usr/local/lib/python3.9/dist-packages/wyoming/server.py”, line 26, in write_event
await async_write_event(event, self.writer)
File “/usr/local/lib/python3.9/dist-packages/wyoming/event.py”, line 114, in async_write_event
await writer.drain()
File “/usr/lib/python3.9/asyncio/streams.py”, line 387, in drain
await self._protocol._drain_helper()
File “/usr/lib/python3.9/asyncio/streams.py”, line 190, in _drain_helper
raise ConnectionResetError(‘Connection lost’)
ConnectionResetError: Connection lost
ERROR:asyncio:Task exception was never retrieved
future: <Task finished name=‘Task-14588’ coro=<AsyncEventHandler.run() done, defined at /usr/local/lib/python3.9/dist-packages/wyoming/server.py:28> exception=ConnectionResetError(‘Connection lost’)>
Traceback (most recent call last):
File “/usr/local/lib/python3.9/dist-packages/wyoming/server.py”, line 35, in run
if not (await self.handle_event(event)):
File “/usr/local/lib/python3.9/dist-packages/wyoming_faster_whisper/handler.py”, line 45, in handle_event
await self.write_event(self.wyoming_info_event)
File “/usr/local/lib/python3.9/dist-packages/wyoming/server.py”, line 26, in write_event
await async_write_event(event, self.writer)
File “/usr/local/lib/python3.9/dist-packages/wyoming/event.py”, line 114, in async_write_event
await writer.drain()
File “/usr/lib/python3.9/asyncio/streams.py”, line 387, in drain
await self._protocol._drain_helper()
File “/usr/lib/python3.9/asyncio/streams.py”, line 190, in _drain_helper
raise ConnectionResetError(‘Connection lost’)
ConnectionResetError: Connection lost
‘’

Piper logs

‘’
s6-rc: info: service s6rc-oneshot-runner: starting
s6-rc: info: service s6rc-oneshot-runner successfully started
s6-rc: info: service fix-attrs: starting
s6-rc: info: service fix-attrs successfully started
s6-rc: info: service legacy-cont-init: starting
s6-rc: info: service legacy-cont-init successfully started
s6-rc: info: service piper: starting
s6-rc: info: service piper successfully started
s6-rc: info: service discovery: starting
INFO:main:Ready
[00:25:16] INFO: Successfully send discovery information to Home Assistant.
s6-rc: info: service discovery successfully started
s6-rc: info: service legacy-services: starting
s6-rc: info: service legacy-services successfully started
‘’

Open wakeword

DEBUG:wyoming_openwakeword.handler:Client disconnected: 154660810819716
DEBUG:wyoming_openwakeword.handler:Client connected: 154692912718738
DEBUG:wyoming_openwakeword.handler:Sent info to client: 154692912718738
DEBUG:wyoming_openwakeword.handler:Client disconnected: 154692912718738
DEBUG:wyoming_openwakeword.handler:Client connected: 154724998809075
DEBUG:wyoming_openwakeword.handler:Sent info to client: 154724998809075
DEBUG:wyoming_openwakeword.handler:Client disconnected: 154724998809075
DEBUG:wyoming_openwakeword.handler:Client connected: 154757094498267
DEBUG:wyoming_openwakeword.handler:Sent info to client: 154757094498267
DEBUG:wyoming_openwakeword.handler:Client disconnected: 154757094498267
DEBUG:wyoming_openwakeword.handler:Client connected: 154789169913407
DEBUG:wyoming_openwakeword.handler:Sent info to client: 154789169913407
DEBUG:wyoming_openwakeword.handler:Client disconnected: 154789169913407
DEBUG:wyoming_openwakeword.handler:Client connected: 154821257514051
DEBUG:wyoming_openwakeword.handler:Sent info to client: 154821257514051
DEBUG:wyoming_openwakeword.handler:Client disconnected: 154821257514051
DEBUG:wyoming_openwakeword.handler:Client connected: 154853355661526
DEBUG:wyoming_openwakeword.handler:Sent info to client: 154853355661526
DEBUG:wyoming_openwakeword.handler:Client disconnected: 154853355661526
DEBUG:wyoming_openwakeword.handler:Client connected: 154885424145581
DEBUG:wyoming_openwakeword.handler:Sent info to client: 154885424145581
DEBUG:wyoming_openwakeword.handler:Client disconnected: 154885424145581
DEBUG:wyoming_openwakeword.handler:Client connected: 154917501454653
DEBUG:wyoming_openwakeword.handler:Sent info to client: 154917501454653
DEBUG:wyoming_openwakeword.handler:Client disconnected: 154917501454653
DEBUG:wyoming_openwakeword.handler:Client connected: 154949597628518
DEBUG:wyoming_openwakeword.handler:Sent info to client: 154949597628518
DEBUG:wyoming_openwakeword.handler:Client disconnected: 154949597628518
DEBUG:wyoming_openwakeword.handler:Client connected: 154981679805231
DEBUG:wyoming_openwakeword.handler:Sent info to client: 154981679805231
DEBUG:wyoming_openwakeword.handler:Client disconnected: 154981679805231
DEBUG:wyoming_openwakeword.handler:Client connected: 155013762083767
DEBUG:wyoming_openwakeword.handler:Sent info to client: 155013762083767
DEBUG:wyoming_openwakeword.handler:Client disconnected: 155013762083767
DEBUG:wyoming_openwakeword.handler:Client connected: 155045838440585
DEBUG:wyoming_openwakeword.handler:Sent info to client: 155045838440585
DEBUG:wyoming_openwakeword.handler:Client disconnected: 155045838440585
DEBUG:wyoming_openwakeword.handler:Client connected: 155077904525185
DEBUG:wyoming_openwakeword.handler:Sent info to client: 155077904525185
DEBUG:wyoming_openwakeword.handler:Client disconnected: 155077904525185
DEBUG:wyoming_openwakeword.handler:Client connected: 155109970072105
DEBUG:wyoming_openwakeword.handler:Sent info to client: 155109970072105
DEBUG:wyoming_openwakeword.handler:Client disconnected: 155109970072105
DEBUG:wyoming_openwakeword.handler:Client connected: 155142064185719
DEBUG:wyoming_openwakeword.handler:Sent info to client: 155142064185719
DEBUG:wyoming_openwakeword.handler:Client disconnected: 155142064185719
DEBUG:wyoming_openwakeword.handler:Client connected: 155174168594820
DEBUG:wyoming_openwakeword.handler:Sent info to client: 155174168594820
DEBUG:wyoming_openwakeword.handler:Client disconnected: 155174168594820
DEBUG:wyoming_openwakeword.handler:Client connected: 155206252210478
DEBUG:wyoming_openwakeword.handler:Sent info to client: 155206252210478
DEBUG:wyoming_openwakeword.handler:Client disconnected: 155206252210478
DEBUG:wyoming_openwakeword.handler:Client connected: 155238327754949
DEBUG:wyoming_openwakeword.handler:Sent info to client: 155238327754949
DEBUG:wyoming_openwakeword.handler:Client disconnected: 155238327754949
DEBUG:wyoming_openwakeword.handler:Client disconnected: 150956208164007
DEBUG:wyoming_openwakeword.handler:Client connected: 155257075292159
DEBUG:wyoming_openwakeword.handler:Receiving audio from client: 155257075292159
DEBUG:wyoming_openwakeword.handler:Client disconnected: 155257075292159
DEBUG:wyoming_openwakeword.handler:Client connected: 155262900996130
DEBUG:wyoming_openwakeword.handler:Receiving audio from client: 155262900996130
DEBUG:wyoming_openwakeword.handler:Client connected: 155270420276104
DEBUG:wyoming_openwakeword.handler:Sent info to client: 155270420276104
DEBUG:wyoming_openwakeword.handler:Client disconnected: 155270420276104
DEBUG:wyoming_openwakeword.handler:Client connected: 155302550895737
DEBUG:wyoming_openwakeword.handler:Sent info to client: 155302550895737
DEBUG:wyoming_openwakeword.handler:Client disconnected: 155302550895737
DEBUG:wyoming_openwakeword.handler:Client connected: 155334628456744
DEBUG:wyoming_openwakeword.handler:Sent info to client: 155334628456744
DEBUG:wyoming_openwakeword.handler:Client disconnected: 155334628456744
DEBUG:wyoming_openwakeword.handler:Client connected: 155366723420798
DEBUG:wyoming_openwakeword.handler:Sent info to client: 155366723420798
DEBUG:wyoming_openwakeword.handler:Client disconnected: 155366723420798
DEBUG:wyoming_openwakeword.handler:Client connected: 155398807316754
DEBUG:wyoming_openwakeword.handler:Sent info to client: 155398807316754
DEBUG:wyoming_openwakeword.handler:Client disconnected: 155398807316754
DEBUG:wyoming_openwakeword.handler:Client connected: 155430890378607
DEBUG:wyoming_openwakeword.handler:Sent info to client: 155430890378607
DEBUG:wyoming_openwakeword.handler:Client disconnected: 155430890378607
DEBUG:wyoming_openwakeword.handler:Client connected: 155462969629566
DEBUG:wyoming_openwakeword.handler:Sent info to client: 155462969629566
DEBUG:wyoming_openwakeword.handler:Client disconnected: 155462969629566
DEBUG:wyoming_openwakeword.handler:Client connected: 155495051686651
DEBUG:wyoming_openwakeword.handler:Sent info to client: 155495051686651
DEBUG:wyoming_openwakeword.handler:Client disconnected: 155495051686651
DEBUG:wyoming_openwakeword.handler:Client connected: 155527145675670
DEBUG:wyoming_openwakeword.handler:Sent info to client: 155527145675670
DEBUG:wyoming_openwakeword.handler:Client disconnected: 155527145675670
DEBUG:wyoming_openwakeword.handler:Client connected: 155559232513318
DEBUG:wyoming_openwakeword.handler:Sent info to client: 155559232513318
DEBUG:wyoming_openwakeword.handler:Client disconnected: 155559232513318
DEBUG:wyoming_openwakeword.handler:Client connected: 155591330105046
DEBUG:wyoming_openwakeword.handler:Sent info to client: 155591330105046
DEBUG:wyoming_openwakeword.handler:Client disconnected: 155591330105046
DEBUG:wyoming_openwakeword.handler:Client connected: 155623434770731
DEBUG:wyoming_openwakeword.handler:Sent info to client: 155623434770731
DEBUG:wyoming_openwakeword.handler:Client disconnected: 155623434770731
DEBUG:wyoming_openwakeword.handler:Client connected: 155655540978655
DEBUG:wyoming_openwakeword.handler:Sent info to client: 155655540978655
DEBUG:wyoming_openwakeword.handler:Client disconnected: 155655540978655