I’m using rasa interactive learning from the command line. After I’ve created new stories, I’m having trouble saving the stories to the stories.md file. When I hit ‘Export and Quit’, I get the option to save to data/stories.md. However, when I hit enter, I get the following error:
Unhandled exception in event loop: File “//anaconda/envs/tapoly/lib/python3.6/site-packages/prompt_toolkit/eventloop/posix.py”, line 154, in _run_task t() File “//anaconda/envs/tapoly/lib/python3.6/site-packages/prompt_toolkit/eventloop/context.py”, line 115, in new_func return func(*a, **kw) File “//anaconda/envs/tapoly/lib/python3.6/site-packages/prompt_toolkit/application/application.py”, line 562, in read_from_input self.key_processor.process_keys() File “//anaconda/envs/tapoly/lib/python3.6/site-packages/prompt_toolkit/key_binding/key_processor.py”, line 273, in process_keys self._process_coroutine.send(key_press) File “//anaconda/envs/tapoly/lib/python3.6/site-packages/prompt_toolkit/key_binding/key_processor.py”, line 180, in _process self._call_handler(matches[-1], key_sequence=buffer[:]) File “//anaconda/envs/tapoly/lib/python3.6/site-packages/prompt_toolkit/key_binding/key_processor.py”, line 323, in _call_handler handler.call(event) File “//anaconda/envs/tapoly/lib/python3.6/site-packages/prompt_toolkit/key_binding/key_bindings.py”, line 78, in call return self.handler(event) File “//anaconda/envs/tapoly/lib/python3.6/site-packages/prompt_toolkit/shortcuts/prompt.py”, line 588, in _ self.default_buffer.validate_and_handle() File “//anaconda/envs/tapoly/lib/python3.6/site-packages/prompt_toolkit/buffer.py”, line 1612, in validate_and_handle valid = self.validate(set_cursor=True) File “//anaconda/envs/tapoly/lib/python3.6/site-packages/prompt_toolkit/buffer.py”, line 1160, in validate self.validator.validate(self.document) File “//anaconda/envs/tapoly/lib/python3.6/site-packages/prompt_toolkit/validation.py”, line 183, in validate return validator.validate(document)
Exception validate() takes 1 positional argument but 2 were given Press ENTER to continue…
I’ve tried saving it to a different (new) file but the error keeps popping up. Any help would be appreciated.