PermissionError: [Errno 1] Operation not permitted when run rasa shell in docker
See original GitHub issueRasa version: 1.2.3
Rasa X version (if used & relevant): 0.20.1
Python version: 3.6.8
Operating system (windows, osx, …): Linux
Issue: PermissionError: [Errno 1] Operation not permitted when run rasa shell in docker
Error (including full traceback):
File "/usr/local/lib/python3.6/site-packages/rasa/core/run.py", line 126, in run_cmdline_io
server_url=constants.DEFAULT_SERVER_FORMAT.format(port)
File "/usr/local/lib/python3.6/site-packages/rasa/core/channels/console.py", line 129, in record_messages
text = get_user_input(button_question)
File "/usr/local/lib/python3.6/site-packages/rasa/core/channels/console.py", line 77, in get_user_input
style=Style([("qmark", "#b373d6"), ("", "#b373d6")]),
File "/usr/local/lib/python3.6/site-packages/questionary/question.py", line 45, in ask
return self.unsafe_ask(patch_stdout)
File "/usr/local/lib/python3.6/site-packages/questionary/question.py", line 59, in unsafe_ask
return self.application.run()
File "/usr/local/lib/python3.6/site-packages/prompt_toolkit/application/application.py", line 709, in run
return run()
File "/usr/local/lib/python3.6/site-packages/prompt_toolkit/application/application.py", line 683, in run
return f.result()
File "/usr/local/lib/python3.6/site-packages/prompt_toolkit/eventloop/future.py", line 149, in result
raise self._exception
File "/usr/local/lib/python3.6/site-packages/prompt_toolkit/eventloop/coroutine.py", line 90, in step_next
new_f = coroutine.throw(exc)
File "/usr/local/lib/python3.6/site-packages/prompt_toolkit/application/application.py", line 658, in _run_async2
result = yield f
File "/usr/local/lib/python3.6/site-packages/prompt_toolkit/eventloop/coroutine.py", line 86, in step_next
new_f = coroutine.send(None)
File "/usr/local/lib/python3.6/site-packages/prompt_toolkit/application/application.py", line 598, in _run_async
with self.input.attach(read_from_input):
File "/usr/local/lib/python3.6/contextlib.py", line 81, in __enter__
return next(self.gen)
File "/usr/local/lib/python3.6/site-packages/prompt_toolkit/input/vt100.py", line 147, in _attached_input
loop.add_reader(fd, callback)
File "/usr/local/lib/python3.6/site-packages/prompt_toolkit/eventloop/posix.py", line 272, in add_reader
self.selector.register(fd)
File "/usr/local/lib/python3.6/site-packages/prompt_toolkit/eventloop/select.py", line 76, in register
sel.register(fd)
File "/usr/local/lib/python3.6/site-packages/prompt_toolkit/eventloop/select.py", line 131, in register
self._sel.register(fd, selectors.EVENT_READ, None)
File "/usr/local/lib/python3.6/selectors.py", line 412, in register
self._epoll.register(key.fd, epoll_events)
PermissionError: [Errno 1] Operation not permitted
Command or request that led to error:
rasa shell
Content of configuration file (config.yml) (if relevant):
# Configuration for Rasa NLU.
# https://rasa.com/docs/rasa/nlu/components/
language: en
pipeline: supervised_embeddings
# Configuration for Rasa Core.
# https://rasa.com/docs/rasa/core/policies/
policies:
- name: MemoizationPolicy
- name: KerasPolicy
- name: MappingPolicy
Issue Analytics
- State:
- Created 4 years ago
- Reactions:2
- Comments:9 (1 by maintainers)
Top Results From Across the Web
Docker Compose fails - Rasa Open Source
Implementing rasa with docker and slack. ... I get the error- ... exception=PermissionError(1, 'Operation not permitted')> rasa_1 ...
Read more >python 3.4 - PermissionError: [Errno 1] Operation not permitted
This means that you need to start your script with sudo/admin rights.
Read more >Getting permission error : r/docker - Reddit
For the most part, when you see something like PermissionError: [Errno 1] Operation not permitted on a linux machine, it means that the ......
Read more >rasa/rasa - Docker Image | Docker Hub
Running and changing the documentation. First of all, install all the required dependencies: make install. After the installation has finished, you can run...
Read more >Building the docker-compose.yaml to run or init Rasa bot
Because rasa init would try to create files to the container's /app folder, which in turn map to the host's specific folder, it...
Read more >Top Related Medium Post
No results found
Top Related StackOverflow Question
No results found
Troubleshoot Live Code
Lightrun enables developers to add logs, metrics and snapshots to live code - no restarts or redeploys required.
Start FreeTop Related Reddit Thread
No results found
Top Related Hackernoon Post
No results found
Top Related Tweet
No results found
Top Related Dev.to Post
No results found
Top Related Hashnode Post
No results found
Top GitHub Comments
I got this error; it had nothing to do with file permissions and was because I forgot to pass
-it
todocker run
You can execute rasa shell is a docker like this :