Solaar/lib/solaar/cli
Juan Jose del Rio Holgado f68230b83d cli/config: wrap argv in list for Gio.Application.run (PyGObject 3.56)
The remote-config path passes a yaml.dump(...) string to
Gio.Application.run(), whose argv parameter is Optional[list[str]].
Pre-3.56 PyGObject tolerated a bare str; the marshaller refactor in
the 3.55 dev series (MR !487) tightened this, and 3.56 now raises
TypeError: Unable to marshal str as an array.

Wrap the YAML string in a 1-element list. The receiver in
solaar.ui._command_line already does yaml.safe_load("".join(args)) on
the argv, so a 1-element argv reconstructs the original YAML cleanly
under both old and new PyGObject.
2026-05-28 08:19:06 -04:00
..
__init__.py device: Support per-slot unpair on Lightspeed receivers (CLI + GUI) (#3183) 2026-04-17 09:34:58 -04:00
config.py cli/config: wrap argv in list for Gio.Application.run (PyGObject 3.56) 2026-05-28 08:19:06 -04:00
pair.py cli: correctly handle timeout in Bolt discovery 2026-01-18 14:21:56 -05:00
probe.py Rewrote string concatenation/format with f strings 2025-01-29 08:40:14 -05:00
profiles.py cli: better error messages for solaar profile 2025-11-19 13:50:54 -05:00
show.py PerKeyLighting: drop misleading live-read output in solaar show 2026-05-12 12:51:36 -04:00
unpair.py device: Support per-slot unpair on Lightspeed receivers (CLI + GUI) (#3183) 2026-04-17 09:34:58 -04:00