Open flytzen opened 3 years ago
What frontend are you using to connect to the kernel (e.g. VS Code, JupyterLab)?
What frontend are you using to connect to the kernel (e.g. VS Code, JupyterLab)?
VS Code. Could this be something to do with how VS Code remotes into the container from Windows?
I don't think so. I think the environment variable is not getting set correctly when the SQL Tools Service package is loaded:
@jonsequitur Do the SQL tools need to be installed into the docker container separately first and env var set?
Or is it that #r "nuget:Microsoft.DotNet.Interactive.SqlServer,*-*"
doesn't quite do what is needed?
This package (well, its RID-specific dependencies, actually) carries the SQL Tools Service, so the #r "nuget:Microsoft.DotNet.Interactive.SqlServer,*-*"
should bring it down as a dependency.
Looking into it a bit more closely, it looks like we didn't publish a package for the appropriate RID, and I'm wondering if there are others we need to publish as well. @KevinRansom?
https://docs.microsoft.com/en-us/dotnet/core/rid-catalog#linux-rids https://www.nuget.org/packages/Microsoft.SqlToolsService/
@KevinRansom this could be related to rods in the tool package, what do you think.
Describe the bug
I wanted to run Dotnet Interactive in a dev container on Windows (to make it easier to add python etc). Connecting to SQL fails as described below, so I tried it in WSL as well and the behaviour described is identical in both environments, making it look like it is a general linux issue. Testing the same steps in Windows works as expected.
NOTE: This looks like a similar problem to #883 - it is the same error message.
works correctly and reports the packages are installed.
Reports the following error:
Please complete the following:
Which version of .NET Interactive are you using? There are a few ways to find this out:
Version: 1.0.246201+da749355d416da20e634e5c80073b92356b57e0e Build date: 2021-09-12T06:21:44.0000000Z
Screenshots
If applicable, add screenshots to help explain your problem.
Devcontainer
devcontainer.json
Dockerfile