Skip to content
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

Jupyter not working ("Play" button is missing) #1034

Closed
2 tasks done
ttronas opened this issue Apr 4, 2022 · 12 comments
Closed
2 tasks done

Jupyter not working ("Play" button is missing) #1034

ttronas opened this issue Apr 4, 2022 · 12 comments
Labels
bug Something isn't working

Comments

@ttronas
Copy link

ttronas commented Apr 4, 2022

Describe the bug
Since the update to VSCodium v.1.66.0 Jupyter is not working anymore. The "Play" button as well as any other Jupyter kernel-related features don't show up. Instead, a notification pops up:
grafik
When opening the dev panel, it reads:
grafik

Please confirm that this problem is VSCodium-specific

  • This bug doesn't happen if I use Microsoft's Visual Studio Code with the same version. It only happens in VSCodium.

Please confirm that the issue/resolution isn't already documented

To Reproduce
Steps to reproduce the behavior:

  1. Have Jupyter installed (my version is v2022.3.1000901801 but it still happens in the dev version)
  2. Create a new ".ipynb"-file
  3. Wait for a few seconds
  4. See notification and missing "Play" buttons

Expected behavior
I would have expected Jupyter to work properly - just as before. But something broke during the latest update...

Screenshots
This is in VSCodium:
grafik
This is in VS Code:
grafik

Desktop (please complete the following information):

VSCodium:
Version: 1.66.0 (system setup)
Commit: e18005f0f1b33c29e81d732535d8c0e47cafb0b5
Datum: 2022-03-31T10:00:15.105Z
Electron: 17.2.0
Chromium: 98.0.4758.109
Node.js: 16.13.0
V8: 9.8.177.11-electron.0
Betriebssystem: Windows_NT x64 10.0.19044

VS Code:
Version: 1.66.0 (user setup)
Commit: e18005f0f1b33c29e81d732535d8c0e47cafb0b5
Date: 2022-03-30T05:50:14.623Z
Electron: 17.2.0
Chromium: 98.0.4758.109
Node.js: 16.13.0
V8: 9.8.177.11-electron.0
OS: Windows_NT x64 10.0.19044

Additional context
Thanks for helping me out! And btw: Thanks a lot for the great effort in making VSCodium such a great project!
If I can help you with more detailed information, just let me know!

Jonas

Edit:
I can also add, that Python itself is working, though I cannot change to a different interpreter in VSCodium (VS Code works as expected). Maybe these Problems are caused by the same root, so I won't open a new Issue here.

@ttronas ttronas added the bug Something isn't working label Apr 4, 2022
@Kytie
Copy link

Kytie commented Apr 5, 2022

Getting the same issue with my vscodium.
vscodium: 1.66.0
jupyter: v2022.3.1000901801
OS: Linux x64 5.16.0-12parrot1-amd64

Looking at the runtime status of the jupyter plugin I get this error.
"interactive/toolbar is a proposed menu identifier. It requires 'package.json#enabledApiProposals: ["notebookEditor"]' and is only available when running out of dev or with the following command line switch: --enable-proposed-api ms-toolsai.jupyter"

@daiyam
Copy link
Member

daiyam commented Apr 5, 2022

It seems like missing api in the project.json. Can you test and contribute a PR?

@nemonein
Copy link

nemonein commented Apr 5, 2022

vscoduim : 1.66.0
OS : ArchLinux (by aur package)

ms-toolsai.jupyter is already located in product.json.

  "extensionAllowedProposedApi": ["ms-vscode.cpptools",
         "ms-azuretools.vscode-docker",
         "visualstudioexptteam.vscodeintellicode",
         "GitHub.codespaces",
         "GitHub.vscode-pull-request-github-insiders",
         "GitHub.vscode-pull-request-github",
         "Microsoft.vscode-nmake-tools",
         "ms-ai-tools.notebook-renderers",
         "ms-dotnettools.dotnet-interactive-vscode",
         "ms-python.gather",
         "ms-python.python",
         "ms-toolsai.jupyter",
         "ms-toolsai.vscode-ai",
         "ms-toolsai.vscode-ai-remote",
         "ms-vscode-remote.remote-containers-nightly",
         "ms-vscode-remote.remote-containers",
         "ms-vscode-remote.remote-ssh-edit-nightly",
         "ms-vscode-remote.remote-ssh-edit",
         "ms-vscode-remote.remote-ssh-nightly",
         "ms-vscode-remote.remote-ssh",
         "ms-vscode-remote.remote-wsl-nightly",
         "ms-vscode-remote.remote-wsl",
         "ms-vscode-remote.remote-wsl-recommender",
         "ms-vscode-remote.vscode-remote-extensionpack-nightly",
         "ms-vscode-remote.vscode-remote-extensionpack",
         "ms-vscode.azure-account",
         "ms-vscode.azure-sphere-tools-ui",
         "ms-vscode.azure-sphere-tools",
         "ms-vscode.github-browser",
         "ms-vscode.github-richnav",
         "ms-vscode.js-debug-nightly",
         "ms-vscode.js-debug",
         "ms-vscode.lsif-browser",
         "ms-vscode.vscode-js-profile-flame",
         "ms-vscode.vscode-js-profile-table",
         "ms-vscode.vscode-selfhost-test-provider",
         "ms-vsliveshare.cloudenv-explorer",
         "ms-vsliveshare.cloudenv",
         "ms-vsliveshare.vsliveshare",
         "ms-vsonline.vsonline",
         "dbaeumer.vscode-eslint"],

If Codium is run through /usr/bin/codium --enable-proposed-api ms-toolsai.jupyter, then it works fine. However, before 1.66.0 I could run Codium without this option (and there were no errors for Jupyter plugin).

@nemonein
Copy link

nemonein commented Apr 5, 2022

I've check the product.json of VS Code.
They changed the format as well as the contents.
extensionAllowedProposedApiextensionEnabledApiProposals and many more.

"extensionEnabledApiProposals": {
        "ms-vscode.vscode-selfhost-test-provider": ["testObserver"],
        "VisualStudioExptTeam.vscodeintellicode-completions": ["inlineCompletions"],
        "ms-vsliveshare.vsliveshare": ["contribMenuBarHome", "diffCommand", "documentFiltersExclusive", "fileSearchProvider", "findTextInFiles", "notebookCellExecutionState", "notebookContentProvider", "notebookDocumentEvents", "notebookEditor", "notebookEditorEdit", "notebookLiveShare", "terminalDimensions", "terminalDataWriteEvent", "textDocumentNotebook", "textSearchProvider"],
        "ms-vscode.js-debug": ["portsAttributes", "findTextInFiles", "workspaceTrust", "resolvers"],
        "ms-toolsai.vscode-ai-remote": ["resolvers", "notebookEditor"],
        "ms-python.python": ["quickPickSortByLabel", "testObserver", "notebookEditor"],
        "ms-dotnettools.dotnet-interactive-vscode": ["notebookConcatTextDocument", "notebookContentProvider", "notebookCellExecutionState", "notebookControllerKind", "notebookDebugOptions", "notebookDeprecated", "notebookEditor", "notebookEditorDecorationType", "notebookEditorEdit", "notebookLiveShare", "notebookMessaging", "notebookMime", "textDocumentNotebook"],
        "GitHub.codespaces": ["contribMenuBarHome", "contribRemoteHelp", "contribViewsRemote", "notebookEditor", "resolvers", "terminalDataWriteEvent", "treeViewReveal"],
        "ms-vscode.azure-repos": ["extensionRuntime", "fileSearchProvider", "resolvers", "textSearchProvider"],
        "ms-vscode.remote-repositories": ["contribRemoteHelp", "contribMenuBarHome", "contribViewsRemote", "contribViewsWelcome", "documentFiltersExclusive", "extensionRuntime", "fileSearchProvider", "quickPickSortByLabel", "workspaceTrust", "scmSelectedProvider", "scmValidation", "textSearchProvider", "timeline", "notebookEditor"],
        "ms-vscode.vscode-github-issue-notebooks": ["notebookEditor"],
        "tanhakabir.rest-book": ["notebookEditor"],
        "ms-vscode-remote.remote-wsl": ["resolvers", "contribViewsRemote", "telemetry"],
        "ms-vscode-remote.remote-ssh": ["resolvers", "terminalDataWriteEvent", "contribViewsRemote", "telemetry"],
        "ms-vscode-remote.remote-containers": ["resolvers", "workspaceTrust", "terminalDimensions", "contribViewsRemote"],
        "ms-vscode.js-debug-nightly": ["portsAttributes", "findTextInFiles", "workspaceTrust", "resolvers"],
        "ms-vscode.lsif-browser": ["documentFiltersExclusive"],
        "GitHub.vscode-pull-request-github": ["tokenInformation"],
        "GitHub.copilot": ["inlineCompletions", "textDocumentNotebook"],
        "GitHub.copilot-nightly": ["inlineCompletions", "textDocumentNotebook"],
        "GitHub.remotehub": ["contribRemoteHelp", "contribMenuBarHome", "contribViewsRemote", "contribViewsWelcome", "documentFiltersExclusive", "extensionRuntime", "fileSearchProvider", "quickPickSortByLabel", "workspaceTrust", "resolvers", "scmSelectedProvider", "scmValidation", "textSearchProvider", "timeline", "notebookEditor"],
        "GitHub.remotehub-insiders": ["contribRemoteHelp", "contribMenuBarHome", "contribViewsRemote", "contribViewsWelcome", "documentFiltersExclusive", "extensionRuntime", "fileSearchProvider", "quickPickSortByLabel", "workspaceTrust", "resolvers", "scmSelectedProvider", "scmValidation", "textSearchProvider", "timeline", "notebookEditor"],
        "ms-python.gather": ["notebookEditor", "notebookCellExecutionState"],
        "ms-python.vscode-pylance": ["notebookDocumentEvents", "notebookEditor", "notebookCellExecutionState"],
        "ms-toolsai.jupyter": ["notebookConcatTextDocument", "notebookControllerKind", "notebookDebugOptions", "notebookDeprecated", "notebookEditor", "notebookDocumentEvents", "notebookEditorDecorationType", "notebookEditorEdit", "notebookMessaging", "notebookMime", "notebookCellExecutionState", "portsAttributes", "textDocumentNotebook", "quickPickSortByLabel"],
        "dbaeumer.vscode-eslint": ["tabs", "notebookDocumentEvents", "notebookEditor", "notebookCellExecutionState"],
        "ms-vscode.azure-sphere-tools-ui": ["resolvers"],
        "ms-azuretools.vscode-azureappservice": ["terminalDataWriteEvent"]
},

