Clean installation error running

I’ve been following the setup guide but it errors on rasa x on a clean installation on venv:

Traceback (most recent call last):
  File "/Users/fang/Projects/avatar/venv/lib/python3.8/site-packages/rasa/cli/x.py", line 453, in run_locally
    local.main(
  File "/Users/fang/Projects/avatar/venv/lib/python3.8/site-packages/rasax/community/local.py", line 224, in main
    _initialize_with_local_data(
  File "/Users/fang/Projects/avatar/venv/lib/python3.8/site-packages/rasax/community/local.py", line 160, in _initialize_with_local_data
    loop.run_until_complete(
  File "uvloop/loop.pyx", line 1456, in uvloop.loop.Loop.run_until_complete
  File "/Users/fang/Projects/avatar/venv/lib/python3.8/site-packages/rasax/community/initialise.py", line 336, in inject_files_from_disk
    await inject_stories(
  File "/Users/fang/Projects/avatar/venv/lib/python3.8/site-packages/rasax/community/initialise.py", line 139, in inject_stories
    test_story_blocks = await story_service.save_stories_from_files(
  File "/Users/fang/Projects/avatar/venv/lib/python3.8/site-packages/rasax/community/services/story_service.py", line 537, in save_stories_from_files
    additional_blocks = await self.save_stories(
  File "/Users/fang/Projects/avatar/venv/lib/python3.8/site-packages/rasax/community/services/story_service.py", line 431, in save_stories
    processed_stories = await self._extract_stories_markdown(
  File "/Users/fang/Projects/avatar/venv/lib/python3.8/site-packages/rasax/community/services/story_service.py", line 336, in _extract_stories_markdown
    raise StoryParseError(
rasa.shared.core.training_data.story_reader.story_reader.StoryParseError

Here’s my env:

Rasa Version     : 2.0.2
Rasa SDK Version : 2.0.0
Rasa X Version   : 0.33.0
Python Version   : 3.8.5
Operating System : macOS-10.16-x86_64-i386-64bit
Python Path      : /Users/fang/Projects/avatar/venv/bin/python3
1 Like

Nevermind, I reinstalled and it worked. I think Rasa X isn’t compatible with 2.0.3 so I downgraded to 2.0.2 and it worked.

1 Like

I believe this is an issue with the way markdown stories are read - provided you’re using markdown still. We’re working on shipping a patch for this, hopefully today/tomorrow