Skip to content

🐛 Bug: aloha_run.py tries to start missing app_server.py, server never becomes ready #4

@bat5600

Description

@bat5600

🐛 Bug: aloha_run.py tries to start missing app_server.py, server never becomes ready

Environment

  • OS: Windows 11 (desktop)
  • Python: 3.14.2 (64‑bit)
  • ShowUI‑Aloha: latest main branch (cloned from GitHub)
  • Setup: followed README steps
    • python -m venv .venv
    • pip install -r requirements.txt
    • Recorded demo with Aloha.Screen.Recorder.exe
    • Parsed project with python Aloha_Learn/parser.py <project_name> to produce <project_name>_trace.json
    • Copied trace to Aloha_Act/trace_data/<trace_id>.json

Steps to Reproduce

  1. Record a new project, e.g. fb_translation2, on Windows using Aloha.Screen.Recorder.exe.

  2. Parse it:

    cd Aloha_Learn
    python parser.py fb_translation2

    This succeeds and creates:

    Aloha_Learn/projects/fb_translation2_trace.json
    
  3. Copy fb_translation2_trace.json to:

    Aloha_Act/trace_data/fb_translation2_trace.json
    
  4. Update Aloha_Act/prompt.json:

    {
      "trace": "fb_translation2_trace",
      "task": "Traduire en anglais tous mes articles Featurebase qui require translation"
    }
  5. Run the actor:

    cd ..
    python Aloha_Act/scripts/aloha_run.py

Expected Behavior

  • The server process should start successfully.
  • The actor should load the specified trace (fb_translation2_trace) and begin executing actions on the desktop according to the task.

Actual Behavior

  • CLI output shows the server starting but never becoming ready and then timing out, for example:

    [e2e] Launched server pid=20408 at http://127.0.0.1:7887
    ...
    Waiting for ready: 0
    ...
    [e2e] Server did not become ready in time. See logs/server_e2e.log
    
  • In Aloha_Act/logs/server_e2e.log the server process fails immediately with:

    C:\Users\blorr\ShowUI-Aloha\.venv\Scripts\python.exe: can't open file 'C:\\Users\\blorr\\ShowUI-Aloha\\app_server.py': [Errno 2] No such file or directory
    

So the runner is trying to execute app_server.py at the repository root, but there is no such file in the current main branch (only Aloha_Act, Aloha_Learn, assets, etc.). The recorder and parser pipelines work, but the end‑to‑end Actor + Executor cannot run because the server entrypoint is missing or the path is outdated.


Notes / Questions for Maintainers

  • Is app_server.py supposed to exist in the root of the repo in the current version?
  • If the server entrypoint moved (e.g. into Aloha_Act), could you update aloha_run.py and the README to point to the correct path?
  • A minimal working example of the current server start command would be very helpful (e.g. how you run it internally for the OSWorld benchmark).

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions