Hello everyone,
When I am trying to close and export dialogue stories from rasa interactive
I am getting this error.
2021-09-13 14:49:37 ERROR rasa.core.training.interactive - An exception occurred while recording messages.
Traceback (most recent call last):
File "c:\users\elab\anaconda3\envs\ailab-chatbot\lib\site-packages\rasa\core\training\interactive.py", line 1516, in record_messages
await _enter_user_message(conversation_id, endpoint)
File "c:\users\elab\anaconda3\envs\ailab-chatbot\lib\site-packages\rasa\core\training\interactive.py", line 1354, in _enter_user_message
message = await _ask_questions(question, conversation_id, endpoint, lambda a: not a)
File "c:\users\elab\anaconda3\envs\ailab-chatbot\lib\site-packages\rasa\core\training\interactive.py", line 325, in _ask_questions
should_retry = await _ask_if_quit(conversation_id, endpoint)
File "c:\users\elab\anaconda3\envs\ailab-chatbot\lib\site-packages\rasa\core\training\interactive.py", line 651, in _ask_if_quit
await _write_data_to_file(conversation_id, endpoint)
File "c:\users\elab\anaconda3\envs\ailab-chatbot\lib\site-packages\rasa\core\training\interactive.py", line 628, in _write_data_to_file
_retry_on_error(_write_domain_to_file, domain_path, events, domain)
File "c:\users\elab\anaconda3\envs\ailab-chatbot\lib\site-packages\rasa\core\training\interactive.py", line 605, in _retry_on_error
return func(export_path, *args, **kwargs)
File "c:\users\elab\anaconda3\envs\ailab-chatbot\lib\site-packages\rasa\core\training\interactive.py", line 959, in _write_domain_to_file
old_domain.merge(new_domain).persist_clean(domain_path)
File "c:\users\elab\anaconda3\envs\ailab-chatbot\lib\site-packages\rasa\shared\core\domain.py", line 313, in merge
combined[key] = merge_lists(combined[key], domain_dict[key])
File "c:\users\elab\anaconda3\envs\ailab-chatbot\lib\site-packages\rasa\shared\core\domain.py", line 283, in merge_lists
return sorted(list(set(list1 + list2)))
TypeError: unhashable type: 'dict'
2021-09-13 14:49:37 ERROR asyncio - Task exception was never retrieved
future: <Task finished coro=<_serve_application.<locals>.run_interactive_io() done, defined at c:\users\elab\anaconda3\envs\ailab-chatbot\lib\site-packages\rasa\core\training\interactive.py:1609> exception=TypeError("unhashable type: 'dict'",)>
Traceback (most recent call last):
File "c:\users\elab\anaconda3\envs\ailab-chatbot\lib\site-packages\rasa\core\training\interactive.py", line 1616, in run_interactive_io
conversation_id=conversation_id,
File "c:\users\elab\anaconda3\envs\ailab-chatbot\lib\site-packages\rasa\core\training\interactive.py", line 1516, in record_messages
await _enter_user_message(conversation_id, endpoint)
File "c:\users\elab\anaconda3\envs\ailab-chatbot\lib\site-packages\rasa\core\training\interactive.py", line 1354, in _enter_user_message
message = await _ask_questions(question, conversation_id, endpoint, lambda a: not a)
File "c:\users\elab\anaconda3\envs\ailab-chatbot\lib\site-packages\rasa\core\training\interactive.py", line 325, in _ask_questions
should_retry = await _ask_if_quit(conversation_id, endpoint)
File "c:\users\elab\anaconda3\envs\ailab-chatbot\lib\site-packages\rasa\core\training\interactive.py", line 651, in _ask_if_quit
await _write_data_to_file(conversation_id, endpoint)
File "c:\users\elab\anaconda3\envs\ailab-chatbot\lib\site-packages\rasa\core\training\interactive.py", line 628, in _write_data_to_file
_retry_on_error(_write_domain_to_file, domain_path, events, domain)
File "c:\users\elab\anaconda3\envs\ailab-chatbot\lib\site-packages\rasa\core\training\interactive.py", line 605, in _retry_on_error
return func(export_path, *args, **kwargs)
File "c:\users\elab\anaconda3\envs\ailab-chatbot\lib\site-packages\rasa\core\training\interactive.py", line 959, in _write_domain_to_file
old_domain.merge(new_domain).persist_clean(domain_path)
File "c:\users\elab\anaconda3\envs\ailab-chatbot\lib\site-packages\rasa\shared\core\domain.py", line 313, in merge
combined[key] = merge_lists(combined[key], domain_dict[key])
File "c:\users\elab\anaconda3\envs\ailab-chatbot\lib\site-packages\rasa\shared\core\domain.py", line 283, in merge_lists
return sorted(list(set(list1 + list2)))
TypeError: unhashable type: 'dict'
It’s a bit different from others that there are in the forum or at least I missed a match. I have opened the action server. Any suggestions?