-
Notifications
You must be signed in to change notification settings - Fork 29.2k
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
issue with creating and opening .ipynb files #106547
Comments
Same:
I'm having the same problem! |
I have same problem as well! |
I don't know if it's related, but I can't open an existing notebook either. I tried creating a new one just to see what would happen and this error popped up! |
Unable to open any Python Jupyter Notebooks (.ipynb) following upgrade to VSCode Version: 1.49.0 When trying to open a notebook there is a cylon progress bar circulating at the top of the frame with the notebook name, however, no notebook contents. Doesn't appear to time out. The problem manifested when I switched to a different project/workspace, up until that point I was able to open notebooks under 1.49.0 in the project I was working on prior to the upgrade without problem. |
I am having similar issue! Updated to 1.49.0 and the notebook simply keeps loading the ipynb file without any response. |
Same problem here. |
me too I have the same problem. |
I did this and was able to pull up a Jupyter notebook in the VSCode insider release:
|
I did the same, the problem persists |
i also did it but still facing same problem . |
some solution? |
Same problem Here as well. No luck. Error: It won't even load the cells |
Same problem, |
I download only insider (https://code.visualstudio.com/insiders/) and python extension, but now I have a different VS code (VS Insider ) that works. Is VS Code being replaced by VS insider? |
Same problem |
I have the same issue on one system which uses version 3.8.5, but the version 3.8.2 works on my other system works. |
I am facing the same issue. With the latest vscode version. |
Spoke toooo Soon... Still locked out of Jupyter NB |
My vscode version is 1.49 and I'm still having the issue. |
Have got the same Problem on a machine with W10, Python 3.8.5, VSC 1.49.0 and Python extension v2020.8.108011. Update: |
Just uninstalled everything and then reinstalled everything, problem still persists |
after resetting completly my Python installation and make a fresh install of anaconda, the problem still persist. |
The same problem here. What's happening? Is there a way to solve? Unable to open 'Untitled-2.ipynb': [UriError]: If a URI contains an authority component, then the path component must either be empty or begin with a slash ("/") character. |
I've just installed the insider Version: [https://code.visualstudio.com/insiders/]. It's work fine |
@RSalu can see the screenshot which i have shared in these conversation is from vscode insider but still facing same issue |
What i think is strange that it works for me on windows but not on linux... |
@jrieken That looks like a bug on the VS Code side but people also are reporting this in 1.48 and we haven't touched that code recently @joyceerhl or someone from the Python team: was there a new python release that enabled new functionality that trigged this bug (such as the release on the 9th)? Also this may be related to an experiment. Is there a way to force the extension into the broken state? |
@mjbvz yes I believe it was a change to our experiments that might have caused it. You can set this in your user settings.json to repro I believe: "python.experiments.optInto": [
"CustomEditorSupport - experiment"
], That experiment was enabled on Friday by mistake. |
Also explains why not everybody is hitting this. That experiment turns on our usage of the custom editor API. |
@rchiodo I can reproduce with experiment optInfo posted above, is there any way for me to opt out after adding that setting? I removed it but it still tries to ope with custom editor. |
Turning off that setting is supposed to opt out, but if that doesn't work you might also have to remove the python extension and reinstall it. Turning on that setting modifies the python package's package.json on disk (or at least it used to). |
Thanks, removing the optInfo and uninstalling the extension then re-install fixes this problem. It can be a workaround recommended to users before we ship the recovery build. |
Confirmed works |
@rchiodo Can you please revert the experiment change on the Python side? Again, while there does seem to be a bug on the VS Code side, it does not appear to be a VS Code regression. I'd prefer avoiding the risk of a patch fix in VS Code 1.49. Better to fix this in insiders so we get additional testing before it goes out with 1.50 |
That requires us to ship a fix then too (as it doesn't seem that undoing the experiment is enough - experiment is actually downloaded from github on startup). Our next shipping date should be a week from today |
Or we can try and fix a patch release just to fix the bug where the experiment requires a reinstall. |
Actually just revving the version number should fix the problem. That should be easier to get out. |
I too faced the URIError day before yesterday. The jupyter notebooks won't open in VS code. Wasted considerable time in uninstalling the current version and reinstalling the older version but the error persisted. Today I updated by windows 10 and problem has gone automatically. Don't know what happened but now with VS Code I can open both saved notebooks and new notebooks. |
Python extension released a new version. That should alleviate the problem for most people. |
@rchiodo It works for me when I use the latest version of python extension (2020.8.109390), thank you! |
@rchiodo I pushed a fix into VS Code insiders. However I still don't see the Python custom editor successfully loading after pushing this (it looks like it never resolves). I also can't get it working on MacOS using VS Code 1.49, so this may be an issue with the custom editor implementation. Please test out the next insiders build and let me know if you think something is off on the VS Code side |
@mjbvz the latest insider's build still repros the problem. To repro:
"python.experiments.optInto": [
"CustomEditorSupport - experiment"
],
You should end up with the screen like @songpr had. If you run However the other bug - creating a new blank notebook, that has been fixed. The notebook just hits the same problem where you have to maximize the panel first. |
The blank ipynb is really this issue here (which for us is more important than fixing the URI problem). |
@rchiodo so you mean if I turn off custom editor it will work right? Could you let me know how to do it I search the setting but cannot found the option that you show. |
Custom editor is an opt in only scenario at the moment. We accidentally enabled it for 20% of users on the 11th. If you reinstall the python extension it should go back to not being enabled. If that still doesn't work, double check this value isn't set in your settings.json: "python.experiments.optInto": [
"CustomEditorSupport - experiment"
], |
Updated 21 Sep 2020. |
I have an issue with creating/opening Jupiter notebook files (.ipynb).
Steps to Reproduce:
attaching a screenshot for more details.
I did not have this problem before in VSCode.
Does this issue occur when all extensions are disabled?: Yes
The text was updated successfully, but these errors were encountered: