-
Notifications
You must be signed in to change notification settings - Fork 300
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
Microsoft/VSCode - Cannot create a Python Interactive Window #584
Comments
@anupampydey Please could you provide the following info:
|
for engineering team: Consider not running python-run-isolated when starting the daemon. Also having spaces in the user name may be causing an issue. Thanks @RobinYookr, we'll take a look. |
Thank you in advance! |
Regarding the spaces in the username of windwows: the Interactive Python windows has been working perfectly for the last 9 months. It stopped working since today, while no special activities (e.g. updates or whatsoever) have taken place. |
@DonJayamanne Confirmed file existed, uninstalled Python extension and confirmed that the folder and file were removed/deleted, reinstalled the Python Extension. Same exact issue is happening |
Also want to add that vscode worked for most of the day on 9/23 PST. It only started having this problem around ~4 AM PST 9/24. Just found 3.8.6 Python got released could this be an issue if I'm running on 3.8.5? |
same happening with me |
I downloaded version 3.8.6. and the problem is still there. So for me the problem arises in Python versions 3.7.9, 3.8.5 and 3.8.6. |
I changed my VS Code update mode to "manual" from "default" and downgraded
the Python Extension from
2020.9.111407 to the previous version 2020.8.109390 and now everything is
fine. Worked with Jupyter notebooks again without any problem.
Thanks bcwein & RobinYookr.
…On Fri, 25 Sep 2020, 13:36 RobinYookr, ***@***.***> wrote:
@bcwein <https://github.com/bcwein> can you help me downgrading the
extension? I donwloaded the .vsix file from the 2020.8.109390 version,
however when I install it, I still get version 2020.9.111407.
—
You are receiving this because you were mentioned.
Reply to this email directly, view it on GitHub
<https://github.com/microsoft/vscode-python/issues/14083#issuecomment-698788024>,
or unsubscribe
<https://github.com/notifications/unsubscribe-auth/AQCCWKJSMHTDTJRKEPU6Y7DSHRFRNANCNFSM4RYOOK5A>
.
|
@bcwein @aryvini @anupampydey @vietbub @WallaceKelly
Thanks for being patient and apologies for this issue. |
@anupampydey @vietbub I can see you have provided the logs in a separate issue. Thanks & apology for requesting this once again. |
More information & logs here: |
I can repro in house. If the user name has a space, it looks like just kernel launching is failing. |
@DonJayamanne It actually is not happening for my machine. It is happening for one of my students. But, I recall that she is using Windows and her user path includes a space between her first and last name. I even speculated to her that might be the problem. |
Internal: To repro simple clone the vscode-python repo into a source directory with a space. We should add a test for this. |
As requested, @DonJayamanne I can confirm that i am using windows 10 (build 19041). I installed Extension: Python to version 2020.9.111407 and can confirm that i have the error As @rchiodo mentioned. This error occurs if user name has space and i can confirm that my username contains a space. Console log below: mainThreadExtensionService.ts:66 TypeError [ERR_INVALID_ARG_TYPE]: The "path" argument must be of type string. Received type object |
It took me about 2 days to figure out how to fix it. To resolve this issue: I downgraded the Python Extension to the previous version 2020.8.109390 and it works fine. |
I have a student on a windows computer that is having a similar issue. I am on a MacBook pro and I now cannot connect to the kernel. I tried downgrading my extension version and it did not help. |
This should be fixed now. |
Hello,
Since today I am not able to create a Python Interactive Window. Whenever I try to do so, I get the message
"Connectiong to IPython kernel: Connecting to kernel." followed by "Timed out waiting to get a heartbeat from kernel process.". I have attached a log file with more information.
Logging.txt
I found the error:
"Error 2020-09-24 17:15:28: Failed to start the Daemon, StdErr: C:\Users\john van helden\Anaconda3\python.exe: can't open file '"c:/Users/john van helden/.vscode/extensions/ms-python.python-2020.9.111407/pythonFiles/pyvsc-run-isolated.py"': [Errno 22] Invalid argument"
The file is present at the specified location and the permissions of the file are good. If I click on the file, it is succesfully opened in VSCode.
System info:
Steps taken:
Looking forward to some help.
Thanks in advance!
The text was updated successfully, but these errors were encountered: