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
in config.toml, add field runtime_extra_deps = <any dockerfile command> under [sandbox]
set log level to debug
make run and start a task
backend will raise AttributeError: 'EventStreamRuntime' object has no attribute 'sid' from EventStreamRuntime.__init__
OpenHands Installation
Development workflow
OpenHands Version
main
Operating System
Linux
Logs, Errors, Screenshots, and Additional Context
In EventStreamRuntime's __init__:
......
ifself.config.sandbox.runtime_extra_deps:
self.log(
'debug',
f'Installing extra user-provided dependencies in the runtime image: {self.config.sandbox.runtime_extra_deps}',
)
self.init_base_runtime(
config,
event_stream,
sid,
plugins,
env_vars,
status_callback,
attach_to_existing,
headless_mode,
)
......
check runtime_extra_deps and log happens before initializing base class Runtime, but self.log() reads self.sid, which at the time is not initialized yet.
The text was updated successfully, but these errors were encountered:
Is there an existing issue for the same bug?
Describe the bug and reproduction steps
runtime_extra_deps = <any dockerfile command>
under[sandbox]
debug
make run
and start a taskbackend will raise AttributeError: 'EventStreamRuntime' object has no attribute 'sid' from
EventStreamRuntime.__init__
OpenHands Installation
Development workflow
OpenHands Version
main
Operating System
Linux
Logs, Errors, Screenshots, and Additional Context
In
EventStreamRuntime
's__init__
:check
runtime_extra_deps
and log happens before initializing base classRuntime
, butself.log()
readsself.sid
, which at the time is not initialized yet.The text was updated successfully, but these errors were encountered: