-
Notifications
You must be signed in to change notification settings - Fork 1
causy fails with Secondary flag is not valid for non-boolean flag on MacOS #88
Copy link
Copy link
Open
Description
I installed causy on MacOS and tried to start it. Unfortunately, every command fails with error "Secondary flag is not valid for non-boolean flag.".
Python version used is 3.12.12.
I installed causy 0.1.47 at first, then tried it out with 0.1.46 and 0.1.45, but the error persists.
I installed all three versions also with pipx and with pip, but none of the combinations work.
Full stack trace below.
% causy [2026/01/7|16:04:29]
╭─────────────────────────────────────────────────── Traceback (most recent call last) ────────────────────────────────────────────────────╮
│ /Users/xxx/.local/bin/causy:7 in <module> │
│ │
│ 4 if __name__ == '__main__': │
│ 5 │ if sys.argv[0].endswith('.exe'): │
│ 6 │ │ sys.argv[0] = sys.argv[0][:-4] │
│ ❱ 7 │ sys.exit(app()) │
│ 8 │
│ │
│ ╭──────────────────── locals ────────────────────╮ │
│ │ app = <typer.main.Typer object at 0x10a25bbf0> │ │
│ │ sys = <module 'sys' (built-in)> │ │
│ ╰────────────────────────────────────────────────╯ │
│ │
│ /Users/xxx/.local/pipx/venvs/causy/lib/python3.12/site-packages/typer/main.py:338 in __call__ │
│ │
│ /Users/xxx/.local/pipx/venvs/causy/lib/python3.12/site-packages/typer/main.py:321 in __call__ │
│ │
│ /Users/xxx/.local/pipx/venvs/causy/lib/python3.12/site-packages/typer/main.py:360 in get_command │
│ │
│ /Users/xxx/.local/pipx/venvs/causy/lib/python3.12/site-packages/typer/main.py:342 in get_group │
│ │
│ /Users/xxx/.local/pipx/venvs/causy/lib/python3.12/site-packages/typer/main.py:504 in get_group_from_info │
│ │
│ /Users/xxx/.local/pipx/venvs/causy/lib/python3.12/site-packages/typer/main.py:496 in get_group_from_info │
│ │
│ /Users/xxx/.local/pipx/venvs/causy/lib/python3.12/site-packages/typer/main.py:590 in get_command_from_info │
│ │
│ /Users/xxx/.local/pipx/venvs/causy/lib/python3.12/site-packages/typer/main.py:566 in get_params_convertors_ctx_param_name_from_function │
│ │
│ /Users/xxx/.local/pipx/venvs/causy/lib/python3.12/site-packages/typer/main.py:900 in get_click_param │
│ │
│ /Users/xxx/.local/pipx/venvs/causy/lib/python3.12/site-packages/typer/core.py:427 in __init__ │
│ │
│ /Users/xxx/.local/pipx/venvs/causy/lib/python3.12/site-packages/click/core.py:2852 in __init__ │
╰──────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────╯
TypeError: Secondary flag is not valid for non-boolean flag.
Any ideas how to fix this?
Reactions are currently unavailable
Metadata
Metadata
Assignees
Labels
No labels