-
Notifications
You must be signed in to change notification settings - Fork 12
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Is it still working? #1
Comments
@zhanko73 Hi there, thanks for reaching out. i just tried cloning the repo as it is and ran it with Docker Compose it worked fine without any error. Opened localhost:8080 and got the output too. Did you try with docker-compose ? |
At the end, yes I tried. Before I went through all commands but first road blocker is the access right of the direcotry where I'm. (I use linux.) My uid is not 1001, while inside the container the /app is owned by user 1001 and I saw a user in the image with uid 1001. From this point there is a problem as this command will never finish and in parallel the curl also will not work of course: I get these: During handling of the above exception, another exception occurred: Traceback (most recent call last): During handling of the above exception, another exception occurred: Traceback (most recent call last): |
Then I interrupted with CTRL+C and got these: |
Also one more thing. This does not match with the compose file in the github. |
Last but not least I think this is the key as it looks like the container is for another CPU architecture, I haven't noticed in the blog: So the image harshmanvar/docker-ml-faq-rasa:3.5.2 |
@zhanko73 Tested Compose file in Github with both images mentioned working fine with the ** ARM Mac M1** version. You are right, thanks a ton for sharing the details. i tested it on Linux and hit up on similar issues, will take a look further and debug. |
OK, thank you. |
Hi
I attempted to follow the instructions and it reported permission issues.
I checked rasa docker image and it appeared user 1001 is required for the /app directory as well as $(pwd).
Once I switched current directory to that other exceptions came up related to python.
I tried with the image you used and also the most recent one too.
Bellow is for the shell:
:3.5.2 shell (extended with the right image name of course)
docker run -v $(pwd):/app
Example:
=================
FIRST I TRIED:
=================
opt/venv/lib/python3.10/site-packages/pkg_resources/init.py:2870: DeprecationWarning: Deprecated call to
pkg_resources.declare_namespace('ruamel.yaml')
.Implementing implicit namespace packages (as specified in PEP 420) is preferred to
pkg_resources.declare_namespace
. See https://setuptools.pypa.io/en/latest/references/keywords.html#keyword-namespace-packagesdeclare_namespace(pkg)
Warning: Input is not a terminal (fd=0).
2024-02-26 23:38:58 INFO root - copying /opt/venv/lib/python3.10/site-packages/rasa/cli/initial_project/actions/init.py -> ./actions
Welcome to Rasa! 🤖
To get started quickly, an initial project will be created.
If you need some help, check out the documentation at https://rasa.com/docs/rasa.
Traceback (most recent call last):
File "/opt/venv/lib/python3.10/site-packages/setuptools/_distutils/file_util.py", line 33, in _copy_file_contents
os.unlink(dst)
PermissionError: [Errno 13] Permission denied: './actions/init.py'
During handling of the above exception, another exception occurred:
Traceback (most recent call last):
File "/opt/venv/bin/rasa", line 8, in
sys.exit(main())
File "/opt/venv/lib/python3.10/site-packages/rasa/main.py", line 127, in main
cmdline_arguments.func(cmdline_arguments)
===============
THEN LATER with most recent rasa:
===============
2024-02-27 00:09:55 ERROR asyncio - Task exception was never retrieved
future: <Task finished name='Task-6' coro=<SignalRouter._dispatch() done, defined at /opt/venv/lib/python3.10/site-packages/sanic/signals.py:121> exception=EOFError()>
Traceback (most recent call last):
File "uvloop/loop.pyx", line 775, in uvloop.loop.Loop._add_reader
KeyError: 0
During handling of the above exception, another exception occurred:
Traceback (most recent call last):
File "/opt/venv/lib/python3.10/site-packages/prompt_toolkit/input/vt100.py", line 173, in _attached_input
loop.add_reader(fd, callback_wrapper)
File "uvloop/loop.pyx", line 2441, in uvloop.loop.Loop.add_reader
File "uvloop/loop.pyx", line 777, in uvloop.loop.Loop._add_reader
File "uvloop/handles/poll.pyx", line 29, in uvloop.loop.UVPoll.new
File "uvloop/handles/poll.pyx", line 17, in uvloop.loop.UVPoll._init
PermissionError: [Errno 1] Operation not permitted
During handling of the above exception, another exception occurred:
Traceback (most recent call last):
File "/opt/venv/lib/python3.10/site-packages/sanic/signals.py", line 161, in _dispatch
retval = await maybe_coroutine
The text was updated successfully, but these errors were encountered: