-
Notifications
You must be signed in to change notification settings - Fork 0
Troubleshooting
Cause: No resources/omp binary in the clone (it's gitignored, ~120 MB).
Fix: Run bun run build:omp (requires the monorepo nested-checkout layout), or drop in a prebuilt sidecar binary at resources/omp.
Cause: The GUI repo isn't at packages/gui/ inside a monorepo clone.
Fix: Re-create the nested checkout:
git clone https://github.com/nornzach/oh-my-pi.git omp-monorepo
cd omp-monorepo && bun install && cd packages
git clone https://github.com/nornzach/oh-my-pi-gui.git gui
cd gui && bun installSee Development for details.
Cause: Informational message — the cached pi_natives was old; the build script replaced it automatically.
Fix: No action needed.
Cause: That natives version isn't on npm yet.
Fix: Build from source:
bun --cwd=packages/natives run build(Rust toolchain required), then re-run bun run build:omp.
Cause: Wrong-architecture sidecar was packaged.
Fix: Always use bun run package:mac:x64 for Intel builds. The arm64 sidecar will not run on Intel Macs.
Cause: The build is unsigned.
Fix: Right-click the app -> Open, or go to System Settings -> Privacy & Security -> Open Anyway.
Cause: The sidecar binary may be corrupted or wrong architecture.
Fix:
- Delete
resources/omp(orresources/omp.x64) - Rebuild:
bun run build:omp(arm64) orbun run build:omp:x64(Intel) - Restart the app
If the sidecar still fails, check the log viewer (⌘J -> Logs panel) for the error output.
Cause: Session index may not have picked up the file yet, or the session file is outside ~/.omp/sessions/.
Fix:
- Verify the session file exists:
ls ~/.omp/sessions/ - Restart the app (the session index re-scans on launch)
- Check that the session file has a valid 256-byte title slot
Cause: The stats server may not be running, or the app hasn't detected it yet.
Fix:
- Verify the stats server is reachable:
curl http://localhost:3847/api/stats/overview - The stats server starts when omp runs — start a session first
- The stats tab probes lazily on first open; close and reopen it
Cause: RPC commands are serialized — only one runs at a time. bash is the only exception (runs in background).
Fix: Wait for the current command to complete. If stuck, press Esc to abort the current turn, which unblocks the queue.
Run from the monorepo root:
bash packages/gui/scripts/sync-upstream.shIf you hit a merge conflict:
SKIP_MERGE=1 bash packages/gui/scripts/sync-upstream.shThen resolve conflicts manually and re-run.