-
Notifications
You must be signed in to change notification settings - Fork 294
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
Notebook cells will not run ==> Error: cannot delete password (source: jupyter (extension)) #5934
Comments
Thanks for the bug. It looks like your encrypted storage is corrupted and our attempts to cleanup after it are failing. You might be able workaround this by deleting your user settings (although this will reset all of your settings if you do) On windows those settings are stored here:
If you stop VS code and delete the files and directories under that location, the problem should go away. This was likely caused by this fix here: |
Thanks for the feedback. This workaround does not appear to have worked. The settings you referred to on my OS (openSUSE Tumbleweed) are apparently at this location: I delete all of the contents of that directory after vscode is closed. New contents appear when I open vscode again. The jupyter notebook cell reacts the same (with an error). Could this be related to admin rights somehow? Any other ideas? |
This should only go down this path if you had been using a remote jupyter server before. You could try deleting your workspace and user settings.json (well really just the settings prefixed with 'jupyter') Specifically this one: "jupyter.jupyterServerType": "" It may have to be set to this until we can fix this bug:
|
Perfect! Thanks for the tip. Switched the jupyter.jupyterServerType value to "local" in the the workspace and the user settings and now the cells run as expected. This is strange because I have not used a remote server yet just FYI. |
Do you have another machine? There is a sync settings option that might have moved it over. That might even be the cause of the problem as the expected URI isn't in the storage. Or possibly if your workspace settings came down from another user submitting them to source control. |
I used to use a Windows machine but I haven't used sync settings since I switched over. I only enabled the sync settings as an attempted fix to this problem actually. Thought it would be useful in the future as well though. I'm not worried about it at this point but if you need more info on this bug I'll provide it. Just happy to know it's being checked out and I can still work. |
I don't have the specific validation on this (requires windows + corrupted storate), but resolved based on no incoming customer issues since then. |
Environment data
Expected behaviour
Expect basic cell to run through with no vscode errors. I have been attempting mainly with a cell that only has imports.
Actual behaviour
When I click to run any cell the only response is an error popup on vscode that reads: cannot delete password (source: jupyter (extension))
The output of the cell is shown here:
Steps to reproduce:
Logs
Output for
Jupyter
in theOutput
panel (View
→Output
, change the drop-down the upper-right of theOutput
panel toJupyter
)Info 2021-05-19 21:31:52: Executing cell NotebookImport#3
Info 2021-05-19 21:31:52: Waiting for jupyter server and web panel ...
Error 2021-05-19 21:31:52: Exception attempting to start notebook: Error: Cannot delete password
at E.$deletePassword (file:///usr/share/code/resources/app/out/vs/workbench/workbench.desktop.main.js:1763:64048)
Info 2021-05-19 21:31:52: Exception executing cell NotebookImport#3: Error: Cannot delete password
at E.$deletePassword (file:///usr/share/code/resources/app/out/vs/workbench/workbench.desktop.main.js:1763:64048)
Info 2021-05-19 21:31:52: Finished executing cell NotebookImport#3
Error 2021-05-19 21:31:52: DataScience Error Error: Cannot delete password
at E.$deletePassword (file:///usr/share/code/resources/app/out/vs/workbench/workbench.desktop.main.js:1763:64048)
Info 2021-05-19 21:31:54: Trusting notebook...
The text was updated successfully, but these errors were encountered: