Skip to content

Let the release binary reach the browser interface when the window cannot start - #202

Merged
abrignoni merged 2 commits into
mainfrom
fix/frozen-web-fallback
Sep 26, 2026
Merged

abrignoni merged 2 commits into
mainfrom
fix/frozen-web-fallback

Conversation

@abrignoni

Copy link
Copy Markdown
Owner

Lets the release binary reach the browser interface when the desktop window cannot start. Closes #195.

  • GLEAPP web (also after -c <case>) now goes to the web subcommand instead of being taken for a case folder.
  • When the window cannot start and GLEAPP was started from a terminal, the same interface opens in the browser. Smoke mode and windowed launches keep the error and exit 1.
  • In a frozen build the error names the binary's own web command, not python gleapp.py web.
  • CI runs web from the frozen binary on all platforms, and on Linux checks that a windowless start exits 1 naming that command.
  • README: installing a toolkit helps a source install only; the Linux binary note describes the browser route.

Bundling Qt so the binary gets a native window on Linux is not part of this.

🤖 Generated with Claude Code

abrignoni and others added 2 commits September 26, 2026 14:33
…nnot start

The Linux release binary bundles neither GTK nor Qt, so its desktop window
cannot start, and the frozen entry point sent every argument to the desktop
shell, so `GLEAPP web` was taken for a case folder. The error then suggested
`python gleapp.py web`, which a binary user cannot run.

- The frozen entry point sends `web` (after -c/--case/--examiner) to the
  command line's web subcommand.
- When the window cannot start and a terminal is attached, the desktop shell
  serves the same interface to the browser. Smoke mode and windowed launches
  keep the error and exit 1.
- The error names the binary's own `web` command in a frozen build.
- CI runs `web` from the frozen binary on every platform, and on Linux checks
  the windowless start exits 1 naming that command.
- README: the toolkit note applies to source installs, and the Linux binary
  note describes the browser route.

Reported in #195.

Co-Authored-By: Claude Opus 5.5 <[email protected]>
Under pipefail, grep -q exiting at the first match can cut curl off
mid-write and fail the pipeline. The macOS builds lost that race while
the server answered every request.

Co-Authored-By: Claude Opus 5.5 <[email protected]>
@abrignoni
abrignoni enabled auto-merge September 26, 2026 18:46
@abrignoni
abrignoni merged commit fb8e684 into main Sep 26, 2026
12 checks passed
@abrignoni
abrignoni deleted the fix/frozen-web-fallback branch September 26, 2026 20:20
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

Linux release binary can't open any UI: no GUI backend bundled, and no way to reach gleapp web

1 participant