`poetry shell` puts Terminal in broken state and does not function
See original GitHub issue-
I am on the latest Poetry version.
-
I have searched the issues of this repo and believe that this is not a duplicate.
-
If an exception occurs when executing a command, I executed it again in debug mode (
-vvv
option). -
OS version and name: Mac OS Mojave (10.14.6)
-
Poetry version: 1.0.0b5
-
Link of a Gist with the contents of your pyproject.toml file: https://gist.github.com/orokusaki/0750bd0dfef13324353d302d74a48254
Further environment notes
- Python 2.7.17 and Python 3.7.5 installed via Homebrew
- Poetry installed via
curl -sSL https://raw.githubusercontent.com/sdispater/poetry/master/get-poetry.py | POETRY_PREVIEW=1 python
Issue
Upon using poetry shell -vvv
(also tried without -vvv
flag) the shell appears to spawn, but when I attempt to type any command, no text appears in the Terminal, and when I hit <kbd>return</kbd> I get what you can see in the screenshot I attached (the screenshot reflects the state after I typed a few characters and then hit <kbd>return</kbd> twice). If I send SIGINT
to the shell (<kbd>CTRL</kbd> + <kbd>C</kbd>), the Terminal drops to a new line with the same output and lack of responsiveness, and upon sending SIGINT
many times I’m still left with the Terminal in an unusable state. If I attempt to close Terminal, I get “Closing this tab will terminate the running processes: bash, Python.”, which indicates that some code in Poetry is still hung up.
Screenshot
Issue Analytics
- State:
- Created 4 years ago
- Comments:6 (1 by maintainers)
Top GitHub Comments
@sdispater Hi. I’ve tested the commit in #1621 , it works!
This seems to be the same issue as #1503. The workaround is to type
reset
in the new shell.