Matplotlib created a temporary config/cache directory at /tmp/matplotlib-fxx711pg because the default path (/.config/matplotlib) is not a writable directory; it is highly recommended to set the MPLCONFIGDIR environment variable to a writable directory, in particular to speed up the import of Matplotlib and to better support multiprocessing.
2022-01-15 11:36:01.606254: W tensorflow/stream_executor/platform/default/dso_loader.cc:59] Could not load dynamic library 'libcudart.so.10.1'; dlerror: libcudart.so.10.1: cannot open shared object file: No such file or directory
2022-01-15 11:36:01.606708: I tensorflow/stream_executor/cuda/cudart_stub.cc:29] Ignore above cudart dlerror if you do not have a GPU set up on your machine.
2022-01-15 11:36:03 WARNING rasa.utils.common - Failed to write global config. Error: [Errno 13] Permission denied: '/.config'. Skipping.
2022-01-15 11:36:03 INFO root - Starting Rasa server on http://localhost:5005
2022-01-15 11:36:03 INFO rasa.model - Loading model models/20220113-153944.tar.gz...
2022-01-15 11:36:04 ERROR rasa.core.agent - Could not load model due to Not all required importable packages are installed to use the configured NLU pipeline. To use this pipeline, you need to install the missing modules:
- spacy (needed for rasa.nlu.utils.spacy_utils.SpacyNLP)
Please install the packages that contain the missing modules..
/opt/venv/lib/python3.8/site-packages/rasa/shared/utils/io.py:93: UserWarning: The model at 'models' could not be loaded. Error: <class 'rasa.exceptions.MissingDependencyException'>: Not all required importable packages are installed to use the configured NLU pipeline. To use this pipeline, you need to install the missing modules:
- spacy (needed for rasa.nlu.utils.spacy_utils.SpacyNLP)
Please install the packages that contain the missing modules.
/opt/venv/lib/python3.8/site-packages/rasa/shared/utils/io.py:93: UserWarning: Agent could not be loaded with the provided configuration. Load default agent without any model.
Log from Dockerfile_actions:
Matplotlib created a temporary config/cache directory at /tmp/matplotlib-hk13xcws because the default path (/.config/matplotlib) is not a writable directory; it is highly recommended to set the MPLCONFIGDIR environment variable to a writable directory, in particular to speed up the import of Matplotlib and to better support multiprocessing.
2022-01-15 11:29:38.467179: W tensorflow/stream_executor/platform/default/dso_loader.cc:59] Could not load dynamic library 'libcudart.so.10.1'; dlerror: libcudart.so.10.1: cannot open shared object file: No such file or directory
2022-01-15 11:29:38.467824: I tensorflow/stream_executor/cuda/cudart_stub.cc:29] Ignore above cudart dlerror if you do not have a GPU set up on your machine.
usage: rasa [-h] [--version]
{init,run,shell,train,interactive,telemetry,test,visualize,data,export,x}
...
rasa: error: invalid choice: 'action-server' (choose from 'init', 'run', 'shell', 'train', 'interactive', 'telemetry', 'test', 'visualize', 'data', 'export', 'x')
How to reproduce:
Step 0: Type docker network create jarvis-net
Step 1: Go into the rasa project folder with the Dockerfile and type sudo docker image build -f Dockerfile_actions.dockerfile -t rasa-actions .
Step 2: Go into the rasa project folder with the Dockerfile and type sudo docker image build -f Dockerfile_shell.dockerfile -t rasa-shell .
Step 3: Type sudo docker run -it -p 5055:5055 --network jarvis-net --mount "type=bind,source=$(pwd)/,target=/app" rasa-actions --name action-server
Step 3: Going in the main directory the third terminal and type cd rasa && sudo docker run -it -p 5005:5005 --network jarvis-net --mount "type=bind,source=$(pwd)/,target=/app" rasa-shell
Environment:
No environment, it is inside the docker images built with docker.
Log from Dockerfile_shell:
Log from Dockerfile_actions:
How to reproduce:
docker network create jarvis-net
sudo docker image build -f Dockerfile_actions.dockerfile -t rasa-actions .
sudo docker image build -f Dockerfile_shell.dockerfile -t rasa-shell .
sudo docker run -it -p 5055:5055 --network jarvis-net --mount "type=bind,source=$(pwd)/,target=/app" rasa-actions --name action-server
cd rasa && sudo docker run -it -p 5005:5005 --network jarvis-net --mount "type=bind,source=$(pwd)/,target=/app" rasa-shell
Environment:
No environment, it is inside the docker images built with docker.