We've been testing text-to-speech functionality, and there is an exception showing up in the logs:
[{'name': 'say', 'args': {'query': 'I have approached the humans.'}, 'id': '06c93b2c-1ec6-4477-8777-8a56e600785b', 'type': 'tool_call'}]
Starting SoundReceiver on device index 1
Exception ignored on calling ctypes callback function: <bound method EspeakDriver._onSynth of <pyttsx3.drivers.espeak.EspeakDriver object at 0x7fff00209710>>
Traceback (most recent call last):
File "/home/pi/RoboCrew/venv/lib/python3.11/site-packages/pyttsx3/drivers/espeak.py", line 245, in _onSynth
self._proxy.notify("finished-utterance", completed=True)
^^^^^^^^^^^^^^^^^^
ReferenceError: weakly-referenced object no longer exists
It pops each time the robot is trying to speak. Sometimes with success, but sometimes not.
To reproduce, please use our WIP example script: 2_xlerobot_listening_and_speaking.py
Please take a look @neooriginal
We've been testing text-to-speech functionality, and there is an exception showing up in the logs:
[{'name': 'say', 'args': {'query': 'I have approached the humans.'}, 'id': '06c93b2c-1ec6-4477-8777-8a56e600785b', 'type': 'tool_call'}] Starting SoundReceiver on device index 1 Exception ignored on calling ctypes callback function: <bound method EspeakDriver._onSynth of <pyttsx3.drivers.espeak.EspeakDriver object at 0x7fff00209710>> Traceback (most recent call last): File "/home/pi/RoboCrew/venv/lib/python3.11/site-packages/pyttsx3/drivers/espeak.py", line 245, in _onSynth self._proxy.notify("finished-utterance", completed=True) ^^^^^^^^^^^^^^^^^^ ReferenceError: weakly-referenced object no longer existsIt pops each time the robot is trying to speak. Sometimes with success, but sometimes not.
To reproduce, please use our WIP example script: 2_xlerobot_listening_and_speaking.py
Please take a look @neooriginal