Closed lbt closed 10 months ago
When reloading a skill which uses register_entity() the following trace is seen.
Clearly the padatious intent service is OK
Padacioso has: https://github.com/OpenVoiceOS/padacioso/blob/dev/padacioso/__init__.py#L103
Padatious has: https://github.com/MycroftAI/padatious/blob/9d5a22f2b42f6fb1162e3b6143dfdd6ad9725fc9/padatious/intent_container.py#L129
Jan 05 11:17:42 damson python3[25344]: 2024-01-05 11:17:42.857 - skills - ovos_core.intent_services.padatious_service:_register_object:205 - DEBUG - Registering Padatious entity: feed-the-fish-skill:ablution_ed4277be8ab942f9e36a9da56ebb1d1d Jan 05 11:17:42 damson python3[25344]: 2024-01-05 11:17:42.858 - skills - ovos_core.intent_services.padacioso_service:_register_object:166 - DEBUG - Registering Padacioso entity: feed-the-fish-skill:ablution_ed4277be8ab942f9e36a9da56ebb1d1d Jan 05 11:17:42 damson python3[25344]: exception calling callback for <Future at 0x7f7448cc40 state=finished raised RuntimeError> Jan 05 11:17:42 damson python3[25344]: Traceback (most recent call last): Jan 05 11:17:42 damson python3[25344]: File "/usr/lib/python3.9/concurrent/futures/_base.py", line 329, in _invoke_callbacks Jan 05 11:17:42 damson python3[25344]: callback(self) Jan 05 11:17:42 damson python3[25344]: File "/home/david/venv-ovos/lib/python3.9/site-packages/pyee/_executor.py", line 57, in _callback Jan 05 11:17:42 damson python3[25344]: self.emit("error", exc) Jan 05 11:17:42 damson python3[25344]: File "/home/david/venv-ovos/lib/python3.9/site-packages/pyee/_base.py", line 118, in emit Jan 05 11:17:42 damson python3[25344]: self._emit_handle_potential_error(event, args[0] if args else None) Jan 05 11:17:42 damson python3[25344]: File "/home/david/venv-ovos/lib/python3.9/site-packages/pyee/_base.py", line 88, in _emit_handle_potential_error Jan 05 11:17:42 damson python3[25344]: raise error Jan 05 11:17:42 damson python3[25344]: File "/usr/lib/python3.9/concurrent/futures/thread.py", line 52, in run Jan 05 11:17:42 damson python3[25344]: result = self.fn(*self.args, **self.kwargs) Jan 05 11:17:42 damson python3[25344]: File "/everything/devel/raspi/ovos/ovos-core/ovos_core/intent_services/padacioso_service.py", line 207, in register_entity Jan 05 11:17:42 damson python3[25344]: self._register_object(message, 'entity', Jan 05 11:17:42 damson python3[25344]: File "/everything/devel/raspi/ovos/ovos-core/ovos_core/intent_services/padacioso_service.py", line 176, in _register_object Jan 05 11:17:42 damson python3[25344]: register_func(name, samples) Jan 05 11:17:42 damson python3[25344]: File "/home/david/venv-ovos/lib/python3.9/site-packages/padacioso/__init__.py", line 104, in add_entity
When reloading a skill which uses register_entity() the following trace is seen.
Clearly the padatious intent service is OK
Padacioso has: https://github.com/OpenVoiceOS/padacioso/blob/dev/padacioso/__init__.py#L103
Padatious has: https://github.com/MycroftAI/padatious/blob/9d5a22f2b42f6fb1162e3b6143dfdd6ad9725fc9/padatious/intent_container.py#L129