kode-git / nemova

Virtual Assistant based on NeMo Framework for generic task executions with vocal commands.
https://doi.org/10.6084/m9.figshare.20152850.v1
BSD 3-Clause "New" or "Revised" License
0 stars 0 forks source link

Dockerfile problems (Shell and Actions) during execution (post-build) #6

Closed kode-git closed 2 years ago

kode-git commented 2 years ago

Log from Dockerfile_shell:

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:

Environment:

No environment, it is inside the docker images built with docker.

kode-git commented 2 years ago

Problem: Solved, changing the --name action-server and put it before the rasa-actions