Non existent slot error
Dethada opened this issue · comments
David Zhu commented
https://github.com/PotatoDrug/Sitemon/blob/2907e7d23d5aa27e45e288cb301ab3ceca3644b7/main/actions.py#L4-L12
The custom action doesnt try to set slot but there is the error Tried to set non existent slot 'matches'.
???
Bot loaded. Type a message and press enter (use '/stop' to exit):
status
2019-01-06 00:26:25 DEBUG rasa_core.tracker_store - Creating a new tracker for id 'default'.
2019-01-06 00:26:25 DEBUG rasa_core.processor - Received user message 'status' with intent '{'name': 'check_status', 'confidence': 0.9793898463249207}' and entities '[]'
2019-01-06 00:26:25 DEBUG rasa_core.processor - Logged UserUtterance - tracker now has 2 events
2019-01-06 00:26:25 DEBUG rasa_core.processor - Current slot values:
watch_list: None
2019-01-06 00:26:25 DEBUG rasa_core.policies.memoization - Current tracker state [None, None, None, {}, {'prev_action_listen': 1.0, 'intent_check_status': 1.0}]
2019-01-06 00:26:25 DEBUG rasa_core.policies.memoization - There is a memorised next action '7'
2019-01-06 00:26:25 DEBUG rasa_core.policies.form_policy - There is no active form
2019-01-06 00:26:25 DEBUG rasa_core.policies.ensemble - Predicted next action using policy_2_MemoizationPolicy
2019-01-06 00:26:25 DEBUG rasa_core.processor - Predicted next action 'action_check_status' with prob 1.00.
2019-01-06 00:26:25 DEBUG rasa_core.actions.action - Calling action endpoint to run action 'action_check_status'.
DEBUG:rasa_core_sdk.executor:Received request to run 'action_check_status'
DEBUG:rasa_core_sdk.executor:Successfully ran 'action_check_status'
127.0.0.1 - - [2019-01-06 00:26:25] "POST /webhook HTTP/1.1" 200 235 0.000881
2019-01-06 00:26:25 DEBUG rasa_core.processor - Action 'action_check_status' ended with events '['SlotSet(key: matches, value: test2)']'
2019-01-06 00:26:25 ERROR rasa_core.trackers - Tried to set non existent slot 'matches'. Make sure you added all your slots to your domain file.
2019-01-06 00:26:25 ERROR rasa_core.trackers - Tried to set non existent slot 'matches'. Make sure you added all your slots to your domain file.
2019-01-06 00:26:25 ERROR rasa_core.trackers - Tried to set non existent slot 'matches'. Make sure you added all your slots to your domain file.
2019-01-06 00:26:25 DEBUG rasa_core.policies.memoization - Current tracker state [None, None, {}, {'prev_action_listen': 1.0, 'intent_check_status': 1.0}, {'intent_check_status': 1.0, 'prev_action_check_status': 1.0}]
2019-01-06 00:26:25 DEBUG rasa_core.policies.memoization - There is a memorised next action '0'
2019-01-06 00:26:25 DEBUG rasa_core.policies.form_policy - There is no active form
2019-01-06 00:26:25 DEBUG rasa_core.policies.ensemble - Predicted next action using policy_2_MemoizationPolicy
2019-01-06 00:26:25 DEBUG rasa_core.processor - Predicted next action 'action_listen' with prob 1.00.
2019-01-06 00:26:25 DEBUG rasa_core.processor - Action 'action_listen' ended with events '[]'
127.0.0.1 - - [2019-01-06 00:26:25] "POST /webhooks/rest/webhook?stream=true&token= HTTP/1.1" 200 122 0.131773
/stop
David Zhu commented
Magically fixed itself