rhasspy / wyoming-openwakeword

Wyoming protocol server for openWakeWord wake word detection system
MIT License
101 stars 26 forks source link

Service fails to start #32

Open dejan2101 opened 2 weeks ago

dejan2101 commented 2 weeks ago

Hi,

i got it working the 1st time, everything was fine. When i shutted down the raspberry pi zero 2 w and reconnected it service fails every time with an error:

● wyoming-openwakeword.service - Wyoming openWakeWord Loaded: loaded (/etc/systemd/system/wyoming-openwakeword.service; disabled; preset: enabled) Active: active (running) since Thu 2024-09-19 12:14:21 CEST; 33s ago Main PID: 820 (python3) Tasks: 8 (limit: 174) CPU: 2.036s CGroup: /system.slice/wyoming-openwakeword.service ├─820 python3 /home/cave/wyoming-openwakeword/script/run --uri tcp://127.0.0.1:10400 └─823 /home/cave/wyoming-openwakeword/.venv/bin/python3 -m wyoming_openwakeword --uri tcp://127.0.0.1:10400

Sep 19 12:14:27 cavesatellite run[823]: ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ Sep 19 12:14:27 cavesatellite run[823]: File "/home/cave/wyoming-openwakeword/wyoming_openwakeword/handler.py", line 54, in handle_event Sep 19 12:14:27 cavesatellite run[823]: info = self._get_info() Sep 19 12:14:27 cavesatellite run[823]: ^^^^^^^^^^^^^^^^ Sep 19 12:14:27 cavesatellite run[823]: File "/home/cave/wyoming-openwakeword/wyoming_openwakeword/handler.py", line 190, in _get_info Sep 19 12:14:27 cavesatellite run[823]: models=[ Sep 19 12:14:27 cavesatellite run[823]: ^ Sep 19 12:14:27 cavesatellite run[823]: File "/home/cave/wyoming-openwakeword/wyoming_openwakeword/handler.py", line 191, in Sep 19 12:14:27 cavesatellite run[823]: WakeModel( Sep 19 12:14:27 cavesatellite run[823]: TypeError: WakeModel.init() got an unexpected keyword argument 'phrase'

Anyone got any idea what could be wrong?

dejan2101 commented 2 weeks ago

Turns out it only happens when wyoming-satellite.service is running. Still don't know why it says unexpected keyword argument 'phrase' tho, since that is one of parameters for WakeModel.init().