I think Codium's product.json has to be re-written.

@daiyam
Copy link
Member

daiyam commented Apr 7, 2022

The upcoming 1.66.1 will have the missing extensions properties (#1040). I've tested with a .ipynb and has the expected buttons.

@nemonein
Copy link

nemonein commented Apr 8, 2022

Problem fixed on 1.66.1 (ArchLinux).
Thank you all!

@daiyam
Copy link
Member

daiyam commented Apr 8, 2022

@ttronas Can you test with the new version? Thx

@ttronas
Copy link
Author

ttronas commented Apr 8, 2022

It's working flawlessly! Thanks so much for fixing it that fast! 😊🎉🙏

@ttronas ttronas closed this as completed Apr 8, 2022
@ttronas
Copy link
Author

ttronas commented May 9, 2022

Unfortunately, the same issue occurs again in 1.67.0:

Version: 1.67.0 (system setup)
Commit: 57fd6d0195bb9b9d1b49f6da5db789060795de47
Datum: 2022-05-07T08:56:14.824Z
Electron: 17.4.1
Chromium: 98.0.4758.141
Node.js: 16.13.0
V8: 9.8.177.13-electron.0
Betriebssystem: Windows_NT x64 10.0.19044

grafik

Could it be that the developers changed the formatting of product.json again?
However, I can't reproduce the error message now.
Thanks again for your kind help!

@ttronas ttronas reopened this May 9, 2022
@daiyam
Copy link
Member

daiyam commented May 9, 2022

😫

@nemonein
Copy link

Reinstall Jupyter and Python extensions.

@ttronas
Copy link
Author

ttronas commented May 11, 2022

Seems to be solved again through restart and/or reinstalling. Thanks again :)

@ttronas ttronas closed this as completed May 11, 2022
@github-actions github-actions bot locked as resolved and limited conversation to collaborators Aug 15, 2022
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
bug Something isn't working
Projects
None yet
Development

No branches or pull requests

4 participants