interactive icon indicating copy to clipboard operation
interactive copied to clipboard

Polyglot Notebooks fails to execute cells on Manjaro Linux

Open diego-crespo opened this issue 2 years ago • 7 comments

Describe the bug

I recently downloaded Visual Studio Code by going here. I extracted the .gz file and ran the code file in my VSCode-linux-x64/bin directory. I was able to install the vim plugin, and the polyglot notebook plugin. I opened a notebook with Polyglot Notebook: Create Blank Notebook command and typed a simple C# program in the cell. I noticed there was no syntax highlighting but I believe that is already captured in this issue https://github.com/dotnet/interactive/issues/2683.

My issue is that the notebook never runs the cell. No matter how much time (30seconds, 1minute, 5 minutes) it never runs. Hitting the stop button next to the cell doesn't stop it from trying to execute.

I tried uninstalling and reinstalling the extension, as well as using the pre-release version but neither of those solution fixed my issue. I also tried restarting Visual Studio Code and restarting my computer to no avail. The version of polyglot notebooks I'm using is v1.0.4403010. The version of dotnet I have installed is 7.0.110. I've attached a screenshot below.

Please complete the following:

Which version of .NET Interactive are you using? (In a notebook, run the #!about magic command. ):

  • OS
    • [ ] Windows 11
    • [ ] Windows 10
    • [ ] macOS
    • [X] Linux (Please specify distro)

/etc/os-release file

NAME="Manjaro Linux"
PRETTY_NAME="Manjaro Linux"
ID=manjaro
ID_LIKE=arch
BUILD_ID=rolling
ANSI_COLOR="32;1;24;144;200"
HOME_URL="https://manjaro.org/"
DOCUMENTATION_URL="https://wiki.manjaro.org/"
SUPPORT_URL="https://forum.manjaro.org/"
BUG_REPORT_URL="https://docs.manjaro.org/reporting-bugs/"
PRIVACY_POLICY_URL="https://manjaro.org/privacy-policy/"
LOGO=manjarolinux

Output of uname -a

Linux deca 6.1.49-1-MANJARO #1 SMP PREEMPT_DYNAMIC Sun Aug 27 23:08:04 UTC 2023 x86_64 GNU/Linux
- [ ] iOS
- [ ] Android
  • Browser
    • [ ] Chrome
    • [ ] Edge
    • [ ] Firefox
    • [ ] Safari
  • Frontend
    • [ ] Jupyter Notebook
    • [ ] Jupyter Lab
    • [ ] nteract
    • [ ] Visual Studio Code
    • [ ] Visual Studio Code Insiders
    • [ ] Visual Studio

Screenshot

If applicable, add screenshots to help explain your problem. polyglot_notebooks ts

diego-crespo avatar Sep 02 '23 12:09 diego-crespo

I have the very same issue on Arch.

Screenshot_20230914_203648

System Info: https://paste.ee/p/dauSR dotnet 7.0.110 Polyglot v1.0.4461040

ShalokShalom avatar Sep 14 '23 18:09 ShalokShalom

Experiencing same issue on Ubuntu/Pop!_OS 22.04 LTS

keyprog avatar Dec 12 '23 03:12 keyprog

Same Here, Windows 11 , dotnet : 8.0.100-rc.2.23502.2 , polyglot v1.0.5101020

seifmostafa73 avatar Feb 24 '24 20:02 seifmostafa73

Could you post the output of dotnet --info?

jonsequitur avatar Feb 24 '24 22:02 jonsequitur

Could you post the output of dotnet --info?

.NET SDK: Version: 8.0.100-rc.2.23502.2 Commit: 0abacfc2b6

Runtime Environment: OS Name: Windows OS Version: 10.0.22621 OS Platform: Windows RID: win-x64 Base Path: C:\Program Files\dotnet\sdk\8.0.100-rc.2.23502.2\

.NET workloads installed: [maui-windows] Installation Source: VS 17.8.34302.71 Manifest Version: 8.0.0-rc.2.9530/8.0.100-rc.2 Manifest Path: C:\Program Files\dotnet\sdk-manifests\8.0.100-rc.2\microsoft.net.sdk.maui\8.0.0-rc.2.9530\WorkloadManifest.json Install Type: Msi

[maccatalyst] Installation Source: VS 17.8.34302.71 Manifest Version: 17.0.8477-net8-rc2.2/8.0.100-rc.2 Manifest Path: C:\Program Files\dotnet\sdk-manifests\8.0.100-rc.2\microsoft.net.sdk.maccatalyst\17.0.8477-net8-rc2.2\WorkloadManifest.json Install Type: Msi

[ios] Installation Source: VS 17.8.34302.71 Manifest Version: 17.0.8477-net8-rc2.2/8.0.100-rc.2 Manifest Path: C:\Program Files\dotnet\sdk-manifests\8.0.100-rc.2\microsoft.net.sdk.ios\17.0.8477-net8-rc2.2\WorkloadManifest.json Install Type: Msi

[android] Installation Source: VS 17.8.34302.71 Manifest Version: 34.0.0-rc.2.479/8.0.100-rc.2 Manifest Path: C:\Program Files\dotnet\sdk-manifests\8.0.100-rc.2\microsoft.net.sdk.android\34.0.0-rc.2.479\WorkloadManifest.json Install Type: Msi

[wasm-tools-net7] Installation Source: VS 17.8.34302.71 Manifest Version: 8.0.0-rc.2.23479.6/8.0.100-rc.2 Manifest Path: C:\Program Files\dotnet\sdk-manifests\8.0.100-rc.2\microsoft.net.workload.mono.toolchain.net7\8.0.0-rc.2.23479.6\WorkloadManifest.json Install Type: Msi

[wasm-tools] Installation Source: VS 17.8.34302.71 Manifest Version: 8.0.0-rc.2.23479.6/8.0.100-rc.2 Manifest Path: C:\Program Files\dotnet\sdk-manifests\8.0.100-rc.2\microsoft.net.workload.mono.toolchain.current\8.0.0-rc.2.23479.6\WorkloadManifest.json Install Type: Msi

Host: Version: 8.0.0-rc.2.23479.6 Architecture: x64 Commit: 0b25e38ad3

.NET SDKs installed: 8.0.100-rc.2.23502.2 [C:\Program Files\dotnet\sdk]

.NET runtimes installed: Microsoft.AspNetCore.App 8.0.0-rc.2.23480.2 [C:\Program Files\dotnet\shared\Microsoft.AspNetCore.App] Microsoft.NETCore.App 6.0.20 [C:\Program Files\dotnet\shared\Microsoft.NETCore.App] Microsoft.NETCore.App 6.0.26 [C:\Program Files\dotnet\shared\Microsoft.NETCore.App] Microsoft.NETCore.App 8.0.0-rc.2.23479.6 [C:\Program Files\dotnet\shared\Microsoft.NETCore.App] Microsoft.WindowsDesktop.App 6.0.26 [C:\Program Files\dotnet\shared\Microsoft.WindowsDesktop.App] Microsoft.WindowsDesktop.App 8.0.0-rc.2.23479.10 [C:\Program Files\dotnet\shared\Microsoft.WindowsDesktop.App]

Other architectures found: x86 [C:\Program Files (x86)\dotnet] registered at [HKLM\SOFTWARE\dotnet\Setup\InstalledVersions\x86\InstallLocation]

seifmostafa73 avatar Feb 27 '24 10:02 seifmostafa73

@seifmostafa73, could make sure you're using the most recent version of Polyglot Notebooks and if the issue is still occurring, consider updating your SDK .NET to the latest non-prerelease version.

jonsequitur avatar Feb 27 '24 19:02 jonsequitur

I am using v1.0.5101020 . [installing.NET SDK 8.0.2 fixed the problem for me]

seifmostafa73 avatar Feb 28 '24 00:02 seifmostafa73