Skip to content
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

[Bug]: Interactive command: when the agent installs Anaconda or Miniconda, it gets stuck when it asks for user input #6219

Open
1 task done
BestWhere opened this issue Jan 13, 2025 · 0 comments
Labels
bug Something isn't working

Comments

@BestWhere
Copy link

Is there an existing issue for the same bug?

  • I have checked the existing issues.

Describe the bug and reproduction steps

reproduction steps:
docker pull docker.all-hands.dev/all-hands-ai/runtime:0.19-nikolaik

docker run -it --rm --pull=always
-e SANDBOX_RUNTIME_CONTAINER_IMAGE=docker.all-hands.dev/all-hands-ai/runtime:0.19-nikolaik
-e LOG_ALL_EVENTS=true
-v /var/run/docker.sock:/var/run/docker.sock
-v ~/.openhands-state:/.openhands-state
-p 3000:3000
--add-host host.docker.internal:host-gateway
--name openhands-app
docker.all-hands.dev/all-hands-ai/openhands:0.19

Run the command: wget https://repo.anaconda.com/miniconda/Miniconda3-latest-Linux-aarch64.sh -O ~/miniconda.sh

yes "" | bash ~/miniconda.sh
image

image

description of the issue:
It seems that we cannot interact with the terminal and paste commands into it. We can only run it by writing prompts. When installing Miniconda, even pressing Enter to agree by default doesn't work because there are terms that need to be read. At this time, we cannot skip it by pressing Enter. Meanwhile, we cannot interact with the terminal until the agent times out and fails.

OpenHands Installation

Docker command in README

OpenHands Version

0.19

Operating System

MacOS

Logs, Errors, Screenshots, and Additional Context

No response

@BestWhere BestWhere added the bug Something isn't working label Jan 13, 2025
@enyst enyst changed the title [Bug]: When I try to install Anaconda or Miniconda in Docker, it gets stuck and times out. [Bug]: Interactive command: when the agent installs Anaconda or Miniconda, it gets stuck when it asks for user input Jan 13, 2025
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
bug Something isn't working
Projects
None yet
Development

No branches or pull requests

1 participant