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]: RuntimeError: Failed to source ~/.bashrc with exit code -1 and output Command: "source ~/.bashrc" timed out. #1682
Comments
Are there any other errors in the log before this? Workaround: Increase the timeout
|
There was an warning at the beginning
|
We can ignore that warning. |
I use the main version and it works now, thank you all
|
Is there an existing issue for the same bug?
Describe the bug
06:09:21 - opendevin:ERROR: ssh_box.py:224 - Command timed out, killing process...
06:09:51 - opendevin:ERROR: agent.py:138 - Error creating controller: Failed to source ~/.bashrc with exit code -1 and output Command: "source ~/.bashrc" timed out. Sending SIGINT to the process: root@45731512d9b8:/workspace# ^C
root@45731512d9b8:/workspace#
Traceback (most recent call last):
File "/app/opendevin/server/agent/agent.py", line 130, in create_controller
self.controller = AgentController(
^^^^^^^^^^^^^^^^
File "/app/opendevin/controller/agent_controller.py", line 82, in init
self.action_manager.init_sandbox_plugins(agent.sandbox_plugins)
File "/app/opendevin/controller/action_manager.py", line 48, in init_sandbox_plugins
self.sandbox.init_plugins(plugins)
File "/app/opendevin/runtime/plugins/mixin.py", line 47, in init_plugins
raise RuntimeError(
RuntimeError: Failed to source ~/.bashrc with exit code -1 and output Command: "source ~/.bashrc" timed out. Sending SIGINT to the process: root@45731512d9b8:/workspace# ^C
root@45731512d9b8:/workspace#
Current Version
Installation and Configuration
Model and Agent
No response
Reproduction Steps
System Configuration:
Static hostname: node3
Icon name: computer-vm
Chassis: vm
Virtualization: microsoft
Operating System: CentOS Linux 7 (Core)
CPE OS Name: cpe:/o:centos:centos:7
Kernel: Linux 3.10.0-1160.el7.x86_64
Architecture: x86-64
Docker version :
Docker version 26.1.1, build 4cf5afa
user:
root
steps:
1.starting the docker command,
2.I can access the ui,
3.after waiting for the initialization to complete, the error appears
ps: Because when I use version ghcr.io/opendevin/opendevin:0.5, I will get the error SANDBOX_USER_ID cannot be 0. Please run with a different user id.error, so I use 1651-merge.
Logs, Errors, Screenshots, and Additional Context
No response
The text was updated successfully, but these errors were encountered: