VS Code grid viewer for tabular data showing error message

I am getting the following message (first attached picture) when trying to open a dataframe view through the icon pointed by the arrow (second picture). Does anyone have any clue?


Julia 1.7.2

Julia extension v1.6.15

Jupyter extension v2022.3.1000901801

VSCode Info
Version: 1.66.0 (user setup)
Commit: e18005f0f1b33c29e81d732535d8c0e47cafb0b5
Date: 2022-03-30T05:50:14.623Z
Electron: 17.2.0
Chromium: 98.0.4758.109
Node.js: 16.13.0
OS: Windows_NT x64 10.0.19044

This might be a bug that we simply don’t handle notebook kernels correctly. Could you open an issue?

I can’t repro this, FWIW:

Thank you both.

I’ve been trying to narrow the cause and here it is the finding:

zeros(2^16)  # it works
zeros(2^17)  # it does not

Yup, I can repro that (and interestingly enough both work fine in a normal REPL session). Will investigate.

Will be fixed with Fix lazy table display for notebooks by pfitzseb · Pull Request #2848 · julia-vscode/julia-vscode · GitHub.