-
-
Notifications
You must be signed in to change notification settings - Fork 241
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Command line completion on MacOS and Oh-my-Zsh broken #477
Comments
I have the same issue. I think it is what PR #473 refers to. |
Pretty sure this is a duplicate of the PR #473. |
I reopen this bug because I can only find a pull request but no bug to it. Unfortunately there is nothing going on here since the release of version 2.1.0. The last commit was on may 16. Does anybody know why? |
Switching to 2.0.1 via pip3 install --upgrade git+https://github.com/TailorDev/Watson.git@2.0.1 does not help, but at least it shows an error when you try to autocomplete via zsh ❯ watson
Traceback (most recent call last):
File "/usr/local/bin/watson", line 5, in <module>
from watson.__main__ import cli
File "/usr/local/lib/python3.10/site-packages/watson/__main__.py", line 1, in <module>
from watson import cli
File "/usr/local/lib/python3.10/site-packages/watson/cli.py", line 215, in <module>
def start(ctx, watson, confirm_new_project, confirm_new_tag, args, at_,
File "/usr/local/lib/python3.10/site-packages/click/decorators.py", line 287, in decorator
_param_memo(f, ArgumentClass(param_decls, **attrs))
File "/usr/local/lib/python3.10/site-packages/click/core.py", line 2950, in __init__
super().__init__(param_decls, required=required, **attrs)
TypeError: Parameter.__init__() got an unexpected keyword argument 'autocompletion'
Traceback (most recent call last):
File "/usr/local/bin/watson", line 5, in <module>
from watson.__main__ import cli
File "/usr/local/lib/python3.10/site-packages/watson/__main__.py", line 1, in <module>
from watson import cli
File "/usr/local/lib/python3.10/site-packages/watson/cli.py", line 215, in <module>
def start(ctx, watson, confirm_new_project, confirm_new_tag, args, at_,
File "/usr/local/lib/python3.10/site-packages/click/decorators.py", line 287, in decorator
_param_memo(f, ArgumentClass(param_decls, **attrs))
File "/usr/local/lib/python3.10/site-packages/click/core.py", line 2950, in __init__
super().__init__(param_decls, required=required, **attrs)
TypeError: Parameter.__init__() got an unexpected keyword argument 'autocompletion'
Traceback (most recent call last):
File "/usr/local/bin/watson", line 5, in <module>
from watson.__main__ import cli
File "/usr/local/lib/python3.10/site-packages/watson/__main__.py", line 1, in <module>
from watson import cli
File "/usr/local/lib/python3.10/site-packages/watson/cli.py", line 215, in <module>
def start(ctx, watson, confirm_new_project, confirm_new_tag, args, at_,
File "/usr/local/lib/python3.10/site-packages/click/decorators.py", line 287, in decorator
_param_memo(f, ArgumentClass(param_decls, **attrs))
File "/usr/local/lib/python3.10/site-packages/click/core.py", line 2950, in __init__
super().__init__(param_decls, required=required, **attrs)
TypeError: Parameter.__init__() got an unexpected keyword argument 'autocompletion'
Traceback (most recent call last):
File "/usr/local/bin/watson", line 5, in <module>
from watson.__main__ import cli
File "/usr/local/lib/python3.10/site-packages/watson/__main__.py", line 1, in <module>
from watson import cli
File "/usr/local/lib/python3.10/site-packages/watson/cli.py", line 215, in <module>
def start(ctx, watson, confirm_new_project, confirm_new_tag, args, at_,
File "/usr/local/lib/python3.10/site-packages/click/decorators.py", line 287, in decorator
_param_memo(f, ArgumentClass(param_decls, **attrs))
File "/usr/local/lib/python3.10/site-packages/click/core.py", line 2950, in __init__
super().__init__(param_decls, required=required, **attrs)
TypeError: Parameter.__init__() got an unexpected keyword argument 'autocompletion'
Traceback (most recent call last):
File "/usr/local/bin/watson", line 5, in <module>
from watson.__main__ import cli
File "/usr/local/lib/python3.10/site-packages/watson/__main__.py", line 1, in <module>
from watson import cli
File "/usr/local/lib/python3.10/site-packages/watson/cli.py", line 215, in <module>
def start(ctx, watson, confirm_new_project, confirm_new_tag, args, at_,
File "/usr/local/lib/python3.10/site-packages/click/decorators.py", line 287, in decorator
_param_memo(f, ArgumentClass(param_decls, **attrs))
File "/usr/local/lib/python3.10/site-packages/click/core.py", line 2950, in __init__
super().__init__(param_decls, required=required, **attrs)
TypeError: Parameter.__init__() got an unexpected keyword argument 'autocompletion' Also switching to the PR branch via pip3 install --upgrade git+https://github.com/voidus/Watson.git@fix-completions did not fix this issue for me as well ;/ |
I had the same issue the other day (macOS / brew install watson) I patched Then I replaced /usr/local/Cellar/watson/2.1.0/share/zsh/site-functions/_watson calling Check using Seems to work for me, now. |
I love Watson! But since I upgraded to version 2.1 my command line completion does not work.
I installed it with
brew install watson
Uninstall and reinstall did not help.
I extended my .zshrc with
autoload -Uz compinit && compinit
rm "$ZSH_COMPDUMP"
did not help.Code completion for other command line tools do work.
Further information:
I am stuck right now. I can't find any error message. I just got the system bell. Command line completion is pretty essential to me.
The text was updated successfully, but these errors were encountered: