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

Unable to create notebook under Linux #6

Open
inorick opened this issue Dec 18, 2021 · 11 comments · May be fixed by #57
Open

Unable to create notebook under Linux #6

inorick opened this issue Dec 18, 2021 · 11 comments · May be fixed by #57

Comments

@inorick
Copy link

inorick commented Dec 18, 2021

I tried to create a new Wolfram Language notebook using the command provided by the extension. However, I encountered the following error. I am running Fedora Linux, if that matters.

image

@inorick
Copy link
Author

inorick commented Dec 18, 2021

Apparently, the issue was caused by running vscode as a snap package. Installing vscode as a native rpm solved the issue. This is odd as vscode runs unconfined, i.e. it was installed using the --classic command line switch (https://snapcraft.io/docs/snap-confinement). This might be a snap issue.

@inorick
Copy link
Author

inorick commented Dec 18, 2021

I opened an upstream issue:
microsoft/vscode#139442

@njpipeorgan
Copy link
Owner

"command ... not found" is a weird error. You can try installing GitHub Issue Notebooks in the same environment, and use their github-issues.new command, which basic does the same thing. If there is a similar error, it is most likely a vscode problem.

@subhophy
Copy link

subhophy commented Dec 29, 2021

@njpipeorgan I am facing the same problem on my m1 mac.

Screen Shot 2021-12-28 at 10 36 43 PM

@njpipeorgan
Copy link
Owner

@njpipeorgan I am facing the same problem on my m1 mac.

It does not seem to be a universal problem. You may try creating a .wlnb file manually, and check whether you can use other functionalities of the extension normally.

@njpipeorgan
Copy link
Owner

It has been noted in #4 that the native m1 build of VS Code does not work with the extension because zeromq is not available.

@subhophy
Copy link

I installed zeromq using homebrew (https://formulae.brew.sh/formula/zeromq), but the problem persists. And it seems it does support Apple silicon natively.

@subhophy
Copy link

The "Manage Kernels" command doesn't work as well and displays the same error

@giammi56
Copy link

giammi56 commented May 30, 2022

Still having the same issue on both VS code/VS code insider snap on Ubuntu 20.04.4. On .deb it works, but fails to establish a connection to the server with the error message "Failed to find the kernel wolframscript in configurations. A kernel must contain a "command" field.".

@wanmeihuali
Copy link

Still having the same issue on both VS code/VS code insider snap on Ubuntu 20.04.4. On .deb it works, but fails to establish a connection to the server with the error message "Failed to find the kernel wolframscript in configurations. A kernel must contain a "command" field.".

I fix this issue by rollback wolfram-language-notebook to 0.0.9. Not sure what changed causing the issue.

@gapplef
Copy link

gapplef commented Sep 26, 2023

"command ... not found" is a weird error. You can try installing GitHub Issue Notebooks in the same environment, and use their github-issues.new command, which basic does the same thing. If there is a similar error, it is most likely a vscode problem.

@njpipeorgan The problem still exist on Ubuntu 22.04 with VSCode snap. I have tried GitHub Issue Notebooks, it can create new file without problem.

@min1up min1up linked a pull request Nov 16, 2023 that will close this issue
4 tasks
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging a pull request may close this issue.

6 participants