[Bug]: ERROR:root:<class 'ValueError'>: tmux is not properly installed or available on the path.
Is there an existing issue for the same bug? (If one exists, thumbs up or comment on the issue instead).
- [x] I have checked the existing issues.
Describe the bug and reproduction steps
OPERATING SYSTEM: UBUNTU RUNTIME: local
The check_dependencies function uses libtmux to verify tmux functionality by attempting to create a session (often named test-session), send keys, and capture output.
If a tmux session with the hardcoded test name (e.g., test-session) already exists: libtmux's server.new_session() correctly raises libtmux.exc.TmuxSessionExists. However, the generic except Exception as e: block in check_dependencies catches this and re-raises it as the misleading ValueError: tmux is not properly installed....
Even if the test session doesn't pre-exist, libtmux's server.new_session() is failing internally, raising libtmux.exc.TmuxObjectDoesNotExist.
OpenHands Installation
CLI
OpenHands Version
No response
Operating System
Linux
Logs, Errors, Screenshots, and Additional Context
tmux -V
tmux 3.4
(base) ➜ OpenHands git:(main) ✗ poetry run python -m openhands.core.main -t "hey there"
11:50:02 - openhands:WARNING: agent_config.py:88 - Invalid base agent configuration: 1 validation error for AgentConfig
function_calling
Extra inputs are not permitted [type=extra_forbidden, input_value=False, input_type=bool]
For further information visit https://errors.pydantic.dev/2.11/v/extra_forbidden. Using defaults.
11:50:02 - openhands:WARNING: local_runtime.py:162 - Initializing LocalRuntime. WARNING: NO SANDBOX IS USED. This is an experimental feature, please report issues to https://github.com/All-Hands-AI/OpenHands/issues. run_as_openhands will be ignored since the current user will be used to launch the server. We highly recommend using a sandbox (eg. DockerRuntime) unless you are running in a controlled environment.
User ID: 1000. Username: sai.
11:50:02 - openhands:WARNING: local_runtime.py:252 - Workspace base path is NOT set. Agent will run in a temporary directory.
11:50:02 - openhands:INFO: local_runtime.py:260 - Using workspace directory: /tmp/openhands_workspace_592a9566-481e-41ba-a195-bfb3c5c34a0e-2fd266d90d2d84d0qdx4uhhx
ERROR:root: File "
ERROR:root:<class 'ValueError'>: tmux is not properly installed or available on the path.
Details:
This issue is stale because it has been open for 30 days with no activity. Remove stale label or comment or this will be closed in 7 days.
This issue was closed because it has been stalled for over 30 days with no activity.