question-mark
Stuck on an issue?

Lightrun Answers was designed to reduce the constant googling that comes with debugging 3rd party libraries. ItΒ collects links to all the places you might be looking at while hunting down a tough bug.

And, if you’re still stuck at the end, we’re happy to hop on a call to see how we can help out.

Tried to set non existent slot 'count_list'. Make sure you added all your slots to your domain file.

See original GitHub issue

Rasa version: 1.1.3

Rasa X version (if used & relevant):Not using

Python version: 3.6.8

Operating system (windows, osx, …): Windows 10

Issue: When i tried to use interactive learning getting this error though i mentioned all the slots in domain file… It was working well earlier in rasa==1.0.7 version.

Error (including full traceback):

2019-06-17 19:35:24 DEBUG    rasa.core.tracker_store  - Recreating tracker for id 'ca2c5d2b07f140bb90668586f1c28b10'
2019-06-17 19:35:24 DEBUG    rasa.core.processor  - Received user message 'list all impacted cis' with intent '{'name': 'ci_info', 'confidence': 0.9596539735794067}' and entities '[{'start': 0, 'end': 4, 'value': 'List', 'entity': 'count_list', 'confidence': 0.9737233844587407, 'extractor': 'CRFEntityExtractor', 'processors': ['EntitySynonymMapper']}, {'start': 9, 'end': 17, 'value': 'Impacted', 'entity': 'impa_noimpa', 'confidence': 0.9975736855043231, 'extractor': 'CRFEntityExtractor', 'processors': ['EntitySynonymMapper']}]'
2019-06-17 19:35:24 DEBUG    rasa.core.processor  - Current slot values:
        count_list: List
        filter1: None
        impa_noimpa: Impacted
        item_text: None
        item_value: None
        open_close: None
2019-06-17 19:35:24 DEBUG    rasa.core.processor  - Logged UserUtterance - tracker now has 4 events
2019-06-17 19:35:25 DEBUG    rasa.core.tracker_store  - Recreating tracker for id 'ca2c5d2b07f140bb90668586f1c28b10'
? Is the intent 'ci_info' correct for '[list](count_list:List) all [impacted](impa_noimpa:Impacted) cis' and are all entities labeled correctly?  Yes
2019-06-17 19:35:30 DEBUG    rasa.core.tracker_store  - Recreating tracker for id 'ca2c5d2b07f140bb90668586f1c28b10'
2019-06-17 19:35:30 DEBUG    rasa.core.policies.memoization  - Current tracker state [None, None, None, {}, {'entity_count_list': 1.0, 'intent_ci_info': 1.0, 'slot_count_list_0': 1.0, 'slot_impa_noimpa_0': 1.0, 'prev_action_listen': 1.0, 'entity_impa_noimpa': 1.0}]
2019-06-17 19:35:30 DEBUG    rasa.core.policies.memoization  - There is a memorised next action '8'
2019-06-17 19:35:30 DEBUG    rasa.core.policies.ensemble  - Predicted next action using policy_0_MemoizationPolicy
2019-06-17 19:35:30 DEBUG    rasa.core.tracker_store  - Recreating tracker for id 'ca2c5d2b07f140bb90668586f1c28b10'
2019-06-17 19:35:30 ERROR    rasa.core.trackers  - Tried to set non existent slot 'count_list'. Make sure you added all your slots to your domain file.
2019-06-17 19:35:30 ERROR    rasa.core.trackers  - Tried to set non existent slot 'impa_noimpa'. Make sure you added all your slots to your domain file.
------
Chat History

 #    Bot                                                                                        You
────────────────────────────────────────────────────────────────────────────────────────────────────────────
 1    action_listen
────────────────────────────────────────────────────────────────────────────────────────────────────────────
 2                                         [list](count_list:List) all [impacted](impa_noimpa:Impacted) cis
                                                                                       intent: ci_info 0.96
────────────────────────────────────────────────────────────────────────────────────────────────────────────
 3    slot{"count_list": "List"}
      slot{"impa_noimpa": "Impacted"}

Command or request that led to error:

rasa interactive --debug --endpoints endpoints.yml

Content of configuration file (config.yml) (if relevant):



Content of domain file (domain.yml) (if relevant):


Issue Analytics

  • State:closed
  • Created 4 years ago
  • Comments:19 (8 by maintainers)

github_iconTop GitHub Comments

2reactions
TayyibahRcommented, Jul 25, 2019

I had this same issue yesterday. in interactive mode i was getting an error while trying to set entities and slot(my domain file had entities and slots correctly defined): error: rasa.core.trackers - Tried to set non existent slot. Make sure you add all slots to your domain.

At first i thought i needed trackers.py update but when i looked into nlu.md data that interactive mode generated i found some inconsistencies in entity extraction(there were new entities and intents i didnt want). I fixed those inconsistencies and i no longer get this error.

What i believe: While training rasa in interactive mode, we correct the entities and intents. During export, interactive adds the wrong classified intents and entity extraction to the nlu.md file. When i removed them tracker worked fine for me.

1reaction
srikanth9444commented, Jan 30, 2021

Hi, I’m getting the same error ERROR rasa.shared.core.trackers - Tried to set non existent slot β€˜gender’. Make sure you added all your slots to your domain file. Actually I double checked no issue with the slots and indentation. it was working fine, after added some small talk content and tried to retrain the model, then this issue started. Any suggestions to fix this issue would be greatly appreciated

Read more comments on GitHub >

github_iconTop Results From Across the Web

Getting an error "Tried to set non-existent slot 'requested_slot ...
trackers - Tried to set non existent slot 'requested_slot'. Make sure you added all your slots to your domain file. Any reason why...
Read more >
Rasa error disappears after deleting database conversations ...
trackers - Tried to set non existent slot 'mathcalc'. Make sure you added all your slots to your domain file. 2019-10-12 13:57:58 ERROR...
Read more >
Tried to set non existent slot 'count_list'. Make sure you added ...
Tried to set non existent slot 'count_list'. Make sure you added all your slots to your domain file.
Read more >
RASA - requested_slot - DEV Community ‍ ‍
requested_slot is a special slot that is automatically added to the domain with type text . Its value is the name of the...
Read more >
hg - Mercurial source code management system
The location of the source is added to the new repository's .hg/hgrc file, as the default to ... If the given directory does...
Read more >

github_iconTop Related Medium Post

No results found

github_iconTop Related StackOverflow Question

No results found

github_iconTroubleshoot Live Code

Lightrun enables developers to add logs, metrics and snapshots to live code - no restarts or redeploys required.
Start Free

github_iconTop Related Reddit Thread

No results found

github_iconTop Related Hackernoon Post

No results found

github_iconTop Related Tweet

No results found

github_iconTop Related Dev.to Post

No results found

github_iconTop Related Hashnode Post

No results found