-
-
Notifications
You must be signed in to change notification settings - Fork 4
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
fix/event_removal #29
Merged
Merged
Conversation
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Member
JarbasAl
commented
Jul 12, 2024
``` jul 12 14:53:26 LenovoSatellite hivemind-voice-sat[9425]: 2024-07-12 14:53:26.777 - HiveMind-voice-sat - ovos_dinkum_listener.service:_record_end_signal:650 - DEBUG - Record end jul 12 14:53:26 LenovoSatellite hivemind-voice-sat[9425]: 2024-07-12 14:53:26.778 - HiveMind-voice-sat - hivemind_bus_client.client:on_mycroft:341 - DEBUG - registering mycroft event: recognizer_loop:speech.recognition.unknown jul 12 14:53:26 LenovoSatellite hivemind-voice-sat[9425]: 2024-07-12 14:53:26.779 - HiveMind-voice-sat - hivemind_bus_client.client:on_mycroft:341 - DEBUG - registering mycroft event: speak jul 12 14:53:34 LenovoSatellite hivemind-voice-sat[9425]: 2024-07-12 14:53:34.780 - HiveMind-voice-sat - ovos_bus_client.client.client:_remove_normal:341 - DEBUG - Not able to find 'speak' jul 12 14:53:34 LenovoSatellite hivemind-voice-sat[9425]: 2024-07-12 14:53:34.780 - HiveMind-voice-sat - ovos_dinkum_listener.service:run:334 - ERROR - voice_loop failed jul 12 14:53:34 LenovoSatellite hivemind-voice-sat[9425]: Traceback (most recent call last): jul 12 14:53:34 LenovoSatellite hivemind-voice-sat[9425]: File "/home/ovos/.venvs/ovos/lib/python3.11/site-packages/ovos_dinkum_listener/service.py", line 330, in run jul 12 14:53:34 LenovoSatellite hivemind-voice-sat[9425]: self.voice_loop.run() jul 12 14:53:34 LenovoSatellite hivemind-voice-sat[9425]: File "/home/ovos/.venvs/ovos/lib/python3.11/site-packages/ovos_dinkum_listener/voice_loop/voice_loop.py", line 269, in run jul 12 14:53:34 LenovoSatellite hivemind-voice-sat[9425]: self._after_cmd(chunk) jul 12 14:53:34 LenovoSatellite hivemind-voice-sat[9425]: File "/home/ovos/.venvs/ovos/lib/python3.11/site-packages/ovos_dinkum_listener/voice_loop/voice_loop.py", line 798, in _after_cmd jul 12 14:53:34 LenovoSatellite hivemind-voice-sat[9425]: self.record_end_callback() jul 12 14:53:34 LenovoSatellite hivemind-voice-sat[9425]: File "/home/ovos/.venvs/ovos/lib/python3.11/site-packages/ovos_dinkum_listener/service.py", line 659, in _record_end_signal jul 12 14:53:34 LenovoSatellite hivemind-voice-sat[9425]: self.bus.emit(Message("recognizer_loop:record_end")) jul 12 14:53:34 LenovoSatellite hivemind-voice-sat[9425]: File "/home/ovos/.venvs/ovos/lib/python3.11/site-packages/hivemind_bus_client/client.py", line 308, in emit jul 12 14:53:34 LenovoSatellite hivemind-voice-sat[9425]: self.internal_bus.emit(message.payload) jul 12 14:53:34 LenovoSatellite hivemind-voice-sat[9425]: File "/home/ovos/.venvs/ovos/lib/python3.11/site-packages/ovos_utils/fakebus.py", line 50, in emit jul 12 14:53:34 LenovoSatellite hivemind-voice-sat[9425]: self.ee.emit(message.msg_type, message) jul 12 14:53:34 LenovoSatellite hivemind-voice-sat[9425]: File "/home/ovos/.venvs/ovos/lib/python3.11/site-packages/pyee/_base.py", line 115, in emit jul 12 14:53:34 LenovoSatellite hivemind-voice-sat[9425]: handled = self._call_handlers(event, args, kwargs) jul 12 14:53:34 LenovoSatellite hivemind-voice-sat[9425]: ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ jul 12 14:53:34 LenovoSatellite hivemind-voice-sat[9425]: File "/home/ovos/.venvs/ovos/lib/python3.11/site-packages/pyee/_base.py", line 98, in _call_handlers jul 12 14:53:34 LenovoSatellite hivemind-voice-sat[9425]: self._emit_run(f, args, kwargs) jul 12 14:53:34 LenovoSatellite hivemind-voice-sat[9425]: File "/home/ovos/.venvs/ovos/lib/python3.11/site-packages/pyee/_base.py", line 83, in _emit_run jul 12 14:53:34 LenovoSatellite hivemind-voice-sat[9425]: f(*args, **kwargs) jul 12 14:53:34 LenovoSatellite hivemind-voice-sat[9425]: File "/home/ovos/.venvs/ovos/lib/python3.11/site-packages/ovos_audio/utils.py", line 46, in func_wrapper jul 12 14:53:34 LenovoSatellite hivemind-voice-sat[9425]: return func(self, message) jul 12 14:53:34 LenovoSatellite hivemind-voice-sat[9425]: ^^^^^^^^^^^^^^^^^^^ jul 12 14:53:34 LenovoSatellite hivemind-voice-sat[9425]: File "/home/ovos/.venvs/ovos/lib/python3.11/site-packages/ovos_audio/audio.py", line 345, in _restore_volume_after_record jul 12 14:53:34 LenovoSatellite hivemind-voice-sat[9425]: speak_msg_detected = self.bus.wait_for_message('speak', jul 12 14:53:34 LenovoSatellite hivemind-voice-sat[9425]: ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ jul 12 14:53:34 LenovoSatellite hivemind-voice-sat[9425]: File "/home/ovos/.venvs/ovos/lib/python3.11/site-packages/hivemind_bus_client/client.py", line 370, in wait_for_message jul 12 14:53:34 LenovoSatellite hivemind-voice-sat[9425]: return HiveMessageWaiter(self, message_type).wait(timeout) jul 12 14:53:34 LenovoSatellite hivemind-voice-sat[9425]: ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ jul 12 14:53:34 LenovoSatellite hivemind-voice-sat[9425]: File "/home/ovos/.venvs/ovos/lib/python3.11/site-packages/hivemind_bus_client/client.py", line 58, in wait jul 12 14:53:34 LenovoSatellite hivemind-voice-sat[9425]: self.bus.remove(self.msg_type, self._handler) jul 12 14:53:34 LenovoSatellite hivemind-voice-sat[9425]: File "/home/ovos/.venvs/ovos/lib/python3.11/site-packages/ovos_bus_client/client/client.py", line 330, in remove jul 12 14:53:34 LenovoSatellite hivemind-voice-sat[9425]: self._remove_normal(event_name, func) jul 12 14:53:34 LenovoSatellite hivemind-voice-sat[9425]: File "/home/ovos/.venvs/ovos/lib/python3.11/site-packages/ovos_bus_client/client/client.py", line 342, in _remove_normal jul 12 14:53:34 LenovoSatellite hivemind-voice-sat[9425]: self.emitter.remove_listener(event_name, func) jul 12 14:53:34 LenovoSatellite hivemind-voice-sat[9425]: File "/home/ovos/.venvs/ovos/lib/python3.11/site-packages/pyee/_base.py", line 155, in remove_listener jul 12 14:53:34 LenovoSatellite hivemind-voice-sat[9425]: self._remove_listener(event, f) jul 12 14:53:34 LenovoSatellite hivemind-voice-sat[9425]: File "/home/ovos/.venvs/ovos/lib/python3.11/site-packages/pyee/_base.py", line 150, in _remove_listener jul 12 14:53:34 LenovoSatellite hivemind-voice-sat[9425]: self._events[event].pop(f) ```
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.
This suggestion is invalid because no changes were made to the code.
Suggestions cannot be applied while the pull request is closed.
Suggestions cannot be applied while viewing a subset of changes.
Only one suggestion per line can be applied in a batch.
Add this suggestion to a batch that can be applied as a single commit.
Applying suggestions on deleted lines is not supported.
You must change the existing code in this line in order to create a valid suggestion.
Outdated suggestions cannot be applied.
This suggestion has been applied or marked resolved.
Suggestions cannot be applied from pending reviews.
Suggestions cannot be applied on multi-line comments.
Suggestions cannot be applied while the pull request is queued to merge.
Suggestion cannot be applied right now. Please check back later.