cli connect paths crash: create_server_dict called with two args since the signature grew a third #132

Open
opened 2026-08-23 01:44:45 -04:00 by mysticalsoap · 0 comments
Owner

Both call sites in aqomui_cli.py (establish_connection and set_hop) pass (server_dict, protocol_dict) to utils.create_server_dict, whose signature is (current_dict, protocol_dict, SUPPORTED_PROVIDERS) with no default — so -c and -v die on TypeError before reaching the service. The gui's three call sites pass config.SUPPORTED_PROVIDERS and are fine.

Found surveying for #83/#125; the catalog extraction dissolves the duplication, but the cli is broken today independent of it.

Both call sites in aqomui_cli.py (establish_connection and set_hop) pass (server_dict, protocol_dict) to utils.create_server_dict, whose signature is (current_dict, protocol_dict, SUPPORTED_PROVIDERS) with no default — so `-c` and `-v` die on TypeError before reaching the service. The gui's three call sites pass config.SUPPORTED_PROVIDERS and are fine. Found surveying for #83/#125; the catalog extraction dissolves the duplication, but the cli is broken today independent of it.
Sign in to join this conversation.
No milestone
No assignees
1 participant
Notifications
Due date
The due date is invalid or out of range. Please use the format "yyyy-mm-dd".

No due date set.

Dependencies

No dependencies set

Reference
mysticalsoap/aqomui#132
No description provided.