Rasa: Rasa X not loading conversations

Created on 21 Jun 2019  路  33Comments  路  Source: RasaHQ/rasa

Rasa version: Rasa 1.0.7

Rasa X version (if used & relevant): 0.19.0

Python version: 3.7.3

Operating system (windows, osx, ...): Windows 10 Enterprise

Issue:

I have a recently installed rasa 1.0. It has the "cheer-up" demo bot with very little modification except that I used Rasa X to add a couple more stories for training. When I start Rasa X and switch to Conversations, it hangs with a message "loading messages" and "0 conversations".

I have looked at this issue: https://github.com/RasaHQ/rasa/issues/3663

I don't have anything in my endpoints, but running Rasa X the first time, it did create rasa.db and tracker.db files.

Also, what is the correct way to terminate rasa run or rasa x? When I do Ctrl+X in the Command Prompt on windows, it hangs and will not close.

Also, are these the most recent versions of Rasa components? I have tried upgrading using pip install rasa-x --extra-index-url https://pypi.rasa.com/simple and a few other ways, but it always says it is up to date.

Error (including full traceback):


Command or request that led to error:

rasa x

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

# Configuration for Rasa NLU.
# https://rasa.com/docs/rasa/nlu/components/
language: en
pipeline: supervised_embeddings

# Configuration for Rasa Core.
# https://rasa.com/docs/rasa/core/policies/
policies:
  - name: MemoizationPolicy
  - name: KerasPolicy
  - name: MappingPolicy

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

intents:
  - greet
  - goodbye
  - affirm
  - deny
  - mood_great
  - mood_unhappy

actions:
- utter_greet
- utter_cheer_up
- utter_did_that_help
- utter_happy
- utter_goodbye

templates:
  utter_greet:
  - text: "Hey! How are you?"

  utter_cheer_up:
  - text: "Here is something to cheer you up:"
    image: "https://i.imgur.com/nGF1K8f.jpg"

  utter_did_that_help:
  - text: "Did that help you?"

  utter_happy:
  - text: "Great carry on!"

  utter_goodbye:
  - text: "Bye"
stale type

Most helpful comment

Hi,

Just to add my name to the list, I am having the same issue, same standard set up on a MacOs.

Python version 3.7.4
Rasa version 1.1.6
Pip 19.1.1

Updating training data is fine, just can't see conversations. Can see my conversation though in the 'Talk to your bot' though. As you're first post says, sounds like this is how it should be. Although I do see the pop up appear everytime I open the Conversations page.

No need to reply fast ;0)
Many thanks - just trying to persuade my employer now to send me over to San Fran for the conference.

All 33 comments

Forgot to mention that I also get the "It seems like its your first time here! What would you like to use Rasa X for?" every time I start it. In the "Talk to your bot" screen, it does show my last conversation with my bot.

@tpacker are there any conversations that should show up though? As in has anyone had a conversation with your bot through the "share your bot" screen for example?

I have not "shared" my bot, so there would be no conversations with other people. I assumed it would save my own conversations, or at the very least stop acting like it is trying to load conversations.

Your own conversations are saved in the talk to your bot screen. If you haven't shared your bot yet then it's expected that there's no conversations in the conversations screen. We are working on making that more clear.
I'll leave this issue open for now until a release is out for that

Sounds good. It just doesn't act right on my windows machine, as it looks like it tries to load conversations and also every time I open that page it gives me the "It seems like its your first time here!" page first. I do not have these issues on my macbook. Thanks.

Interesting, @ricwo @JEM-Mosig could this be another window specific thing?

I also get the "It seems like its your first time here!" page and I'm on a Mac. I think I also get "loading conversations"

@tpacker you mentioned you're on version 0.19.0. Would you mind upgrading to 0.19.2 and seeing if the problem persists?

@snbuchholz, which version are you running?

I'm already on 0.19.2

Short answer: it doesn't seem to help after upgrading to 0.19.2.

Long answer:

I tried to upgrade using the following (one at a time):

  • pip install rasa-x --extra-index-url https://pypi.rasa.com/simple
  • easy_install --upgrade rasa-x
  • easy_install --upgrade rasa
  • conda update --all

But the version remained the same in conda list. So I uninstalled and reinstalled rasa-x, which successfully upgraded:

  1. pip uninstall rasa-x
  2. pip install rasa-x --extra-index-url https://pypi.rasa.com/simple

But when I go back to the UI, it seem to behave the same way.

This issue is probably lower priority, since it doesn't seem to be blocking any work and I haven't tried sharing my bot yet.

@ricwo any ideas?

