Code Monkey home page Code Monkey logo

Comments (11)

colombod avatar colombod commented on June 1, 2024

can you run 'dotnet --list-sdks' command and show the result?

from interactive.

chrisrybitski avatar chrisrybitski commented on June 1, 2024

This is the output:
7.0.100 [/Users/chris.rybitski/.vscode-dotnet-sdk/.dotnet/sdk]

This is after installing .NET 8 downloaded from here: https://dotnet.microsoft.com/en-us/download/dotnet/8.0

from interactive.

colombod avatar colombod commented on June 1, 2024

Ok then that means .NET 8 is not installed correctly or not added to the path correctly

from interactive.

rynoV avatar rynoV commented on June 1, 2024

I was getting the same message after I first installed the extension and reloaded the window even though dotnet 8 is installed I believe

dotnet --list-sdks
6.0.126 [/usr/share/dotnet/sdk]
8.0.101 [/usr/share/dotnet/sdk]

The message isn't popping up anymore though after reloading again, now I'm just having an issue where code cells won't run (for F# at least), I think the kernel isn't starting

from interactive.

tuncaybaskan avatar tuncaybaskan commented on June 1, 2024

This seems like a strange bug. I already have .NET 8 SDK;

C:\>dotnet --list-sdks
5.0.410 [C:\Program Files\dotnet\sdk]
7.0.101 [C:\Program Files\dotnet\sdk]
8.0.101 [C:\Program Files\dotnet\sdk]

I reloaded the window after being sure .NET 8 SDK installed, just like @rynoV experienced the message went away but nothing happens right. I tried to check Output window for some logs but couldn't find anything.

from interactive.

colombod avatar colombod commented on June 1, 2024

Is this happening on macOs?

from interactive.

tuncaybaskan avatar tuncaybaskan commented on June 1, 2024

Nope, I'm on Windows 10.

from interactive.

rynoV avatar rynoV commented on June 1, 2024

Arch 6.7.0 for me

I reloaded the window after being sure .NET 8 SDK installed, just like @rynoV experienced the message went away but nothing happens right.

For me nothing happens if I choose the non-ipynb extension (dib? I forget), but if I choose the ipynb the notebook is created the cells just stall when I run them

from interactive.

colombod avatar colombod commented on June 1, 2024

Do you have access to any log? Some would be here :
Image
and here
Image
any process startup issue would be there.
Also if you want to enable more logging open the setting for Polyglot Notebooks
Image
edit settings in json

 "dotnet-interactive.kernelTransportArgs": [
       "{dotnet_path}",
        "tool",
        "run",
        "dotnet-interactive",
        "--",
         "[vscode]",
         "stdio",
         "--working-dir",
        "{working_dir}",
// enable verbose logs
        "--verbose",
         "--log-path",
        "C:/temp/testlogs/"
     ]

That could help diagnose the isse

from interactive.

tuncaybaskan avatar tuncaybaskan commented on June 1, 2024

I edited the settings in json as you mentioned, opened new window and ran the command Install .NET Interactive.

Polyglot Notebook: logger
[Error] extension host: Error parsing language configuration for language mustache

Polyglot Notebook: diagnostics
Extension started for VS Code Stable.
Started process 17812: dotnet tool run dotnet-interactive -- notebook-parser

relevant part of the settings.json
To be sure no write permission error can occur changed the log path to writable home directory.

    "dotnet-interactive.kernelTransportArgs": [
        "{dotnet_path}",
        "tool",
        "run",
        "dotnet-interactive",
        "--",
        "[vscode]",
        "stdio",
        "--working-dir",
        "{working_dir}",
        // enable verbose logs
        "--verbose",
        "--log-path",
        "C:/Users/tbaskan/"
    ]

from interactive.

tuncaybaskan avatar tuncaybaskan commented on June 1, 2024

Sorry, I forgot to mention there is no new files created in log path.

from interactive.

Related Issues (20)

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. 📊📈🎉

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google ❤️ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.