I ran into the following error when using hermes-python 0.8.1 to handle an intent:
Traceback (most recent call last):
File "_ctypes/callbacks.c", line 232, in 'calling callback function'
File "/my-fs/venv/lib/python3.7/site-packages/hermes_python/ffi/wrappers.py", line 61, in convert_arguments_when_invoking_function
return func(hermes_client, *parsed_args)
File "/my-fs/venv/lib/python3.7/site-packages/hermes_python/ffi/wrappers.py", line 60, in <genexpr>
parsed_args = (handler_argument_type.from_c_repr(arg.contents) for arg in (args))
File "/my-fs/venv/lib/python3.7/site-packages/hermes_python/ontology/dialogue/intent.py", line 68, in from_c_repr
c_asr_token_arrays_length = c_repr.asr_tokens.contents.count
ValueError: NULL pointer access
I ran into the following error when using hermes-python 0.8.1 to handle an intent:
Rhasspy was sending the following MQTT message:
According to the Hermes protocol specification the fields
asrTokens
andasrConfidence
are not optional.Indeed, manually publishing the following message works:
(Note that it would also work without
asrConfidence
)