It sounds a bit like sqlite operations don't work (both the lack of conversations and the repeated greeting message). @tpacker are you able to make changes to your NLU training data and save them? Are they persisted when you restart? 0.19.3 has been released today, fixing one known issue on Windows (doesn't sound like this one though). Can you try upgrading in any case to see if that helps?

@JEM-Mosig are you able to reproduce this on windows?

Change NLU training data, like confirm/change annotations in the NLU Training section of Rasa X? Yes. When I restart Rasa X, the training seems to have been saved.

Btw, what is the right way to stop rasa x on the Windows command line? I am used to using Ctr+C, but on Windows the command throws and exception and then freezes my Command Prompt window so I cannot do anything with it except completely close it and restart it.

I upgraded rasa x to
rasa-x 0.19.3 pypi_0 pypi
but no change to "Loading messages" and splash screen.

I also have the same problem, "Loading messages"

I installed miniconda and Rasa on Windows 10 with (in the Anaconda prompt):

conda create -n iss3839 python=3.7.3
conda activate iss3839
pip install rasa-x --extra-index-url https://pypi.rasa.com/simple

This leads to a long installation process which ends in an error because Visua C++ is not installed, so I installed the VC++ 2019 and did the pip install again after restarting the prompt, and it worked.
Now I create the project with rasa init and copy the config.yml and domain.yml files you provided. Starting rasa x opens Rasa X in the browser. There is no "Welcome" screen. The Conversations (0) panel is active, showing Loading conversations forever.

If I go to the stories tab everything seems fine. When I go back to conversations, the What would you like to use Rasa X for? screen shows up. Clicking on Creating new assistants from scratch opens a new tab and jumps to the Talk to your bot tab. Clicking on Maintain and improve existing assistants opens a new tab and shows Loading messages in the conversations tab forever. But now in the central column instead of on the left. This can be repeated arbitrarily.

I quit rasa x with ctrl + c
rasa --version gives "Rasa 1.1.5"

i have same problem when i switch to conversations, always show " What would you like to use Rasa X for?" . have anyone solve it?

I also have the same problem, by clicking on the conversation it showing conversations(0)
"Loading Conversations"
i used rasa version is 1.1.5
If I go to the stories tab everything seems fine. When I go back to conversations, the What would you like to use Rasa X for? screen shows up. Clicking on Creating new assistants from scratch opens a new tab and jumps to the Talk to your bot tab. Clicking on Maintain and improve existing assistants opens a new tab and shows Loading messages in the conversations tab forever. But now in the central column instead of on the left. This can be repeated arbitrarily.

please reply fast
thanks in advance

Hi,

Just to add my name to the list, I am having the same issue, same standard set up on a MacOs.

Python version 3.7.4
Rasa version 1.1.6
Pip 19.1.1

Updating training data is fine, just can't see conversations. Can see my conversation though in the 'Talk to your bot' though. As you're first post says, sounds like this is how it should be. Although I do see the pop up appear everytime I open the Conversations page.

No need to reply fast ;0)
Many thanks - just trying to persuade my employer now to send me over to San Fran for the conference.

i installed the rasa x on ubuntu 16.04LTS

I think this should be fixed in the latest release.

No

@JEM-Mosig were you able to reproduce the issue?

@tmbo I have to try it on my Windows laptop tonight.

i tried this in ubuntu linux platform

@tmbo I just tried it with a fresh rasa-x install on my windows laptop ("rasa":{"production":"1.3.8","worker":"1.3.8"},"rasa-x":"0.21.3"). Eveything is exactly as described before (here and here), except for the following change:

If I go to the stories tab everything seems fine. When I go back to conversations, the What would you like to use Rasa X for? screen shows up. Clicking on Creating new assistants from scratch opens a new tab and jumps to the Talk to your bot tab. Clicking on Maintain and improve existing assistants opens a new tab and shows Loading messages in the conversations tab forever

It now shows correctly "No conversations yet!"

But now in the central column instead of on the left. This can be repeated arbitrarily.

Hi guys. Just adding my name to the list as well. Im having the same issue on windows. i just downloaded raza x for the first time yesterday so i suppose it is the latest version. I have conversations 0 and it is showing me those links mentioned above. in summary the conversatoins are not saving. i have tried sharing the link and having a conversation but the conversation is not getting saved either. has anyone found a fix to this issue?

@ArjaanBuijk this might be something for you to look into?

This issue has been automatically marked as stale because it has not had recent activity. It will be closed if no further activity occurs. Thank you for your contributions.

This issue has been automatically closed due to inactivity. Please create a new issue if you need more help.

I have the same problem, I am on Mac

Was this page helpful?
0 / 5 - 0 ratings