Closed kevin-support-bot[bot] closed 1 month ago
it is still:
[Python Interpreter: /openhands/poetry/openhands-ai-5O4_aCHf-py3.11/bin/python]
openhands@47e93058e1ed:/workspace $
22:42:49 - openhands:INFO: session.py:139 - Server event
22:42:49 - OBSERVATION
AgentStateChangedObservation(content='', agent_state=<AgentState.RUNNING: 'running'>, observation='agent_state_changed')
22:42:49 - openhands:INFO: session.py:139 - Server event
22:42:49 - OBSERVATION
AgentStateChangedObservation(content='', agent_state='user_confirmed', observation='agent_state_changed')
22:42:49 - openhands:INFO: session.py:139 - Server event
22:42:49 - OBSERVATION
NullObservation(content='', observation='null')
22:42:49 - OBSERVATION
NullObservation(content='', observation='null')
22:42:49 - openhands:INFO: runtime.py:306 -
-----------------------------------Container logs:-----------------------------------
|INFO: 172.17.0.1:49992 - "GET /alive HTTP/1.1" 200 OK
|INFO: 172.17.0.1:50006 - "POST /execute_action HTTP/1.1" 200 OK
--------------------------------------------------------------------------------
22:42:49 - openhands:INFO: runtime.py:413 - Awaiting session
22:42:49 - openhands:INFO: runtime.py:306 -
-----------------------------------Container logs:-----------------------------------
|INFO: 172.17.0.1:51766 - "GET /alive HTTP/1.1" 200 OK
|INFO: 172.17.0.1:51778 - "POST /list_files HTTP/1.1" 200 OK
--------------------------------------------------------------------------------
INFO: 127.0.0.1:64681 - "GET /api/list-files HTTP/1.1" 200 OK
22:42:49 - openhands:INFO: runtime.py:306 -
-----------------------------------Container logs:-----------------------------------
|INFO: 172.17.0.1:51780 - "GET /alive HTTP/1.1" 200 OK
|INFO: 172.17.0.1:51796 - "POST /execute_action HTTP/1.1" 200 OK
--------------------------------------------------------------------------------
22:42:49 - openhands:INFO: runtime.py:413 - Awaiting session
22:42:49 - openhands:INFO: runtime.py:306 -
-----------------------------------Container logs:-----------------------------------
|INFO: 172.17.0.1:51800 - "GET /alive HTTP/1.1" 200 OK
|INFO: 172.17.0.1:51808 - "POST /list_files HTTP/1.1" 200 OK
--------------------------------------------------------------------------------
INFO: 127.0.0.1:64694 - "GET /api/list-files HTTP/1.1" 200 OK
22:42:49 - openhands:INFO: runtime.py:306 -
-----------------------------------Container logs:-----------------------------------
|INFO: 172.17.0.1:51812 - "GET /alive HTTP/1.1" 200 OK
|INFO: 172.17.0.1:51828 - "POST /execute_action HTTP/1.1" 200 OK
--------------------------------------------------------------------------------
22:42:49 - openhands:INFO: runtime.py:413 - Awaiting session
22:42:49 - openhands:INFO: runtime.py:306 -
-----------------------------------Container logs:-----------------------------------
|INFO: 172.17.0.1:51836 - "GET /alive HTTP/1.1" 200 OK
|INFO: 172.17.0.1:51844 - "POST /list_files HTTP/1.1" 200 OK
--------------------------------------------------------------------------------
INFO: 127.0.0.1:64681 - "GET /api/list-files HTTP/1.1" 200 OK
stuck here without further step
Could you reproduce this issue on this repo?
The above screenshot uses that only.
this repo is the same problem"
==============
CodeActAgent LEVEL 0 LOCAL STEP 1 GLOBAL STEP 1
07:57:33 - ACTION
**CmdRunAction (source=EventSource.AGENT)**
THOUGHT: Certainly! I'll create a Python script to scrape papers from https://huggingface.co/papers. We'll use the `requests` library to fetch the webpage and `BeautifulSoup` from `bs4` to parse the HTML. Let's start by creating the script and installing the necessary libraries.
COMMAND:
pip install requests beautifulsoup4
07:57:33 - openhands:INFO: runtime.py:429 - Awaiting session
INFO: 127.0.0.1:54449 - "GET /api/list-files HTTP/1.1" 200 OK
07:57:34 - openhands:INFO: runtime.py:429 - Awaiting session
07:57:38 - OBSERVATION
AgentStateChangedObservation(content='', agent_state='user_confirmed', observation='agent_state_changed')
07:57:38 - OBSERVATION
NullObservation(content='', observation='null')
07:57:38 - OBSERVATION
**CmdOutputObservation (source=EventSource.AGENT, exit code=1)**
ERROR: Could not install packages due to an OSError: [Errno 2] No such file or directory
openhands@2a8391b08127:/workspace $
openhands@2a8391b08127:/workspace $
07:57:38 - OBSERVATION
AgentStateChangedObservation(content='', agent_state=<AgentState.RUNNING: 'running'>, observation='agent_state_changed')
07:57:38 - OBSERVATION
AgentStateChangedObservation(content='', agent_state='user_confirmed', observation='agent_state_changed')
07:57:38 - OBSERVATION
NullObservation(content='', observation='null')
07:57:38 - OBSERVATION
NullObservation(content='', observation='null')
07:57:38 - OBSERVATION
NullObservation(content='', observation='null')
07:57:38 - OBSERVATION
NullObservation(content='', observation='null')
07:57:38 - OBSERVATION
NullObservation(content='', observation='null')
07:57:38 - openhands:INFO: runtime.py:429 - Awaiting session
INFO: 127.0.0.1:54491 - "GET /api/list-files HTTP/1.1" 200 OK
07:57:38 - openhands:INFO: runtime.py:429 - Awaiting session
INFO: 127.0.0.1:54504 - "GET /api/list-files HTTP/1.1" 200 OK
07:57:38 - openhands:INFO: runtime.py:429 - Awaiting session
INFO: 127.0.0.1:54491 - "GET /api/list-files HTTP/1.1" 200 OK
click the confirm button multi-times to reproduce, I think maybe it is a bug in agent_controller on_event.
07:57:38 - OBSERVATION CmdOutputObservation (source=EventSource.AGENT, exit code=1) ERROR: Could not install packages due to an OSError: [Errno 2] No such file or directory
Did you see this? [in your initial post it installed]
--
click the confirm button multi-times to reproduce, I think maybe it is a bug in agent_controller on_event.
After the first click itself, the button vanishes for me.
Could you test for this prompt print 12
?
07:57:38 - OBSERVATION CmdOutputObservation (source=EventSource.AGENT, exit code=1) ERROR: Could not install packages due to an OSError: [Errno 2] No such file or directory
Did you see this? [in your initial post it installed]
yep, but the command output error should not interrupt the further step of agent, it would be return to the agent and then be handled by agent. BTW, this error is the env problem when I change to current repo https://github.com/SmartManoj/Kevin , I dont think it is related to the issue here.
--
click the confirm button multi-times to reproduce, I think maybe it is a bug in agent_controller on_event.
After the first click itself, the button vanishes for me.
Could you test for this prompt
print 12
?
actually, you can click it multi-times in a short time, which would send some NullObservation to backend and interrupt the whole process. I not sure whether there are some logic bug insider the agent_controller. Feel free to dig it further :)
Double click not works on the button. I tested using js.
b= $('[data-testid="action-confirm-button"]')
var clickEvent = document.createEvent ('MouseEvents');
clickEvent.initEvent ('dblclick', true, true);
b.dispatchEvent (clickEvent);
which would send some NullObservation to backend
It will send ChangeAgentStateAction
only to the backend
Could you share this image?
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.
https://github.com/All-Hands-AI/OpenHands/issues/3899 Issue
@WannaTen Could you run the latest version of the code and check if the issue is resolved?