You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
I developed a customized version of the resolve module and packaged it into a Docker container. When running the following command inside the container, I encountered an error:
Is there an existing issue for the same bug?
Describe the bug and reproduction steps
I developed a customized version of the resolve module and packaged it into a Docker container. When running the following command inside the container, I encountered an error:
python -m openhands.resolver.resolve_issue --url <project_url> --issue-number --issue-type
##Logs (Detailed):
2024-12-25 08:37:26 00:37:26 - openhands:INFO: resolve_issue.py:211 - Starting fixing issue 1.
2024-12-25 08:37:26 00:37:26 - openhands:INFO: eventstream_runtime.py:234 - [runtime ee42bccc-c735-42c4-b0b6-8f325ded61ef-627e24cd9306a413] Starting runtime with image: ghcr.io/all-hands-ai/runtime:0.16.1-nikolaik
2024-12-25 08:37:27 00:37:27 - openhands:INFO: eventstream_runtime.py:238 - [runtime ee42bccc-c735-42c4-b0b6-8f325ded61ef-627e24cd9306a413] Container started: openhands-runtime-ee42bccc-c735-42c4-b0b6-8f325ded61ef-627e24cd9306a413. VSCode URL: None
2024-12-25 08:37:27 00:37:27 - openhands:INFO: eventstream_runtime.py:246 - [runtime ee42bccc-c735-42c4-b0b6-8f325ded61ef-627e24cd9306a413] Waiting for client to become ready at http://localhost:32368...
2024-12-25 08:37:27 00:37:27 - openhands:INFO: shutdown_listener.py:37 - _register_signal_handlers
2024-12-25 08:37:27 00:37:27 - openhands:INFO: shutdown_listener.py:45 - _register_signal_handlers:not_main_thread
2024-12-25 08:37:37 00:37:37 - openhands:INFO: resolve_issue.py:488 - Finished.
2024-12-25 08:37:37 ERROR:root: File "", line 198, in _run_module_as_main
2024-12-25 08:37:37 File "", line 88, in _run_code
2024-12-25 08:37:37 File "/app/openhands/resolver/resolve_issue.py", line 717, in
2024-12-25 08:37:37 main()
2024-12-25 08:37:37 File "/app/openhands/resolver/resolve_issue.py", line 693, in main
2024-12-25 08:37:37 asyncio.run(
2024-12-25 08:37:37 File "/usr/local/lib/python3.12/asyncio/runners.py", line 194, in run
2024-12-25 08:37:37 return runner.run(main)
2024-12-25 08:37:37 ^^^^^^^^^^^^^^^^
2024-12-25 08:37:37 File "/usr/local/lib/python3.12/asyncio/runners.py", line 118, in run
2024-12-25 08:37:37 return self._loop.run_until_complete(task)
2024-12-25 08:37:37 ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
2024-12-25 08:37:37 File "/usr/local/lib/python3.12/asyncio/base_events.py", line 686, in run_until_complete
2024-12-25 08:37:37 return future.result()
2024-12-25 08:37:37 ^^^^^^^^^^^^^^^
2024-12-25 08:37:37 File "/app/openhands/resolver/resolve_issue.py", line 471, in resolve_issue
2024-12-25 08:37:37 output = await process_issue(
2024-12-25 08:37:37 ^^^^^^^^^^^^^^^^^^^^
2024-12-25 08:37:37 File "/app/openhands/resolver/resolve_issue.py", line 246, in process_issue
2024-12-25 08:37:37 await runtime.connect()
2024-12-25 08:37:37 File "/app/openhands/runtime/impl/eventstream/eventstream_runtime.py", line 249, in connect
2024-12-25 08:37:37 await call_sync_from_async(self._wait_until_alive)
2024-12-25 08:37:37 File "/app/openhands/utils/async_utils.py", line 18, in call_sync_from_async
2024-12-25 08:37:37 result = await coro
2024-12-25 08:37:37 ^^^^^^^^^^
2024-12-25 08:37:37 File "/usr/local/lib/python3.12/concurrent/futures/thread.py", line 59, in run
2024-12-25 08:37:37 result = self.fn(*self.args, **self.kwargs)
2024-12-25 08:37:37 ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
2024-12-25 08:37:37 File "/app/openhands/utils/async_utils.py", line 17, in
2024-12-25 08:37:37 coro = loop.run_in_executor(None, lambda: fn(*args, **kwargs))
2024-12-25 08:37:37 ^^^^^^^^^^^^^^^^^^^
2024-12-25 08:37:37 File "/usr/local/lib/python3.12/site-packages/tenacity/init.py", line 336, in wrapped_f
2024-12-25 08:37:37 return copy(f, *args, **kw)
2024-12-25 08:37:37 ^^^^^^^^^^^^^^^^^^^^
2024-12-25 08:37:37 File "/usr/local/lib/python3.12/site-packages/tenacity/init.py", line 475, in call
2024-12-25 08:37:37 do = self.iter(retry_state=retry_state)
2024-12-25 08:37:37 ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
2024-12-25 08:37:37 File "/usr/local/lib/python3.12/site-packages/tenacity/init.py", line 376, in iter
2024-12-25 08:37:37 result = action(retry_state)
2024-12-25 08:37:37 ^^^^^^^^^^^^^^^^^^^
2024-12-25 08:37:37 File "/usr/local/lib/python3.12/site-packages/tenacity/init.py", line 398, in
2024-12-25 08:37:37 self._add_action_func(lambda rs: rs.outcome.result())
2024-12-25 08:37:37 ^^^^^^^^^^^^^^^^^^^
2024-12-25 08:37:37 File "/usr/local/lib/python3.12/concurrent/futures/_base.py", line 449, in result
2024-12-25 08:37:37 return self.__get_result()
2024-12-25 08:37:37 ^^^^^^^^^^^^^^^^^^^
2024-12-25 08:37:37 File "/usr/local/lib/python3.12/concurrent/futures/_base.py", line 401, in __get_result
2024-12-25 08:37:37 raise self._exception
2024-12-25 08:37:37 File "/usr/local/lib/python3.12/site-packages/tenacity/init.py", line 478, in call
2024-12-25 08:37:37 result = fn(*args, **kwargs)
2024-12-25 08:37:37 ^^^^^^^^^^^^^^^^^^^
2024-12-25 08:37:37 File "/app/openhands/runtime/impl/eventstream/eventstream_runtime.py", line 442, in _wait_until_alive
2024-12-25 08:37:37 raise RuntimeDisconnectedError(
2024-12-25 08:37:37
2024-12-25 08:37:37 ERROR:root:<class 'openhands.runtime.base.RuntimeDisconnectedError'>: Container openhands-runtime-ee42bccc-c735-42c4-b0b6-8f325ded61ef-627e24cd9306a413 has exited.
2024-12-25 08:37:37 ========iusstetype: issue
OpenHands Installation
Docker command in README
OpenHands Version
No response
Operating System
None
Logs, Errors, Screenshots, and Additional Context
No response
The text was updated successfully, but these errors were encountered: