Skip to content

GUI issue #192

Closed
Closed

Description

@arnodelorme

Fixed and verified. uv run eegprep-console --full now launches.

What was wrong

The command was wired correctly — it just failed at runtime with RuntimeError: PySide6 is required because the venv
hadn't been synced with the GUI/console dependencies. PySide6 and pyqtgraph (the gui extra, pulled in by console)
were missing; only IPython was present.

The fix

uv sync --extra console
This is exactly the path the error message already pointed to. It installs pyside6 6.11.0 and pyqtgraph 0.14.0. No
code or pyproject.toml changes were needed — gui/console are intentionally optional extras (PySide6 is heavy, and
the project deliberately keeps lean headless Linux-server installs working), so folding them into the dev group
would be wrong.

Verification

  • The exact gui("full", …) window-construction path run_console uses builds an EEGPrepMainWindow successfully
    (offscreen Qt).
  • The full binary launches end-to-end: prints the EEGPrep interactive console banner, enters the IPython shell, and
    exits cleanly — no traceback.
  • Re-ran uv run eegprep-console --full afterward: PySide6 survives (uv run did not prune it), so the fix is durable
    across invocations.

The --simple-prompt/event-loop notes you'd see in my test runs are only because I piped exit into stdin (non-tty);
they won't appear when you run it interactively in a real terminal.

✻ Cooked for 3m 7s

※ recap: Goal was to make uv run eegprep-console --full work. Fixed by running uv sync --extra console to install
the missing PySide6 and pyqtgraph dependencies; verified the console launches cleanly. Nothing left to do; the
command works now. (disable recaps in /config)

Activity

  1. claude commented on Jun 11, 2026

    @claude
    Contributor

    🤖 Plan:

    • Read issue and run actionability check

    Not actionable as a code change. Title says "do not create a PR for this", and the body confirms the root cause was an unsynced venv (missing PySide6/pyqtgraph from the console extra), resolved by uv sync --extra console — explicitly noting "No code or pyproject.toml changes were needed". The console/gui extras are intentionally optional per the project (heavy PySide6, lean headless installs).

    No PR opened. Closing as no-op unless a maintainer wants follow-up such as a clearer error message or a docs note pointing users to uv sync --extra console when the RuntimeError: PySide6 is required is raised.

  2. suraj-ranganath commented on Jun 12, 2026

    @suraj-ranganath
    Member

    🤖 Follow-up PR opened because the fresh source-checkout path still required undocumented dependency knowledge. #199 keeps published lean installs unchanged, but adds IPython/PySide6/pyqtgraph to the default dev sync so uv run eegprep-console --full works after cloning with uv. Verified with a throwaway UV_PROJECT_ENVIRONMENT launch smoke.

  3. changed the title [-]GUI issue -- do not create a PR for this[/-] [+]GUI issue[/+] on Jun 12, 2026
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Metadata

Metadata

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