Skip to content

GUI issue #192

@arnodelorme

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)

Metadata

Metadata

Labels

No labels
No labels

Type

No type
No fields configured for issues without a type.

Projects

No projects

Milestone

No milestone

Relationships

None yet

Development

No branches or pull requests

Issue actions