Open tsela opened 6 years ago
It's been a month and a half and no one's even looked at this issue. Could someone please have a look? It's a really annoying bug that impedes my work quite a lot and it's still present in version 6.4.0.
The issue is still present in IPython 6.5.0. This really is making my work difficult. Could someone at least have the decency to acknowledge the issue?
I've now also established that the error also crops up when using ConEmu rather than MinTTY, so it happens for multiple terminal emulators, but strangely not when using the integrated terminal in VSCode. Please advise.
Apologies, most of the work here is volunteer work, and we do not have a lot of contributors/dev with windows machine and windows experience. So most of the time issues are fixed if someone is willing to put some elbow grease and provide a patch.
If really this is blocking and you need payed support, you can talk to companies like Anaconda, which do have developers with the right resources, and generally upstream the patches once they have a fix.
It seem like in MinTTY VIRTUAL_ENV
point to a non existing dir, that mean we'll need to figure out why, and what's the good behavior.
Maybe just catch FileNotFoundError
and exit the function without doing anything ? But that may be just a footgun.
If you are unfamiliar with github/pull-request but can even just modify your local copy in a way that works and tell us how, that would be usefull.
Thanks.
I do my Python development on a Windows 10 machine with Git installed, doing all my command line work using Git Bash, either stand-alone (running in MinTTY) or within Visual Studio Code. I also have virtualenvwrapper installed to handle virtual environments easily.
My problem is that when I have IPython installed in a virtualenv, it will run fine if I call it from Bash in the Terminal window of VSCode, but it will fail when I call it from Bash in MinTTY.
Here is the output when I run IPython from VSCode:
As you can see, it works properly. But if I run it from Bash in MinTTY (for instance starting Git Bash from the Windows menu or the context menu of a directory), here is what I get:
The output of IPython.sys_info() on my machine for that particular virtualenv is:
Notice that in another virtualenv, IPython does run fine in Bash in MinTTY, although I do get a warning when I run it:
The only difference between the two environments is the IPython version: 6.3.1 in the environment where IPython completely fails to run, 6.2.1 where it runs but displays the virtualenv warning.
Any idea what's going on? I can run IPython fine as long as I stay within VSCode, but I'd like it to work in a simple Git Bash window as well.
Thanks in advance for your help.