Giter VIP home page Giter VIP logo

Comments (6)

liqul avatar liqul commented on June 3, 2024

It seems that the process inside the container has no permission to access the session directory mounted to the container. Can you provide more information on your environment? like what is your host OS? You said it cannot be executed every time. Do you mean that it sometimes can run successfully?

from taskweaver.

pai4451 avatar pai4451 commented on June 3, 2024

same here

from taskweaver.

liqul avatar liqul commented on June 3, 2024

same here

configurations and the environment?

from taskweaver.

pai4451 avatar pai4451 commented on June 3, 2024

same here

configurations and the environment?

Ubuntu 22.04, and I run this ascii example on the documentation (I only adjust the ascii_render.yaml with enabled = true)

Here is how I reproduce it on my machine

cd scripts
./build_executor.sh
python3 -m taskweaver -p ./project/

After the terminal showed the welcome message, I asked for "render ABC in ascii art" to Taskweaver. I got the following error:

File "/home/ai-agent/TaskWeaver/taskweaver/ces/environment.py", line 266, in start_session
    raise Exception("Container is not ready after 10 seconds")
Exception: Container is not ready after 10 seconds

I then inspect the logs of the execution container taskweavercontainers/taskweaver-executor, here is the logs by the command docker logs <container_id>.

File "/usr/local/lib/python3.10/logging/init.py", line 1201, in _open
    return open_func(self.baseFilename, self.mode,
PermissionError: [Errno 13] Permission denied: '/app/ces/kernel_logging.log'

from taskweaver.

liqul avatar liqul commented on June 3, 2024

We have identified a bug of configuring the dir permission for linux OS. Will fix it asap.

from taskweaver.

liqul avatar liqul commented on June 3, 2024

Fixed in #296

Please pull the latest code and try again.

from taskweaver.

Related Issues (20)

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.