-
Notifications
You must be signed in to change notification settings - Fork 376
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
Not getting a notebook interface when I create a .dib file in Visual Studio Code Insiders #514
Comments
v1.0.130603 |
@alexandair do you still see the issue? |
@colombod |
It never gets out of the acquiring step?
Dr Diego Colombo PhD
… On 11 Jun 2020, at 23:27, Aleksandar Nikolić ***@***.***> wrote:
@colombod
Yes. I've updated to the latest version of the extension and Code Insiders and I still cannot get the notebook UI or open a .dib file.
It looks like Code is stuck at "Installing .NET Interactive version 1.0.131001...Acquiring".
—
You are receiving this because you were mentioned.
Reply to this email directly, view it on GitHub, or unsubscribe.
|
Yes. On one machine, I have .NET Interactive installed (manually, before I tried notebook in Code) and I use .NET notebooks with Azure Data Studio.
On another machine, I don't have either Azure Data Studio or .NET Interactive installed. Both machines behave the same and Code Insiders cannot start .NET notebooks. |
@alexandair Could you run Thanks. |
|
Could you try installing .NET Core SDK 3.1.200 or later? |
I've manually installed version '1.0.131105'. |
@alexandair The extension always manages its own version of the Is the |
@brettfo I've tried both--with Where can I see the command that extension is using to install This is the command I need to use to install it manually because I have some sources in Azure DevOps that need credentials and I'm afraid that
|
Good find. The tool is installe here. I'll add |
Created #541. |
@brettfo Now, I can finally see the notebook interface when I load a |
@alexandair The "run all" functionality was just implemented a few hours ago and isn't yet available. Once we get a full build out we'll publish another version that'll fix that scenario. As for the PowerShell issue can you try two separate scenarios for me?
In the first instance, the code is passed directly to PowerShell; in the second it goes through one more routing step. I'm just curious to see if that gets us better error information. |
@brettfo |
We currently don't respond to cell cancellation, so that's expected. We just published a new version of the tool. Can you update and try the |
@brettfo I've updated the extension and this is the result now: |
@alexandair the 1 + 1 should not be on the line as the #!pwsh directive. |
Thank you, @colombod Here is an updated screenshot. It looks like repeating execution is much faster, especially for the PowerShell cell (5.1s vs. 0.1s). |
Each language kernel is initialised in lazy fashion. The first submission might include bootstrapping logic that is why I might see faster times on the next submissions. Glad to see the issue is resolved. Thank you |
Hi @brettfo , still fails for me. installed VSCode insiders and the extension today 8/25. I have this in the commands.js, so it seems that it includes the update. however, opening the .dib file leads to and there are no any outputs here |
I can confirm that it fails for me as well on some other machine. I have latest versions of both Code Insiders and the extension. |
I didn't have .NET 3.1 SDK installed on that machine. |
Thanks for pointing it out. I've updated it. |
Describe the bug
I'm following the steps for enabling .NET Interactive notebooks in Code Insiders, and I cannot get a notebook interface.
Nothing happens.
If I try to open .dib file created by someone else, I get the "Unable to open 'test.dib': Cannot read property 'message' of undefined." error message.
If I disable PowerShell extension, I can at least open test.dib file as a textual file.
Please complete the following:
Which version of .NET Interactive are you using? There are a few ways to find this out:
That command doesn't exist.
Screenshots
If applicable, add screenshots to help explain your problem.
The text was updated successfully, but these errors were encountered: