Hey, I'm working on a PR and I created a branch fr...
# dev-help
c
Hey, I'm working on a PR and I created a branch from commit 803bd on Aug 8th and now every time I start my runtime I get this in the runtime itself and it just turns off:
Copy code
00:14:35 - openhands:WARNING: action_execution_server.py:673 - Starting Action Execution Server

usage: action_execution_server.py [-h] [--working-dir WORKING_DIR]

                                  [--plugins PLUGINS [PLUGINS ...]]

                                  [--username USERNAME] [--user-id USER_ID]

                                  [--enable-browser | --no-enable-browser]

                                  [--browsergym-eval-env BROWSERGYM_EVAL_ENV]

                                  port

action_execution_server.py: error: unrecognized arguments: --git-user-name openhands --git-user-email openhands@all-hands.dev
If I delete all of my docker containers and images and load commit 70ad469 (July 28th), then rebuild everything, it works again.
Looks like it might be related to this PR @limited-student-10747? https://github.com/All-Hands-AI/OpenHands/commit/d3983b00bda83af6bd4cb5912d1907b9f9055253
l
Did you happen to pin the runtime version via env var (or config)? You need the latest runtime image Edit: and by latest I mean built from main. I don't think 0.51 would work.
If you are using a custom runtime you have to rebuild it with the latest changes to support those two parameters.
c
maybe that's the issue then. I don't know how to build a custom runtime. It's fine, I just branched off 70ad469 instead for my PR.
l
You don't need to, it should build a new runtime automatically from the sources if you didn't configure it to use a specific version. You can also use the pre-built container from the PR (see the docker command under "To run this PR locally, use the following command:"). E.g.
Copy code
-e SANDBOX_RUNTIME_CONTAINER_IMAGE=docker.all-hands.dev/all-hands-ai/runtime:b6db577-nikolaik
from that PR. If you're still using docker-dev, using
export SANDBOX_RUNTIME_CONTAINER_IMAGE=docker.all-hands.dev/all-hands-ai/runtime:b6db577-nikolaik
before
make run
should work.