RASA X 0.33 error on Windows 10 EOFError: Ran out of input

Windows 10 - 1809 Rasa : 2.0.2 rasa-x : 0.33 Python : 3.6.8 64 bit

I have just created a fresh project with rasa init , trained by rasa train and then trying to launch rasa x.

What i have tried already : using two separate virtual environments for Rasa and Rasa-x but i still get the error.

Error message : EOFError: Ran out of input

error logs: Starting Rasa X in local mode… ?? Traceback (most recent call last): File “c:\comp\myc-rpa-conversation-rasa2assisstant-api\venvx\lib\site-packages\rasa\cli\x.py”, line 454, in run_locally args, project_path, args.data, token=rasa_x_token, config_path=config_path File “c:\comp\myc-rpa-conversation-rasa2assisstant-api\venvx\lib\site-packages\rasax\community\local.py”, line 233, in main _start_event_service() File “c:\comp\myc-rpa-conversation-rasa2assisstant-api\venvx\lib\site-packages\rasax\community\local.py”, line 139, in _start_event_service fn=_event_service, args=(LOCAL_ENDPOINTS_PATH,), daemon=True File “c:\comp\myc-rpa-conversation-rasa2assisstant-api\venvx\lib\site-packages\rasax\community\utils\common.py”, line 855, in run_in_process p.start() File “C:\comp\Python\Python36\lib\multiprocessing\process.py”, line 105, in start self._popen = self._Popen(self) File “C:\comp\Python\Python36\lib\multiprocessing\context.py”, line 322, in _Popen return Popen(process_obj) File “C:\comp\Python\Python36\lib\multiprocessing\popen_spawn_win32.py”, line 65, in init reduction.dump(process_obj, to_child) File “C:\comp\Python\Python36\lib\multiprocessing\reduction.py”, line 60, in dump ForkingPickler(file, protocol).dump(obj) File “C:\comp\Python\Python36\lib\multiprocessing\connection.py”, line 939, in reduce_pipe_connection dh = reduction.DupHandle(conn.fileno(), access) File “C:\comp\Python\Python36\lib\multiprocessing\connection.py”, line 170, in fileno self._check_closed() File “C:\comp\Python\Python36\lib\multiprocessing\connection.py”, line 136, in _check_closed raise OSError(“handle is closed”) OSError: handle is closed

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/. Traceback (most recent call last): File “”, line 1, in File “C:\comp\Python\Python36\lib\multiprocessing\spawn.py”, line 105, in spawn_main exitcode = _main(fd) File “C:\comp\Python\Python36\lib\multiprocessing\spawn.py”, line 115, in _main self = reduction.pickle.load(from_parent) EOFError: Ran out of input

I’m having this issue too

I am facing the same issue on macOS. “rasa run” is working but “rasa x” is throwing error.

rasa version: 2.0.0

rasa x version: 0.33.0

Can you please help?

@amardeep, @zfunction Were you able to fix it?

@meghana I haven’t tried it since. I went back to the previous version of Rasa and Rasa X.

I tried with Rasa version 2.0.3 as well . Still facing same issue. This probably is compatibility issue between rasa 2.0.x and RASA-X 0.33 in windows environment.

It could be. Mh… I was thinking, could you try to see if changing the line endings have some effect? Just curious.

I have tried EOL conversion to both UNIX and Windows in all the files, still same error.

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… :rocket: 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… :rocket: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

I have tried with Rasa x 33.2 release as well. This issue still persists.

2 Likes

Is this issue resolved? I have not been able to run RASA X with RASA 2.0+ on Windows

Same here…

Have you fixed it ?

1 Like

HI, same error on macos

raceback (most recent call last): File “/usr/local/lib/python3.8/site-packages/rasa/cli/x.py”, line 472, in run_locally local.main( File “/usr/local/lib/python3.8/site-packages/rasax/community/local.py”, line 233, in main _start_event_service() File “/usr/local/lib/python3.8/site-packages/rasax/community/local.py”, line 138, in _start_event_service common_utils.run_in_process( File “/usr/local/lib/python3.8/site-packages/rasax/community/utils/common.py”, line 855, in run_in_process p.start() File “/usr/local/Cellar/python@3.8/3.8.5/Frameworks/Python.framework/Versions/3.8/lib/python3.8/multiprocessing/process.py”, line 121, in start self._popen = self._Popen(self) File “/usr/local/Cellar/python@3.8/3.8.5/Frameworks/Python.framework/Versions/3.8/lib/python3.8/multiprocessing/context.py”, line 284, in _Popen return Popen(process_obj) File “/usr/local/Cellar/python@3.8/3.8.5/Frameworks/Python.framework/Versions/3.8/lib/python3.8/multiprocessing/popen_spawn_posix.py”, line 32, in init super().init(process_obj) File “/usr/local/Cellar/python@3.8/3.8.5/Frameworks/Python.framework/Versions/3.8/lib/python3.8/multiprocessing/popen_fork.py”, line 19, in init self._launch(process_obj) File “/usr/local/Cellar/python@3.8/3.8.5/Frameworks/Python.framework/Versions/3.8/lib/python3.8/multiprocessing/popen_spawn_posix.py”, line 47, in _launch reduction.dump(process_obj, fp) File “/usr/local/Cellar/python@3.8/3.8.5/Frameworks/Python.framework/Versions/3.8/lib/python3.8/multiprocessing/reduction.py”, line 60, in dump ForkingPickler(file, protocol).dump(obj) File “/usr/local/Cellar/python@3.8/3.8.5/Frameworks/Python.framework/Versions/3.8/lib/python3.8/multiprocessing/connection.py”, line 968, in reduce_connection df = reduction.DupFd(conn.fileno()) File “/usr/local/Cellar/python@3.8/3.8.5/Frameworks/Python.framework/Versions/3.8/lib/python3.8/multiprocessing/connection.py”, line 170, in fileno self._check_closed() File “/usr/local/Cellar/python@3.8/3.8.5/Frameworks/Python.framework/Versions/3.8/lib/python3.8/multiprocessing/connection.py”, line 136, in _check_closed raise OSError(“handle is closed”) OSError: handle is closed

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/.

Any hints on how to solve this ?

This error still exists with Version 0.35 released today.

I can confirm the issue on version as below:

  1. Rasa Version: 2.2.5
  2. Rasa SDK Version: 0.35.0
  3. Python Version: 3.8.0
  4. OS: Windows 10

Hey all, this is a bug with the way we disable our telemetry. If you run rasa telemetry enable before running rasa x, it should work. Disabling telemetry using rasa telemetry disable appears to cause this error. We’ll work on a fix so you can run Rasa X without telemetry!

1 Like

thanks Chris, I am able to use Rasa X on windows now.