Giter Club home page Giter Club logo

docker-ml-faq-rassa's People

Contributors

harsh4870 avatar

Stargazers

 avatar  avatar  avatar

Watchers

 avatar  avatar

docker-ml-faq-rassa's Issues

Is it still working?

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:
docker run -v $(pwd):/app :3.5.2 shell (extended with the right image name of course)

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-packages
declare_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

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    ๐Ÿ–– Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. ๐Ÿ“Š๐Ÿ“ˆ๐ŸŽ‰

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google โค๏ธ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.