Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Service fails to start #32

Open
dejan2101 opened this issue Sep 19, 2024 · 1 comment
Open

Service fails to start #32

dejan2101 opened this issue Sep 19, 2024 · 1 comment

Comments

@dejan2101
Copy link

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
Copy link
Author

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().

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants
@dejan2101 and others