OpenHands icon indicating copy to clipboard operation
OpenHands copied to clipboard

Broken on Mac

Open 1of13 opened this issue 1 year ago • 4 comments

Describe the bug After following the installation instructions, I can see the "Initializing agent..." message. However, I can't type anything.

Steps to Reproduce

  1. Follow the installation instructions
  2. Follow the instructions to launch OpenDevin

Expected behavior After waiting for initialization, I expect to be able to interact with OpenDevin.

Actual behavior Everything looks fine, but I cannot click or type on the input box. However, I can interact with the right pane.

Additional context

SCR-20240325-lzwh

1of13 avatar Mar 25 '24 20:03 1of13

what does the log from uvicorn opendevin.server.listen:app --port 3000 look like?

geohotstan avatar Mar 25 '24 22:03 geohotstan

I have the same issue.

$ uvicorn opendevin.server.listen:app --port 3000
INFO:     Started server process [16074]
INFO:     Waiting for application startup.
INFO:     Application startup complete.
INFO:     Uvicorn running on http://127.0.0.1:3000 (Press CTRL+C to quit)

w00dbury avatar Mar 25 '24 22:03 w00dbury

try ctrl + r your http://localhost:3001/? (while your server is running)

geohotstan avatar Mar 25 '24 22:03 geohotstan

I get this error: OpenDevin\opendevin\sandbox\sandbox.py", line 51, in init uid = os.getuid() AttributeError: module 'os' has no attribute 'getuid'. Did you mean: 'getpid'?

darklaw00 avatar Mar 25 '24 23:03 darklaw00

@darklaw00 see https://github.com/OpenDevin/OpenDevin/issues/169--a fix has been merged

rbren avatar Mar 26 '24 02:03 rbren

@1of13 the frontend isn't seeing the backend for some reason. Can you open the browser console's network tab, and see what's going on with the /ws endpoint?

rbren avatar Mar 26 '24 02:03 rbren

I started from scratch (latest OpenDevin release). I got it to run. However, all python scripts exit with code 0 and nothing shows up on the right pane, as in your video. The files are created in the cwd, though.

SCR-20240325-sefb

1of13 avatar Mar 26 '24 03:03 1of13

OK great--I think we have a fix for the right pane incoming

rbren avatar Mar 26 '24 11:03 rbren