-
-
Notifications
You must be signed in to change notification settings - Fork 1.9k
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
KeyError: 'packages' was thrown in shell complettion #5214
Comments
@dqkqd I have not been able to reproduce this issue so far on my mac iterm2 which I think is the only thing I have with zsh. It just lists the files when I hit tab -- nothing helpful related to the application usage though. |
@matteius Have you enabled shell-completion as well? |
Thanks @dqkqd that was what I was missing -- I was able to reproduce this issue with bash shell as well. |
@matteius Sorry, my steps to reproduce wasn't clear enough. Edited it. |
Fix will be in the next release. |
Issue description
I enabled shell complation for ZSH. When I press tab after
$ pipenv install
, KeyError: 'packages' was thrown.Expected result
No exceptions thrown.
Steps to replicate
Enable shell-completion
Press tab after
$ pipenv install
.Please run
$ pipenv --support
, and paste the results here. Don't put backticks (`
) around it! The output already contains Markdown formatting.$ pipenv --support
Pipenv version:
'2022.7.24'
Pipenv location:
'/home/user/.local/lib/python3.10/site-packages/pipenv'
Python location:
'/usr/bin/python'
Python installations found:
3.10.5
:/usr/bin/python
3.10.5
:/usr/bin/python3
PEP 508 Information:
System environment variables:
ALACRITTY_LOG
ALACRITTY_SOCKET
ARCHFLAGS
COLORTERM
DBUS_SESSION_BUS_ADDRESS
DISPLAY
GTK_MODULES
HOME
I3SOCK
INVOCATION_ID
LANG
LANGUAGE
LC_ADDRESS
LC_COLLATE
LC_CTYPE
LC_IDENTIFICATION
LC_MEASUREMENT
LC_MESSAGES
LC_MONETARY
LC_NAME
LC_NUMERIC
LC_PAPER
LC_TELEPHONE
LC_TIME
LESS
LOGNAME
LSCOLORS
LS_COLORS
MAIL
MOTD_SHOWN
OLDPWD
P9K_SSH
PAGER
PATH
PWD
SHELL
SHLVL
SYSTEMD_EXEC_PID
TERM
USER
WINDOWID
WINDOWPATH
XAUTHORITY
XDG_RUNTIME_DIR
XDG_SEAT
XDG_SESSION_CLASS
XDG_SESSION_ID
XDG_SESSION_TYPE
XDG_VTNR
ZSH
ZSH_THEME
_
P9K_TTY
_P9K_TTY
PIP_SHIMS_BASE_MODULE
PIP_DISABLE_PIP_VERSION_CHECK
PIP_PYTHON_PATH
PYTHONDONTWRITEBYTECODE
PYTHONFINDER_IGNORE_UNSUPPORTED
Pipenv–specific environment variables:
Debug–specific environment variables:
PATH
:/usr/local/sbin:/usr/local/bin:/usr/bin:/usr/lib/jvm/default/bin:/usr/bin/site_perl:/usr/bin/vendor_perl:/usr/bin/core_perl:/usr/lib/jvm/default/bin:/home/user/.local/bin:/home/user/.local/bin
SHELL
:/usr/bin/zsh
LANG
:en_US.UTF-8
PWD
:/home/user/Documents
Contents of
Pipfile
('/home/user/Documents/Pipfile'):Contents of
Pipfile.lock
('/home/user/Documents/Pipfile.lock'):The text was updated successfully, but these errors were encountered: