Skip to content
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

Exception while handling messages: TypeError: First argument to DataView constructor must be an ArrayBuffer #74

Open
alastairtree opened this issue Nov 20, 2024 · 8 comments · May be fixed by microsoft/vscode-jupyter#16318
Assignees
Labels
bug Issue identified by VS Code Team member as probable bug info-needed Issue requires more information from poster

Comments

@alastairtree
Copy link

Please can you reopen #67 because the issue still remains when connecting to a JupyterLab server Version 0.35.5, even when using the latest pre-release versions of Jupyter and JupyterHub vscode extensions. As mentions, reverting to previous versions fixes the issue.

@alastairtree alastairtree added the bug Issue identified by VS Code Team member as probable bug label Nov 20, 2024
@hnykda
Copy link

hnykda commented Dec 12, 2024

I am having the same problem. Set up seems to be going fine, user is fetched properly, connecting to the kernel looks fine, but executing a cell never ends, no debug info is shown or logged except some DataView thing. Nothing suspicious going on or logged on the server side. It does it with prerelease as well as stable version on the latest vscode.

13:23:01.708 [info] Starting Kernel (Python 3 (ipykernel)) for 'Untitled-1.ipynb' (disableUI=false)
13:23:02.170 [info] https://<myurl>/user/hnykda/: Kernel started: 362caddd-...-600901e027bf
13:23:02.403 [info] Started session for kernel startUsingRemoteKernelSpec:0ce63c...4..python3./opt/conda/python./.-m#ipykernel_launcher
13:23:02.671 [info] Kernel successfully started
13:23:02.779 [error] Exception while handling messages: TypeError: First argument to DataView constructor must be an ArrayBuffer

It works on an older version:
Image
Image

@DonJayamanne
Copy link
Collaborator

@alastairtree @hnykda lets use this issue going forward, as i think this is slightly different though the symptoms are the same.
Also I'd like to close the other issue as there are few other users on that and its been addressed for most users.

@DonJayamanne DonJayamanne changed the title Please reopen #67 Exception while handling messages: TypeError: First argument to DataView constructor must be an ArrayBuffer Dec 13, 2024
@DonJayamanne
Copy link
Collaborator

I'm sorry you are running into this issue.
Will send a custom VSIX for testing early next week.

@hnykda
Copy link

hnykda commented Dec 13, 2024

Thanks!

@DonJayamanne
Copy link
Collaborator

DonJayamanne commented Dec 18, 2024

@alastairtree @hnykda @hermaneyd Here's the vsix, please install this and let me know how it goes.
Oh yes, you might need to install the latest version of VS Code insiders to try this out.
ms-toolsai-jupyter-insiders.vsix (1).zip

Please could you

  • Download the attached file
  • Extract this file
  • Open VS Code Insiders (install VS Code insiders if you do not already have it, or update to latest) and select the command Install from VSIX
  • Select the above extracted VSIX
  • When prompted to reload VS Code, please do so
  • Try to replicate the issue once again

@DonJayamanne DonJayamanne added the info-needed Issue requires more information from poster label Dec 18, 2024
@DonJayamanne DonJayamanne self-assigned this Dec 18, 2024
@hermaneyd
Copy link

hermaneyd commented Dec 20, 2024

@DonJayamanne, after installation your vsix in VS Code Insiders I got an extensions host termination. I tried to find any logs but to no avail =( Bisect points out that ms-toolsai.jupyter extension cause it.The same crash I observed with ms-toolsai.jupyter v2024.11.0. By the way v2024.10.0 doesn't have this problem (extensions host termination).

@DonJayamanne
Copy link
Collaborator

@hermaneyd Sorry you ran into that issue, please can you try this new VSIX
ms-toolsai-jupyter-insiders.vsix (1).zip

@hermaneyd
Copy link

hermaneyd commented Jan 9, 2025

@DonJayamanne, the problem still remains – host terminated unexpectedly during kernel detection

  • ms-toolsai.jupyter: 2025.1.0
  • VSCode Insiders: 1.97.0-insider
  • Windows 10

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
bug Issue identified by VS Code Team member as probable bug info-needed Issue requires more information from poster
Projects
None yet
Development

Successfully merging a pull request may close this issue.

4 participants