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" error persists after deleting all instances of slots and retraining

See original GitHub issue

Rasa version: rasa-core==0.13.7 rasa-core-sdk==0.12.2 rasa-nlu==0.14.6

Python version: Python 3.6.7

Operating system (windows, osx, …): Distributor ID: Ubuntu Description: Ubuntu 18.04.2 LTS Release: 18.04 Codename: bionic

Issue: The slots which were used for previous experiments are not resetting even after removing these slots from all files (nlu.md, stories.md, domain.yml and actions.py) I tried deleting the entire model directory and trained the models again. but still it showing the errors with previously used slot. Please find the error message below.

2019-04-22 09:56:44 ERROR    rasa_core.trackers  - Tried to set non existent slot 'environment'. Make sure you added all your s
lots to your domain file.
2019-04-22 09:56:44 ERROR    rasa_core.trackers  - Tried to set non existent slot 'platform'. Make sure you added all your slot
s to your domain file.

I just executed a grep command from my project directory to make sure these slots are not using anymore.

~/project/slackbot$ grep "environment" * -R

Notebook/Conversational_Chatbot.ipynb:        "# In your environment run:\n",
(sample_bot_env) ubuntu@ip-172-31-21-57:~/project/slackbot$ grep "platform" * -R
Notebook/Conversational_Chatbot.ipynb:            "Requirement already satisfied, skipping upgrade: greenlet>=0.4.14; platform_python_implementation == \"CPython\" in /usr/local/lib/python3.6/dist-packages (from gevent->rasa_nlu[spacy]) (0.4.15)\n",
credentials.yml:# This file contains the credentials for the voice & chat platforms
nohup.out:2019-04-03 09:58:46.340534: I tensorflow/core/platform/cpu_feature_guard.cc:141] Your CPU supports instructions that this TensorFlow binary was not compiled to use: AVX2 FMA

Kindly note that I had used these slots before (not in the current stories) for doing some experiments.

Thank you,

Issue Analytics

  • State:closed
  • Created 4 years ago
  • Reactions:1
  • Comments:47 (18 by maintainers)

github_iconTop GitHub Comments

3reactions
anoop2503commented, Apr 24, 2019

I think I found the culprit. I was using the MongoTrackerStore to store the conversation. When i removed the collection from mongo db, all the unwanted track history (which were used before) disappeared.

But, why this is making an issue? That mean’s, we need to clear the stored collection from mongodb every time when we change/rename an existing entity/slot value? Is there any proper way to handle this?

2reactions
sonakshisaxena1commented, Jul 4, 2019

Hi @erohmensing I am facing a similar issue. I have no slots that are undefined in the domain.yml and I have ensured that the action server is restarted. Furthermore, the form action was working smoothly earlier, and suddenly these errors started showing up despite of making no changes to the code.

Read more comments on GitHub >

github_iconTop Results From Across the Web

Getting an error "Tried to set non-existent slot 'requested_slot ...
Whenever you get this kind of error, delete all files in your models folder and then train your rasa again. this is issue...
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 >
ONTAP 9.1 EMS Event Catalog - Product documentation
EMS Identifier acp.init.configIP. Severity. ERROR. Description. This message occurs when we are not able to configure the Ethernet port designated for.
Read more >
Release notes for Watson Assistant - IBM Cloud Docs
The Watson Assistant service will continually monitor all ML models, and will automatically retrain those models that have not been retrained within the ......
Read more >
QIAsymphony® SP/AS Consolidated Operating Guide - QIAGEN
QIAsymphony SP errors that do not have error codes . ... QIAGEN can also provide retraining, for example, after software updates, or for...
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