Traceback (most recent call last):
File "/usr/local/bin/rasa", line 11, in <module>
File "/usr/local/lib/python3.6/dist-packages/rasa/__main__.py", line 76, in main
File "/usr/local/lib/python3.6/dist-packages/rasa/cli/shell.py", line 101, in shell
File "/usr/local/lib/python3.6/dist-packages/rasa/cli/run.py", line 104, in run
endpoints = AvailableEndpoints.read_endpoints(args.endpoints)
File "/usr/local/lib/python3.6/dist-packages/rasa/core/utils.py", line 394, in read_endpoints
action = read_endpoint_config(endpoint_file, endpoint_type="action_endpoint")
File "/usr/local/lib/python3.6/dist-packages/rasa/utils/endpoints.py", line 29, in read_endpoint_config
File "/usr/local/lib/python3.6/dist-packages/rasa/utils/endpoints.py", line 154, in from_dict
TypeError: type object argument after ** must be a mapping, not str
I tried to run this command - “rasa shell --debug”, and getting this error.
I am facing this same issue. I am following Rasa Master Class #6 and have set up and started the action server. The server is started and the action function is registered at this point the error occurs.
TypeError: type object argument after ** must be a mapping, not NoneType.
I am using PyCharm as my editor, if that matters.
@Jmg007@Mayankgbrc@erohmensing I was able to resolve this issue after further search on Stack Overflow. Issue seems to be the Sanic Package version 19.12.2 is not compatible with Rasa.
I had to downgrade the Sanic from version 19.12.2 to 19.9.0.