I get the following error:
Sorry, something went wrong (see error above). Make sure to start Rasa X with valid data and valid domain and config files. Please, also check any warnings that popped up.
If you need help fixing the issue visit our forum: http://forum.rasa.com/.
I run this and this is the error:
~/projects/finder> rasa x
Starting Rasa X in local mode…
Traceback (most recent call last):
File “/Users/dagosd2/rasa-project/lib/python3.8/site-packages/rasa/cli/x.py”, line 453, in run_locally
local.main(
File “/Users/dagosd2/rasa-project/lib/python3.8/site-packages/rasax/community/local.py”, line 233, in main
_start_event_service()
File “/Users/dagosd2/rasa-project/lib/python3.8/site-packages/rasax/community/local.py”, line 138, in _start_event_service
common_utils.run_in_process(
File “/Users/dagosd2/rasa-project/lib/python3.8/site-packages/rasax/community/utils/common.py”, line 855, in run_in_process
p.start()
File “/Users/dagosd2/.pyenv/versions/3.8.0/lib/python3.8/multiprocessing/process.py”, line 121, in start
self._popen = self._Popen(self)
File “/Users/dagosd2/.pyenv/versions/3.8.0/lib/python3.8/multiprocessing/context.py”, line 283, in _Popen
return Popen(process_obj)
File “/Users/dagosd2/.pyenv/versions/3.8.0/lib/python3.8/multiprocessing/popen_spawn_posix.py”, line 32, in init
super().init(process_obj)
File “/Users/dagosd2/.pyenv/versions/3.8.0/lib/python3.8/multiprocessing/popen_fork.py”, line 19, in init
self._launch(process_obj)
File “/Users/dagosd2/.pyenv/versions/3.8.0/lib/python3.8/multiprocessing/popen_spawn_posix.py”, line 47, in _launch
reduction.dump(process_obj, fp)
File “/Users/dagosd2/.pyenv/versions/3.8.0/lib/python3.8/multiprocessing/reduction.py”, line 60, in dump
ForkingPickler(file, protocol).dump(obj)
File “/Users/dagosd2/.pyenv/versions/3.8.0/lib/python3.8/multiprocessing/connection.py”, line 967, in reduce_connection
df = reduction.DupFd(conn.fileno())
File “/Users/dagosd2/.pyenv/versions/3.8.0/lib/python3.8/multiprocessing/connection.py”, line 170, in fileno
self._check_closed()
File “/Users/dagosd2/.pyenv/versions/3.8.0/lib/python3.8/multiprocessing/connection.py”, line 136, in _check_closed
raise OSError(“handle is closed”)
OSError: handle is closed
I’m running on OSX Catalina. python 3.8.0
With --debug I get this :
2020-11-06 07:44:19 DEBUG git.cmd - Popen([‘git’, ‘version’], cwd=/Users/dagosd2/Projects/finder, universal_newlines=False, shell=None, istream=None)
2020-11-06 07:44:19 DEBUG git.cmd - Popen([‘git’, ‘version’], cwd=/Users/dagosd2/Projects/finder, universal_newlines=False, shell=None, istream=None)
2020-11-06 07:44:19 INFO rasa.shared.utils.validation - The ‘version’ key is missing in the training data file /Users/dagosd2/Projects/finder/domain.yml. Rasa Open Source will read the file as a version ‘2.0’ file. See Training Data Format.
2020-11-06 07:44:19 DEBUG rasa.cli.utils - Parameter ‘endpoints’ not set. Using default location ‘endpoints.yml’ instead.
2020-11-06 07:44:20 DEBUG rasax.community.telemetry - Telemetry was disabled.
2020-11-06 07:44:20 DEBUG rasax.community.utils.common - Generating JWT RSA key pair.
2020-11-06 07:44:20 DEBUG rasax.community.utils.common - Saved RSA private key to temporary file ‘/var/folders/_1/cdqy1dk51q15zjtzlh2d4tq40000gn/T/tmpswak4x7j’.
2020-11-06 07:44:20 DEBUG sanic_jwt.configuration - validating provided secret
2020-11-06 07:44:20 DEBUG sanic_jwt.configuration - validating keys (if needed)
2020-11-06 07:44:20 DEBUG sanic_jwt.configuration - loading secret and/or keys (if needed)
2020-11-06 07:44:20 DEBUG rasax.community.sql_migrations - Start running schema migrations.
2020-11-06 07:44:20 DEBUG rasax.community.database.utils - Turned SQLite foreign key enforcement on.
2020-11-06 07:44:20 DEBUG rasax.community.database.utils - Turned on SQLite WAL mode.
2020-11-06 07:44:20 DEBUG rasax.community.database.utils - Turned SQLite foreign key enforcement off.
2020-11-06 07:44:20 DEBUG rasax.community.database.utils - Turned on SQLite WAL mode.
2020-11-06 07:44:20 DEBUG rasax.community.database.utils - Turned SQLite foreign key enforcement on.
2020-11-06 07:44:20 DEBUG rasax.community.database.utils - Turned on SQLite WAL mode.
2020-11-06 07:44:20 DEBUG rasax.community.sql_migrations - Schema migrations finished.
2020-11-06 07:44:20 DEBUG rasax.community.database.utils - Turned SQLite foreign key enforcement on.
2020-11-06 07:44:20 DEBUG rasax.community.database.utils - Turned on SQLite WAL mode.
2020-11-06 07:44:20 DEBUG rasax.community.database.utils - Turned SQLite foreign key enforcement on.
2020-11-06 07:44:20 DEBUG rasax.community.database.utils - Turned on SQLite WAL mode.
2020-11-06 07:44:20 DEBUG rasax.community.database.utils - Turned SQLite foreign key enforcement on.
2020-11-06 07:44:20 DEBUG rasax.community.database.utils - Turned on SQLite WAL mode.
2020-11-06 07:44:20 DEBUG rasax.community.sql_migrations - Found existing system system user ‘system_user’.
2020-11-06 07:44:20 DEBUG rasax.community.services.user_service - Found user: ‘me’.
2020-11-06 07:44:20 DEBUG rasax.community.services.user_service - Updated password for user ‘me’ to ‘i1Ve1IUVBrG7’.
2020-11-06 07:44:20 INFO rasa.shared.utils.validation - The ‘version’ key is missing in the training data file . Rasa Open Source will read the file as a version ‘2.0’ file. See Training Data Format.
2020-11-06 07:44:20 DEBUG rasax.community.services.settings_service - {‘language’: ‘en’, ‘pipeline’: None, ‘policies’: None}
2020-11-06 07:44:20 DEBUG rasax.community.initialise - Loaded local configuration from ‘/Users/dagosd2/Projects/finder/config.yml’ into database
2020-11-06 07:44:20 DEBUG rasa.shared.nlu.training_data.loading - Training data format of ‘data/nlu.yml’ is ‘rasa_yml’.
2020-11-06 07:44:20 DEBUG rasa.shared.nlu.training_data.loading - Training data format of ‘data/rules.yml’ is ‘unk’.
2020-11-06 07:44:20 DEBUG rasa.shared.nlu.training_data.loading - Training data format of ‘data/stories.yml’ is ‘unk’.
2020-11-06 07:44:20 DEBUG rasax.community.services.story_service - Injecting stories from file ‘data/rules.yml’ to database (test stories: False).
2020-11-06 07:44:20 DEBUG rasax.community.services.story_service - Injecting stories from file ‘data/stories.yml’ to database (test stories: False).
2020-11-06 07:44:21 DEBUG rasax.community.services.domain_service - Intents ‘[‘mood_unhappy’, ‘bot_challenge’, ‘affirm’, ‘greet’, ‘deny’, ‘goodbye’, ‘mood_great’]’ are already contained in domain for project_id ‘default’.
2020-11-06 07:44:21 DEBUG rasax.community.services.story_service - Injecting stories from file ‘tests/test_stories.yml’ to database (test stories: True).
2020-11-06 07:44:21 INFO rasa.shared.utils.validation - The ‘version’ key is missing in the training data file /var/folders/_1/cdqy1dk51q15zjtzlh2d4tq40000gn/T/tmpiub7m9_4. Rasa Open Source will read the file as a version ‘2.0’ file. See Training Data Format.
2020-11-06 07:44:21 DEBUG rasax.community.services.domain_service - Intents ‘[‘mood_unhappy’, ‘bot_challenge’, ‘affirm’, ‘greet’, ‘deny’, ‘goodbye’, ‘mood_great’]’ are already contained in domain for project_id ‘default’.
2020-11-06 07:44:21 DEBUG rasax.community.initialise - Injected 5 Core stories.
2020-11-06 07:44:21 DEBUG rasax.community.initialise - Injected 7 test stories.
2020-11-06 07:44:21 DEBUG rasax.community.services.data_service - Injecting NLU data from file ‘data/nlu.yml’ to database.
2020-11-06 07:44:21 DEBUG rasa.shared.nlu.training_data.loading - Training data format of ‘data/nlu.yml’ is ‘rasa_yml’.
2020-11-06 07:44:21 DEBUG rasax.community.database.utils - Turned SQLite foreign key enforcement on.
2020-11-06 07:44:21 DEBUG rasax.community.database.utils - Turned on SQLite WAL mode.
2020-11-06 07:44:21 DEBUG rasax.community.services.domain_service - Intents ‘[‘greet’, ‘goodbye’, ‘affirm’, ‘deny’, ‘mood_great’, ‘mood_unhappy’, ‘bot_challenge’]’ are already contained in domain for project_id ‘default’.
2020-11-06 07:44:21 DEBUG rasax.community.initialise - Injected 69 NLU training data examples.
e[92mStarting Rasa X in local mode… e[0m
Traceback (most recent call last):
File “/Users/dagosd2/rasa-project/lib/python3.8/site-packages/rasa/cli/x.py”, line 453, in run_locally
local.main(
File “/Users/dagosd2/rasa-project/lib/python3.8/site-packages/rasax/community/local.py”, line 233, in main
_start_event_service()
File “/Users/dagosd2/rasa-project/lib/python3.8/site-packages/rasax/community/local.py”, line 138, in _start_event_service
common_utils.run_in_process(
File “/Users/dagosd2/rasa-project/lib/python3.8/site-packages/rasax/community/utils/common.py”, line 855, in run_in_process
p.start()
File “/Users/dagosd2/.pyenv/versions/3.8.0/lib/python3.8/multiprocessing/process.py”, line 121, in start
self._popen = self._Popen(self)
File “/Users/dagosd2/.pyenv/versions/3.8.0/lib/python3.8/multiprocessing/context.py”, line 283, in _Popen
return Popen(process_obj)
File “/Users/dagosd2/.pyenv/versions/3.8.0/lib/python3.8/multiprocessing/popen_spawn_posix.py”, line 32, in init
super().init(process_obj)
File “/Users/dagosd2/.pyenv/versions/3.8.0/lib/python3.8/multiprocessing/popen_fork.py”, line 19, in init
self._launch(process_obj)
File “/Users/dagosd2/.pyenv/versions/3.8.0/lib/python3.8/multiprocessing/popen_spawn_posix.py”, line 47, in _launch
reduction.dump(process_obj, fp)
File “/Users/dagosd2/.pyenv/versions/3.8.0/lib/python3.8/multiprocessing/reduction.py”, line 60, in dump
ForkingPickler(file, protocol).dump(obj)
File “/Users/dagosd2/.pyenv/versions/3.8.0/lib/python3.8/multiprocessing/connection.py”, line 967, in reduce_connection
df = reduction.DupFd(conn.fileno())
File “/Users/dagosd2/.pyenv/versions/3.8.0/lib/python3.8/multiprocessing/connection.py”, line 170, in fileno
self._check_closed()
File “/Users/dagosd2/.pyenv/versions/3.8.0/lib/python3.8/multiprocessing/connection.py”, line 136, in _check_closed
raise OSError(“handle is closed”)
OSError: handle is closed
e[91mSorry, something went wrong (see error above). Make sure to start Rasa X with valid data and valid domain and config files. Please, also check any warnings that popped up.
If you need help fixing the issue visit our forum: http://forum.rasa.com/.e[0m