Open eblis opened 3 years ago
@eblis Thank you for creating this issue. I guess it is an edge case 🤔 Unfortunately, The plugin has been merged into the PyCharm mainstream. https://youtrack.jetbrains.com/issue/PY-30702#focus=Comments-27-5313948.0-0
If the problem is common and we can find the solution then we should create a ticket on youtrack.
I would say that everybody using escape codes (on Windows) is affected. How can I/we raise an issue there ?
Describe the bug The plugin seems to be creating a separate environment, even though a Poetry environment already exists. This is probably related to bug #287 and to https://github.com/python-poetry/poetry/issues/2419 where it may be using a different case or different path
To Reproduce Have a terminal with color codes, either ConEmu, Windows Terminal and enable clink and Powerline stuff for Windows
Expected behavior The existing environment should be used, another one should not be created.
Screenshots The
dtt-swC1WwXO-py3.9
is created by Poetry PyCharm plugin,dtt-xc0anUwY-py3.9
is created and used by Poetry itself.Environments (please complete the following information):
Additional context I've tried modifying the
runPoetry
function to add some environment variables to disable colors, but that didn't work for me.When the plugin is running various commands and I click on the image for more details I can see escape sequences at the start of the commands, so I think that the output from Poetry command line has escape sequences and it messes with the plugin.