Hi, I’m using TwoStageFallback and during interactive learning it throws me this error whenever the fallback is used (even if I say no to action_default_ask_affirmation). I am not using custom Fallback and it works fine in “rasa shell”:
2020-0> 9-03 10:51:28 ERROR rasa.core.training.interactive - An exception occurred while recording messages.
Traceback (most recent call last): File “/home/linda/anaconda3/envs/rasa/lib/python3.6/site-packages/rasa/core/training/interactive.py”, line 1420, in record_messages plot_file, File “/home/linda/anaconda3/envs/rasa/lib/python3.6/site-packages/rasa/core/training/interactive.py”, line 907, in _predict_till_next_listen await _print_history(conversation_id, endpoint) File “/home/linda/anaconda3/envs/rasa/lib/python3.6/site-packages/rasa/core/training/interactive.py”, line 456, in _print_history table = _chat_history_table(events) File “/home/linda/anaconda3/envs/rasa/lib/python3.6/site-packages/rasa/core/training/interactive.py”, line 540, in _chat_history_table wrapped = wrap(format_bot_output(event), bot_width(table)) File “/home/linda/anaconda3/envs/rasa/lib/python3.6/site-packages/rasa/core/training/interactive.py”, line 477, in wrap return “\n”.join(textwrap.wrap(txt, max_width, replace_whitespace=False)) File “/home/linda/anaconda3/envs/rasa/lib/python3.6/textwrap.py”, line 379, in wrap return w.wrap(text) File “/home/linda/anaconda3/envs/rasa/lib/python3.6/textwrap.py”, line 354, in wrap return self._wrap_chunks(chunks) File “/home/linda/anaconda3/envs/rasa/lib/python3.6/textwrap.py”, line 248, in _wrap_chunks raise ValueError(“invalid width %r (must be > 0)” % self.width)
ValueError: invalid width -7 (must be > 0) 2020-09-03 10:51:28 ERROR asyncio - Task exception was never retrieved future: <Task finished coro=<_serve_application..run_interactive_io() done, defined at /home/linda/anaconda3/envs/rasa/lib/python3.6/site-packages/rasa/core/training/interactive.py:1505> exception=ValueError(‘invalid width -7 (must be > 0)’,)>
Traceback (most recent call last): File “/home/linda/anaconda3/envs/rasa/lib/python3.6/site-packages/rasa/core/training/interactive.py”, line 1512, in run_interactive_io conversation_id=conversation_id, File “/home/linda/anaconda3/envs/rasa/lib/python3.6/site-packages/rasa/core/training/interactive.py”, line 1420, in record_messages plot_file, File “/home/linda/anaconda3/envs/rasa/lib/python3.6/site-packages/rasa/core/training/interactive.py”, line 907, in _predict_till_next_listen await _print_history(conversation_id, endpoint) File “/home/linda/anaconda3/envs/rasa/lib/python3.6/site-packages/rasa/core/training/interactive.py”, line 456, in _print_history table = _chat_history_table(events) File “/home/linda/anaconda3/envs/rasa/lib/python3.6/site-packages/rasa/core/training/interactive.py”, line 540, in _chat_history_table wrapped = wrap(format_bot_output(event), bot_width(table)) File “/home/linda/anaconda3/envs/rasa/lib/python3.6/site-packages/rasa/core/training/interactive.py”, line 477, in wrap return “\n”.join(textwrap.wrap(txt, max_width, replace_whitespace=False)) File “/home/linda/anaconda3/envs/rasa/lib/python3.6/textwrap.py”, line 379, in wrap return w.wrap(text) File “/home/linda/anaconda3/envs/rasa/lib/python3.6/textwrap.py”, line 354, in wrap return self._wrap_chunks(chunks) File “/home/linda/anaconda3/envs/rasa/lib/python3.6/textwrap.py”, line 248, in _wrap_chunks raise ValueError(“invalid width %r (must be > 0)” % self.width) ValueError: invalid width -7 (must be > 0)