Duplicate Key Error

Hi there, I tried to upgrade rasa core and nlu to the newest one. But while call Make train-core, I am getting the following error. Please help me to solve this issue: python -m rasa_core.train -d domain.yml -s data/stories.md -o models/current/dialogue -c policies.yml Traceback (most recent call last): File “/home/praveen/anaconda3/envs/python36/lib/python3.6/runpy.py”, line 193, in _run_module_as_main “main”, mod_spec) File “/home/praveen/anaconda3/envs/python36/lib/python3.6/runpy.py”, line 85, in _run_code exec(code, run_globals) File “/home/praveen/anaconda3/envs/python36/lib/python3.6/site-packages/rasa_core/train.py”, line 358, in additional_args) File “/home/praveen/anaconda3/envs/python36/lib/python3.6/site-packages/rasa_core/train.py”, line 273, in do_default_training kwargs=additional_arguments) File “/home/praveen/anaconda3/envs/python36/lib/python3.6/site-packages/rasa_core/train.py”, line 185, in train_dialogue_model policies=policies) File “/home/praveen/anaconda3/envs/python36/lib/python3.6/site-packages/rasa_core/agent.py”, line 203, in init self.domain = self._create_domain(domain) File “/home/praveen/anaconda3/envs/python36/lib/python3.6/site-packages/rasa_core/agent.py”, line 667, in _create_domain return Domain.load(domain) File “/home/praveen/anaconda3/envs/python36/lib/python3.6/site-packages/rasa_core/domain.py”, line 90, in load return cls.from_yaml(read_file(filename)) File “/home/praveen/anaconda3/envs/python36/lib/python3.6/site-packages/rasa_core/domain.py”, line 94, in from_yaml cls.validate_domain_yaml(yaml) File “/home/praveen/anaconda3/envs/python36/lib/python3.6/site-packages/rasa_core/domain.py”, line 173, in validate_domain_yaml source_data = utils.read_yaml_string(yaml) File “/home/praveen/anaconda3/envs/python36/lib/python3.6/site-packages/rasa_core/utils.py”, line 385, in read_yaml_string return yaml_parser.load(string) File “/home/praveen/anaconda3/envs/python36/lib/python3.6/site-packages/ruamel/yaml/main.py”, line 331, in load return constructor.get_single_data() File “/home/praveen/anaconda3/envs/python36/lib/python3.6/site-packages/ruamel/yaml/constructor.py”, line 108, in get_single_data return self.construct_document(node) File “/home/praveen/anaconda3/envs/python36/lib/python3.6/site-packages/ruamel/yaml/constructor.py”, line 118, in construct_document for _dummy in generator: File “/home/praveen/anaconda3/envs/python36/lib/python3.6/site-packages/ruamel/yaml/constructor.py”, line 691, in construct_yaml_map value = self.construct_mapping(node) File “/home/praveen/anaconda3/envs/python36/lib/python3.6/site-packages/ruamel/yaml/constructor.py”, line 418, in construct_mapping return BaseConstructor.construct_mapping(self, node, deep=deep) File “/home/praveen/anaconda3/envs/python36/lib/python3.6/site-packages/ruamel/yaml/constructor.py”, line 244, in construct_mapping self.check_mapping_key(node, key_node, mapping, key, value) File “/home/praveen/anaconda3/envs/python36/lib/python3.6/site-packages/ruamel/yaml/constructor.py”, line 279, in check_mapping_key raise DuplicateKeyError(*args) ruamel.yaml.constructor.DuplicateKeyError: while constructing a mapping in “”, line 1, column 1 found duplicate key “entities” with value “[]” (original value: “[]”) in “”, line 914, column 1

To suppress this check see: http://yaml.readthedocs.io/en/latest/api.html#duplicate-keys

Duplicate keys will become an error in future releases, and are errors by default when using the new API.

Makefile:31: recipe for target ‘train-core’ failed make: *** [train-core] Error 1

Hi,

Did you solve it?

hello , how u fix this error ?