You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Describe the bug
a command with option flags --install-completion or show-completion is failed
To Reproduce
install from brew within macos(detail versions are below)
krr --install-completion or krr --show-completion in a terminal
Expected behavior
should work for both option flags
Screenshots
❯ krr --install-completion
╭─────────────────── Traceback (most recent call last) ────────────────────╮
│ /PATH/HOME/shellingham/__init__.py:13 in detect_shell │
│ │
│ [Errno 2] No such file or directory: │
│ ' /PATH/HOME/shellingham/__init__.py' │
│ │
│ /PATH/HOME/importlib/__init__.py:127 in import_module │
│ │
│ [Errno 2] No such file or directory: ' /PATH/HOME/importlib/__init__.py' │
│ <frozen importlib._bootstrap>:1030 in _gcd_import │
│ <frozen importlib._bootstrap>:1007 in _find_and_load │
│ <frozen importlib._bootstrap>:984 in _find_and_load_unlocked │
╰──────────────────────────────────────────────────────────────────────────╯
ModuleNotFoundError: No module named 'shellingham.posix'
During handling of the above exception, another exception occurred:
╭─────────────────── Traceback (most recent call last) ────────────────────╮
│ /PATH/HOME/krr.py:4 in<module> │
│ │
│ [Errno 2] No such file or directory: ' /PATH/HOME/krr.py' │
│ │
│ /PATH/HOME/robusta_krr/main.py:275 in run │
│ │
│ [Errno 2] No such file or directory: ' /PATH/HOME/robusta_krr/main.py' │
│ │
│ /PATH/HOME/typer/main.py:328 in __call__ │
│ │
│ [Errno 2] No such file or directory: ' /PATH/HOME/typer/main.py' │
│ │
│ /PATH/HOME/typer/main.py:311 in __call__ │
│ │
│ [Errno 2] No such file or directory: ' /PATH/HOME/typer/main.py' │
│ │
│ /PATH/HOME/click/core.py:1130 in __call__ │
│ │
│ [Errno 2] No such file or directory: ' /PATH/HOME/click/core.py' │
│ │
│ /PATH/HOME/typer/core.py:778 in main │
│ │
│ [Errno 2] No such file or directory: ' /PATH/HOME/typer/core.py' │
│ │
│ /PATH/HOME/typer/core.py:215 in _main │
│ │
│ [Errno 2] No such file or directory: ' /PATH/HOME/typer/core.py' │
│ │
│ /PATH/HOME/click/core.py:920 in make_context │
│ │
│ [Errno 2] No such file or directory: ' /PATH/HOME/click/core.py' │
│ │
│ /PATH/HOME/click/core.py:1613 in parse_args │
│ │
│ [Errno 2] No such file or directory: ' /PATH/HOME/click/core.py' │
│ │
│ /PATH/HOME/click/core.py:1378 in parse_args │
│ │
│ [Errno 2] No such file or directory: ' /PATH/HOME/click/core.py' │
│ │
│ /PATH/HOME/click/core.py:2360 in handle_parse_result │
│ │
│ [Errno 2] No such file or directory: ' /PATH/HOME/click/core.py' │
│ │
│ /PATH/HOME/click/core.py:2322 in process_value │
│ │
│ [Errno 2] No such file or directory: ' /PATH/HOME/click/core.py' │
│ │
│ /PATH/HOME/typer/main.py:988 in wrapper │
│ │
│ [Errno 2] No such file or directory: ' /PATH/HOME/typer/main.py' │
│ │
│ /PATH/HOME/typer/completion.py:41 in install_callback │
│ │
│ [Errno 2] No such file or directory: ' /PATH/HOME/typer/completion.py' │
│ │
│ /PATH/HOME/typer/_completion_shared.py:221 in install │
│ │
│ [Errno 2] No such file or directory: │
│ ' /PATH/HOME/typer/_completion_shared.py' │
│ │
│ /PATH/HOME/shellingham/__init__.py:16 in detect_shell │
│ │
│ [Errno 2] No such file or directory: │
│ ' /PATH/HOME/shellingham/__init__.py' │
╰──────────────────────────────────────────────────────────────────────────╯
RuntimeError: Shell detection not implemented for'posix'
[18671] Failed to execute script 'krr' due to unhandled exception!
Are you interested in contributing a fix for this?
Yes/no. If yes, we will provide guidance what parts of the code to modify and help you.
Desktop (please complete the following information):
Smartphone (please complete the following information):
N/A
Additional context
guess the installation refer wrong paths to run typer commands(?)
installed from brew 1.0.0, at the first time, upgraded also with brew to 1.6.0:
❯ which krr
/opt/homebrew/bin/krr
The text was updated successfully, but these errors were encountered:
Describe the bug
a command with option flags
--install-completion
orshow-completion
is failedTo Reproduce
krr --install-completion
orkrr --show-completion
in a terminalExpected behavior
should work for both option flags
Screenshots
![image](https://private-user-images.githubusercontent.com/20619567/297088540-7b5caa48-66e2-4075-9634-c8f6378a022b.png?jwt=eyJhbGciOiJIUzI1NiIsInR5cCI6IkpXVCJ9.eyJpc3MiOiJnaXRodWIuY29tIiwiYXVkIjoicmF3LmdpdGh1YnVzZXJjb250ZW50LmNvbSIsImtleSI6ImtleTUiLCJleHAiOjE3MTgzMjkwNjIsIm5iZiI6MTcxODMyODc2MiwicGF0aCI6Ii8yMDYxOTU2Ny8yOTcwODg1NDAtN2I1Y2FhNDgtNjZlMi00MDc1LTk2MzQtYzhmNjM3OGEwMjJiLnBuZz9YLUFtei1BbGdvcml0aG09QVdTNC1ITUFDLVNIQTI1NiZYLUFtei1DcmVkZW50aWFsPUFLSUFWQ09EWUxTQTUzUFFLNFpBJTJGMjAyNDA2MTQlMkZ1cy1lYXN0LTElMkZzMyUyRmF3czRfcmVxdWVzdCZYLUFtei1EYXRlPTIwMjQwNjE0VDAxMzI0MlomWC1BbXotRXhwaXJlcz0zMDAmWC1BbXotU2lnbmF0dXJlPTRmOTA4M2JlZTI2MWYwYjYwOTlmZTUyMGE0YTlmZTRiZmM2ZGZiZThjN2NhNmI3NDhmNGJiODMzZDEzZGQyODYmWC1BbXotU2lnbmVkSGVhZGVycz1ob3N0JmFjdG9yX2lkPTAma2V5X2lkPTAmcmVwb19pZD0wIn0.T5ICvYbBLHfarPfP4bCLjkVicuZBCi1VRopmkdzAj38)
Are you interested in contributing a fix for this?
Yes/no. If yes, we will provide guidance what parts of the code to modify and help you.
Desktop (please complete the following information):
Smartphone (please complete the following information):
N/A
Additional context
guess the installation refer wrong paths to run typer commands(?)
installed from brew 1.0.0, at the first time, upgraded also with brew to 1.6.0:
The text was updated successfully, but these errors were encountered: