Hi there ! I have posted a question but not getting any help. please heelp me. http://forum.rasa.com/t/eoferror-ran-out-of-input-when-try-to-run-rasa-x/26684?u=shoeb-howlader
Hi @shoeb-howlader,
As a rule, everyone here does their best to help those who need help. Nevertheless, it can happen that a topic gets lost once in a while - large amounts of new topics are created every day.
The fact that you haven’t been helped so far is most likely due to the fact that either no one has seen your topic yet, or no one has had an idea how to help.
I would ask you to give us some more information:
- Which OS are you using (I assume Windows due to your path structure) ?
- Which Python Version are you using (besides Anaconda) ?
- How did you install Rasa and Rasa X ?
- Which version of Rasa X is currently installed ?
Kind regards
Julian
@JulianGerhard thank you very much. . I became very sad when not getting any answer. I am very sorry .
- OS : Windows 10
- python 3.6
- All the packages are installed in a anaconda environment. I used pip to install rasa x . Here is what I did:
conda create -n rasaenv python=3.6
conda activate rasaenv
pip install rasa-x --extra-index-url https://pypi.rasa.com/simple
- rasa version 1.9.3
In my case rasa init
command works. rasa train
command works. rasa shell
works well. I can chat within terminal. But when I try rasa x
command in comand promt , it doesn’t works. It returns the follwing
Starting Rasa X in local mode... 🚀
Traceback (most recent call last):
File "<string>", line 1, in <module>
File "c:\programdata\anaconda3\envs\rasaenv\lib\multiprocessing\spawn.py", line 105, in spawn_main
exitcode = _main(fd)
File "c:\programdata\anaconda3\envs\rasaenv\lib\multiprocessing\spawn.py", line 115, in _main
self = reduction.pickle.load(from_parent)
EOFError: Ran out of input
Traceback (most recent call last):
File "c:\programdata\anaconda3\envs\rasaenv\lib\site-packages\rasa\cli\x.py", line 431, in run_locally
args, project_path, args.data, token=rasa_x_token, config_path=config_path
File "c:\programdata\anaconda3\envs\rasaenv\lib\site-packages\rasax\community\local.py", line 186, in main
app = rasa_x_server.configure_app()
File "c:\programdata\anaconda3\envs\rasaenv\lib\site-packages\rasax\community\api\app.py", line 206, in configure_app
app.blueprint(interface.blueprint())
File "c:\programdata\anaconda3\envs\rasaenv\lib\site-packages\rasax\community\api\blueprints\interface.py", line 119, in blueprint
interface_directory = locate_interface()
File "c:\programdata\anaconda3\envs\rasaenv\lib\site-packages\rasax\community\api\blueprints\interface.py", line 104, in locate_interface
return build_interface()
File "c:\programdata\anaconda3\envs\rasaenv\lib\site-packages\rasax\community\api\blueprints\interface.py", line 80, in build_interface
p.start()
File "c:\programdata\anaconda3\envs\rasaenv\lib\multiprocessing\process.py", line 105, in start
self._popen = self._Popen(self)
File "c:\programdata\anaconda3\envs\rasaenv\lib\multiprocessing\context.py", line 223, in _Popen
return _default_context.get_context().Process._Popen(process_obj)
File "c:\programdata\anaconda3\envs\rasaenv\lib\multiprocessing\context.py", line 322, in _Popen
return Popen(process_obj)
File "c:\programdata\anaconda3\envs\rasaenv\lib\multiprocessing\popen_spawn_win32.py", line 65, in __init__
reduction.dump(process_obj, to_child)
File "c:\programdata\anaconda3\envs\rasaenv\lib\multiprocessing\reduction.py", line 60, in dump
ForkingPickler(file, protocol).dump(obj)
AttributeError: Can't pickle local object 'build_interface.<locals>.run_build'
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/.
package installed in my environment:
# Name Version Build Channel
absl-py 0.9.0 pypi_0 pypi
aiofiles 0.4.0 pypi_0 pypi
aiohttp 3.6.2 pypi_0 pypi
alembic 1.4.2 pypi_0 pypi
apscheduler 3.6.3 pypi_0 pypi
astor 0.8.1 pypi_0 pypi
async-generator 1.10 pypi_0 pypi
async-timeout 3.0.1 pypi_0 pypi
attrs 19.3.0 pypi_0 pypi
boto3 1.12.31 pypi_0 pypi
botocore 1.15.31 pypi_0 pypi
cachetools 4.0.0 pypi_0 pypi
certifi 2019.11.28 py36_1
cffi 1.14.0 pypi_0 pypi
chardet 3.0.4 pypi_0 pypi
cloudpickle 1.2.2 pypi_0 pypi
colorama 0.4.3 pypi_0 pypi
colorclass 2.2.0 pypi_0 pypi
coloredlogs 10.0 pypi_0 pypi
colorhash 1.0.2 pypi_0 pypi
contextvars 2.4 pypi_0 pypi
cryptography 2.8 pypi_0 pypi
cycler 0.10.0 pypi_0 pypi
decorator 4.4.2 pypi_0 pypi
dnspython 1.16.0 pypi_0 pypi
docopt 0.6.2 pypi_0 pypi
docutils 0.15.2 pypi_0 pypi
fbmessenger 6.0.0 pypi_0 pypi
future 0.18.2 pypi_0 pypi
gast 0.2.2 pypi_0 pypi
gevent 1.4.0 pypi_0 pypi
gitdb 4.0.2 pypi_0 pypi
gitpython 3.1.0 pypi_0 pypi
google-auth 1.12.0 pypi_0 pypi
google-auth-oauthlib 0.4.1 pypi_0 pypi
google-pasta 0.2.0 pypi_0 pypi
greenlet 0.4.15 pypi_0 pypi
grpcio 1.27.2 pypi_0 pypi
h11 0.8.1 pypi_0 pypi
h2 3.2.0 pypi_0 pypi
h5py 2.10.0 pypi_0 pypi
hpack 3.0.0 pypi_0 pypi
hstspreload 2020.3.25 pypi_0 pypi
httplib2 0.17.0 pypi_0 pypi
httptools 0.1.1 pypi_0 pypi
httpx 0.9.3 pypi_0 pypi
humanfriendly 8.1 pypi_0 pypi
hyperframe 5.2.0 pypi_0 pypi
idna 2.9 pypi_0 pypi
idna-ssl 1.1.0 pypi_0 pypi
immutables 0.11 pypi_0 pypi
importlib-metadata 1.6.0 pypi_0 pypi
isodate 0.6.0 pypi_0 pypi
jmespath 0.9.5 pypi_0 pypi
joblib 0.14.1 pypi_0 pypi
jsonpickle 1.3 pypi_0 pypi
jsonschema 3.2.0 pypi_0 pypi
kafka-python 1.4.7 pypi_0 pypi
keras-applications 1.0.8 pypi_0 pypi
keras-preprocessing 1.1.0 pypi_0 pypi
kiwisolver 1.1.0 pypi_0 pypi
mako 1.1.2 pypi_0 pypi
markdown 3.2.1 pypi_0 pypi
markupsafe 1.1.1 pypi_0 pypi
matplotlib 3.1.3 pypi_0 pypi
mattermostwrapper 2.2 pypi_0 pypi
multidict 4.7.5 pypi_0 pypi
networkx 2.4 pypi_0 pypi
numpy 1.18.2 pypi_0 pypi
oauth2client 4.1.3 pypi_0 pypi
oauthlib 3.1.0 pypi_0 pypi
opt-einsum 3.2.0 pypi_0 pypi
packaging 19.0 pypi_0 pypi
pika 1.1.0 pypi_0 pypi
pip 20.0.2 py36_1
prompt-toolkit 2.0.10 pypi_0 pypi
protobuf 3.11.3 pypi_0 pypi
psycopg2-binary 2.8.4 pypi_0 pypi
pyasn1 0.4.8 pypi_0 pypi
pyasn1-modules 0.2.8 pypi_0 pypi
pycparser 2.20 pypi_0 pypi
pydot 1.4.1 pypi_0 pypi
pyjwt 1.7.1 pypi_0 pypi
pykwalify 1.7.0 pypi_0 pypi
pymongo 3.8.0 pypi_0 pypi
pyparsing 2.4.6 pypi_0 pypi
pyreadline 2.1 pypi_0 pypi
pyrsistent 0.16.0 pypi_0 pypi
pysocks 1.7.1 pypi_0 pypi
python 3.6.10 h9f7ef89_1
python-crfsuite 0.9.7 pypi_0 pypi
python-dateutil 2.8.1 pypi_0 pypi
python-editor 1.0.4 pypi_0 pypi
python-engineio 3.11.2 pypi_0 pypi
python-socketio 4.4.0 pypi_0 pypi
python-telegram-bot 11.1.0 pypi_0 pypi
pytz 2019.3 pypi_0 pypi
pyyaml 5.3.1 pypi_0 pypi
questionary 1.5.1 pypi_0 pypi
rasa 1.9.3 pypi_0 pypi
rasa-sdk 1.9.0 pypi_0 pypi
rasa-x 0.27.1 pypi_0 pypi
redis 3.4.1 pypi_0 pypi
requests 2.23.0 pypi_0 pypi
requests-oauthlib 1.3.0 pypi_0 pypi
requests-toolbelt 0.9.1 pypi_0 pypi
rfc3986 1.3.2 pypi_0 pypi
rocketchat-api 0.6.36 pypi_0 pypi
rsa 4.0 pypi_0 pypi
ruamel-yaml 0.15.100 pypi_0 pypi
s3transfer 0.3.3 pypi_0 pypi
sanic 19.12.2 pypi_0 pypi
sanic-cors 0.10.0.post3 pypi_0 pypi
sanic-jwt 1.3.2 pypi_0 pypi
sanic-plugins-framework 0.9.2 pypi_0 pypi
scikit-learn 0.22.2.post1 pypi_0 pypi
scipy 1.4.1 pypi_0 pypi
setuptools 46.1.1 py36_0
six 1.14.0 pypi_0 pypi
sklearn-crfsuite 0.3.6 pypi_0 pypi
slackclient 2.5.0 pypi_0 pypi
smmap 3.0.1 pypi_0 pypi
sniffio 1.1.0 pypi_0 pypi
sqlalchemy 1.3.15 pypi_0 pypi
sqlite 3.31.1 he774522_0
tabulate 0.8.7 pypi_0 pypi
tensorboard 2.1.1 pypi_0 pypi
tensorflow 2.1.0 pypi_0 pypi
tensorflow-addons 0.8.3 pypi_0 pypi
tensorflow-estimator 2.1.0 pypi_0 pypi
tensorflow-hub 0.7.0 pypi_0 pypi
tensorflow-probability 0.7.0 pypi_0 pypi
termcolor 1.1.0 pypi_0 pypi
terminaltables 3.1.0 pypi_0 pypi
tqdm 4.31.1 pypi_0 pypi
twilio 6.26.3 pypi_0 pypi
typeguard 2.7.1 pypi_0 pypi
typing-extensions 3.7.4.1 pypi_0 pypi
tzlocal 2.0.0 pypi_0 pypi
ujson 1.35 pypi_0 pypi
urllib3 1.25.8 pypi_0 pypi
vc 14.1 h0510ff6_4
vs2015_runtime 14.16.27012 hf0eaf9b_1
wcwidth 0.1.9 pypi_0 pypi
webexteamssdk 1.1.1 pypi_0 pypi
websockets 8.1 pypi_0 pypi
werkzeug 1.0.0 pypi_0 pypi
wheel 0.34.2 py36_0
wincertstore 0.2 py36h7fe50ca_0
wrapt 1.12.1 pypi_0 pypi
yarl 1.4.2 pypi_0 pypi
zipp 3.1.0 pypi_0 pypi
many many thanks @JulianGerhard . I am very happy to see your reply. I hope you can help me to overcome this problem.
Kind regards
shoeb
Hi @shoeb-howlader,
during my research I stumbled upon this issue on Github. Can you please try to separate those environments and test again? At least I can reproduce the problem, but I didnt have the time to check the recommended solution of @degiz.
Kind regards
Julian
thanks @JulianGerhard for your valueable time:heart:. I have created a new virtual environment. then installed rasa-x but unfortunately I am facing the same issue again. .
me toooooo so I go fallback
pip install rasa-x==0.26.3 --extra-index-url https://pypi.rasa.com/simple
rasa 1.8.3 rasa-sdk 1.9.0 rasa-x 0.26.3
@hello-code is it working ?
rasa x is working.
@hello-code your environment python version?
@hello-code I am trying to run this command . but getting error
> ERROR: Could not install packages due to an EnvironmentError: HTTPSConnectionPool(host='storage.googleapis.com', port=443): Max retries exceeded with url: /rasa-packages/74d7/rasa-x/rasa_x-0.27.0-py3-none-any.whl?Signature=b0VFfLWdagc%2BsYwal7EdKeZjQ4wQ7dnY4vWWffPzr5qcRUQI8byoDN4vFqOZ6wDURWbTN9dst7SrVRMPhJa5wrkpVpGkDgwU4iMJoF%2BSWb7npdkmSpMWlrEmoA2PNxIKoee0H9ctLm6%2BhUtB%2B76fM8jLUi82P9qpuH02J%2FXjQss0D%2FhFuk0%2FfMocKfTxcP0%2BYecUTa5OqBtLh%2BlZJDPq4XemSuYIIB3%2BIrp7McinJrYjCKvrfGXY%2FgzQfgQjjMpHV3lvdw6KRgkJur3QQ%2B9bIsYrHVuGjCCatMAi6MegALLdn5f0ntPmoqv%2BkB03TvL7QiOSw5pzU5FhZq%2BRWVrVuQ%3D%3D&Expires=1585672278&GoogleAccessId=pypi-storage%40pypi-190908.iam.gserviceaccount.com (Caused by SSLError(SSLEOFError(8, 'EOF occurred in violation of protocol (_ssl.c:852)'),))
Network issue. Where are you from? Maybe you need a proxy. I use Windows 10, miniconda3, python3.6.8
I solved this problem setting /etc/pip.conf like this:
[global] trusted-host = Links for pip pypi.org files.pythonhosted.org https://pypi.rasa.com/simple pypi.rasa.com pypi.python.org pypi.com storage.googleapis.com https://storage.googleapis.com